witam.
w trakcie rekompilacji zrodel programu uzyskuje taki o to error:
[Linker Error] Unresolved external 'TConsoleRunner::Run(System::AnsiString, _STL::vector<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> >, _STL::allocator<_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > > > *, void *)' referenced from C:\DELTACOPY\MAINFORMSERVER.OBJ
podaje czesc kodu zrodlowego:
bool TfrmMainFormServer::FixPermissions(AnsiString path){
TConsoleRunner cRunner;
AnsiString cmdLine = "chmod -Rv a+rwX " + path;
vector<string> results;
cRunner.Run(cmdLine, &results, NULL);
AnsiString msg;
for(unsigned int i = 0; i < results.size(); i++){
msg += results.at(i).data();
}
DWORD exitCode = cRunner.GetExitCode();
if(exitCode > 0){
if(msg.Length()){
ShowMessage(msg);
}
msg = cRunner.GetLastError();
if(msg.Length()){
ShowMessage(msg);
}
return false;
}
return true;
}
prosze o wskazowki na temat bledu i sposobu usuniecia go.
pozdrawiam marcin