- marked as trivial
Compilation error on link step on "big" project
Hi,
I have errors on link step on a client’s project.
- Got same issue on RadStudio 10.4.2 and 11.1
- CrossVCL 1.65 registered.
- Did not occured on blanck project (Blanck project or “little” project compile and link fine
- App is a classical business app, old one, about 40 forms, client dataset, network,
As I can see, App does not use the entries point directy.
Perhaps someone encountered this kind of stuff before ?
thanks !
[DCC Error] E2597 C:\Program Files (x86)\CrossVcl\Lib\22.0\Linux64\Debug\Winapi.Windows.o:Winapi.Windows:function Winapi::Windows::CopyFile(char16_t*, char16_t*, int): error: undefined reference to 'CopyFileW'
C:\Program Files (x86)\CrossVcl\Lib\22.0\Linux64\Debug\Winapi.Windows.o:Winapi.Windows:function Winapi::Windows::CreateProcess(char16_t*, char16_t*, _SECURITY_ATTRIBUTES*, _SECURITY_ATTRIBUTES*, int, unsigned int, void*, char16_t*, _STARTUPINFOW const&, _PROCESS_INFORMATION&): error: undefined reference to 'CreateProcessW'
C:\Program Files (x86)\CrossVcl\Lib\22.0\Linux64\Debug\Winapi.Windows.o:Winapi.Windows:function Winapi::Windows::WaitForInputIdle(NativeUInt, unsigned int): error: undefined reference to 'WaitForInputIdle'
C:\Program Files (x86)\CrossVcl\Lib\22.0\Linux64\Debug\Winapi.WinInet.o:Winapi.WinInet:function Winapi::Wininet::InternetGetConnectedState(unsigned int*, unsigned int): error: undefined reference to 'InternetGetConnectedState'
C:\Program Files (x86)\CrossVcl\Lib\22.0\Linux64\Debug\Winapi.UrlMon.o:Winapi.UrlMon:function Winapi::Urlmon::URLDownloadToFile(System::DelphiInterfaceSystem::IInterface, char16_t*, char16_t*, unsigned int, System::DelphiInterface<IBindStatusCallback>): error: undefined reference to 'URLDownloadToFileW'
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
Comments (3)
-
reporter -
reporter - changed status to resolved
Same Issue than issue #168 -> RTL issue must be hadled by Cross RTL related code.
-
reporter - changed status to duplicate
Duplicate of #168.
- Log in to comment
Just saw related issues “DCC Error E2597 -> undefined reference to 'CopyFileW'“
And undestood by mistake : Have to track where this call is done.
→ sorry for the noise. Issue could be closed.