Forum > GTK

Cross Compile linker problem with GTK3 on a Windows

(1/2) > >>

BasePointer:
Hello,

I used fpcupdelux and installed Lazarus v2.3.0 from trunk and enabled all cross compile options on my Windows 10 machine.
My target is to build app which runs on a Linux with aarch64 cpu.

I created an empty lcl form app and changed the widgetset to gtk3 and Target is Linux and CPU is aarch64.

When I try to compile, I get following error. This error disappears if I use gtk2 or Qt5 as a widgetset.

--- Code: Text  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Debug: C:\LazarusIDE\cross\bin\aarch64-linux\aarch64-linux-gnu-ld.exe: cannot find -lgtk-3Debug: C:\LazarusIDE\cross\bin\aarch64-linux\aarch64-linux-gnu-ld.exe: cannot find -lgdk-3Debug: C:\LazarusIDE\cross\bin\aarch64-linux\aarch64-linux-gnu-ld.exe: cannot find -lgio-2.0C:\LazarusIDE\cross\bin\aarch64-linux\aarch64-linux-gnu-ld.exe: cannot find -lpangocairo-1.0
What shall I do to eliminate this linker error? Any suggestions?

Thank you.

Zvoni:
install pangocairo-dev-package?

BasePointer:

--- Quote from: Zvoni on January 18, 2022, 11:03:17 am ---install pangocairo-dev-package?

--- End quote ---

But I'm on windows, Any hint which path I should follow?

Zvoni:
maybe this helps: https://stackoverflow.com/questions/47097976/installing-pango-cairo-on-windows-10-x64

BasePointer:

--- Quote from: Zvoni on January 18, 2022, 11:06:21 am ---maybe this helps: https://stackoverflow.com/questions/47097976/installing-pango-cairo-on-windows-10-x64

--- End quote ---

Thank you but I think the linker needs actual platform libraries, not windows runtimes.
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?

Navigation

[0] Message Index

[#] Next page

Go to full version