Example NativeHandles does not compile
Example at C:\Users\user1\Documents\CrossVcl\Examples\NativeHandles
I open the folder \NativeHandles and i try to compile it from the example but it throws and Error
[DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\ld-linux.exe: error: cannot find -lgtk-3
RAD STUDIO BUILD Embarcadero® RAD Studio 10.3 Version 26.0.33219.4899 (10.3.1)
Ubundu 16.04 ubuntu-16.04.6-desktop-amd64.iso
Can you tell me if you manage to run this example and if so what version of RAD STUDIO you used and what version of Linux
Comments (5)
-
repo owner -
reporter I installed libgtk-3-common then i updated the SDK but the problem remains can you tell me what version of Ubuntu Linux you use and which version of delphi ? does it work for you?
-
repo owner We use Ubuntu 16.04, 18.04 and it works with Delphi 10.3.1.
Please check your Linux’s SDK (usr\lib\x86_64-linux-gnu sub-folder usually) folder for “libgtk-3.so” file. Or any combination, like “libgtk-3.so.0” etc.
-
reporter OK I managed to resolve the problem with this command at the Linux Ubundu ===> “sudo apt-get install libgtk-3-dev”
the command you gave me “sudo apt install
libgtk-3-common
“ did not solve the problem i had to install the dev edition of the GTKso what i did to resolve the problem was “sudo apt-get install libgtk-3-dev” then i had to update the SDK cache clicking replace yes to all.
this solved the problem please tag the issue as resolved.
Thank you
-
reporter - changed status to resolved
OK I managed to resolve the problem with this command at the Linux Ubundu ===> “sudo apt-get install libgtk-3-dev”
the command you gave me “sudo apt install libgtk-3-common“ did not solve the problem i had to install the dev edition of the GTK
so what i did to resolve the problem was “sudo apt-get install libgtk-3-dev” then i had to update the SDK cache clicking replace yes to all.
this solved the problem please tag the issue as resolved.
Thank you
- Log in to comment
First try to update SDK in Delphi. Second, install GTK3 to Ubuntu by “sudo apt install
libgtk-3-common
“ and then update SDK in Delphi again.