Error at linking. Seems like some functions in Winapi.Windows are not implemented.
[DCC Error] E2597 C:\Program Files (x86)\CrossVcl\Lib\19.0\Linux64\Debug\Winapi.Windows.o:Winapi.Windows:function Winapi::Windows::Beep(unsigned int, unsigned int): error: undefined reference to 'Beep' C:\Program Files (x86)\CrossVcl\Lib\19.0\Linux64\Debug\Winapi.Windows.o:Winapi.Windows:function Winapi::Windows::Sleep(unsigned int): error: undefined reference to 'Sleep' C:\Program Files (x86)\CrossVcl\Lib\19.0\Linux64\Debug\Winapi.WinInet.o:Winapi.WinInet:function Winapi::Wininet::InternetCloseHandle(void): error: undefined reference to 'InternetCloseHandle' C:\Program Files (x86)\CrossVcl\Lib\19.0\Linux64\Debug\Winapi.WinInet.o:Winapi.WinInet:function Winapi::Wininet::InternetOpen(char16_t, unsigned int, char16_t, char16_t, unsigned int): error: undefined reference to 'InternetOpenW' C:\Program Files (x86)\CrossVcl\Lib\19.0\Linux64\Debug\Winapi.WinInet.o:Winapi.WinInet:function Winapi::Wininet::InternetOpenUrl(void, char16_t, char16_t, unsigned int, unsigned int, NativeUInt): error: undefined reference to 'InternetOpenUrlW' C:\Program Files (x86)\CrossVcl\Lib\19.0\Linux64\Debug\Winapi.WinInet.o:Winapi.WinInet:function Winapi::Wininet::InternetReadFile(void, void*, unsigned int, unsigned int&): error: undefined reference to 'InternetReadFile'
Comments (10)
-
repo owner -
reporter Thanks. What about beep?
-
repo owner Regarding MS documentation - "Eventually because of the lack of hardware to communicate with, support for Beep was dropped in Windows Vista and Windows XP 64-Bit Edition."
Right now only MessageBeep is implemented to play the system beep.
-
reporter Thanks for the support. It builds ok now. Testing how it works.
-
reporter I cant debug the app. The ide dont show any breakpoint point. The app run , show crossvcl message and close. Any place to start checking?
-
repo owner macOS ?
-
repo owner Try to enable - 'Debug Information' in project options - Linker. IDE doesn't enable it automatically for some project (mostly old).
-
reporter Is Linux. Simple form Project works and debug ok
El El mar, 12 de dic. de 2017 a las 07:31, Eugene Kryukov <
-
repo owner - changed status to resolved
Debugging issue should be fixed at 0.99e
-
reporter Will be waiting that version
- Log in to comment
For Sleep it is better use SysUtils.Sleep, as for WinInet functions we don't have plan to implement it. You should use RTL, Net or Indy for such kind of functionality.