Forum > GTK
Cross Compile linker problem with GTK3 on a Windows
PascalDragon:
--- Quote from: BasePointer on January 18, 2022, 11:20:04 am ---If I'm correct I need to install all asked libraries on my real target platform and copy them back to C:\LazarusIDE\cross\lib\aarch64-linux on my windows machine?
--- End quote ---
Correct. To link for Linux (or macOS or essentially any *nix) you need to have the libraries in question for the target available on the host system (that's because the ways libraries are linked to executables is slightly different between *nix and e.g. Windows).
BasePointer:
--- Quote from: PascalDragon on January 18, 2022, 01:31:21 pm ---Correct. To link for Linux (or macOS or essentially any *nix) you need to have the libraries in question for the target available on the host system (that's because the ways libraries are linked to executables is slightly different between *nix and e.g. Windows).
--- End quote ---
Thank you. I added required libraries into my linux image and then copy all /usr/lib/*.so* files to C:\LazarusIDE\cross\lib\aarch64-linux, it seems the Lazarus successfully compiles for gtk3 widgetset now.
Navigation
[0] Message Index
[*] Previous page