EugeneK 19 Posted yesterday at 07:02 PM Hi I'm trying to use FmxLinux in Delphi 12.2 and deploying to WSL, all samples work apart from GtkWindow, it has following code procedure gtk_window_set_title(window: Pointer; title: PUtf8Char); cdecl; external 'libgtk-3.so.0'; function gtk_widget_get_window(widget: Pointer): Pointer; cdecl; external 'libgtk-3.so.0'; procedure gdk_window_process_updates(window: Pointer; update_children: Boolean); cdecl; external 'libgdk-3.so.0'; and fails with this error when building [DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\23.0\bin\ld-linux.exe: error: cannot find -lgdk-3 C:\Program Files (x86)\Embarcadero\Studio\23.0\bin\ld-linux.exe: error: cannot find -lgtk-3 How can I make Delphi find these libraries? Share this post Link to post
havrlisan 25 Posted 13 hours ago Have you installed the gtk library on the linux machine? sudo apt-get install libgtk-3-dev Share this post Link to post
EugeneK 19 Posted 3 hours ago 9 hours ago, havrlisan said: Have you installed the gtk library on the linux machine? sudo apt-get install libgtk-3-dev Yes, but it fails during build, not when deploying, so I don't think it matters. It have to be somewhere on Windows machine Share this post Link to post
Kazantsev Alexey 26 Posted 1 hour ago 1 hour ago, EugeneK said: It have to be somewhere on Windows machine Press [Update Local File Cache] in SDK Manager after libgtk-3-dev installed. Share this post Link to post