Page 1 of 1

app does not open in ubuntu

Posted: Mon Feb 10, 2025 8:53 pm
by ericktux
Good morning everyone, especially Salvador for the great project, a question I'm using the example of:
CEF4Delphi-master\demos\Lazarus_any_OS\BrowserWindowEx
in Windows 10 and 11 they work perfectly, as it says "Lazarus_any_OS" I imagine that the same example should work in Win, Linux and Mac. Now I would like to use it in Ubuntu Linux 24.10 but when I run the program it doesn't open, I get the following error in the terminal:

Code: Select all

Gtk-ERROR **: 13:53:28.871: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
«trap» for breakpoint/tracking (`core' generated)
Please if you can help me, I like the idea of ​​being able to use the same project in several operating systems.
PD:
the examples of "Lazarus_Linux_GTK2" do open.
the examples for "Lazarus_Linux_GTK3" don't open
I'm interested in the examples for "Lazarus_any_OS" but they don't open :(

Re: app does not open in ubuntu

Posted: Tue Feb 11, 2025 5:10 pm
by salvadordf
This is a known issue with GTK2 demos :
https://github.com/salvadordf/CEF4Delphi/issues/441

Many demos in the demos/Lazarus_Linux_GTK2 directory work. Try using them instead.

Re: app does not open in ubuntu

Posted: Tue Feb 11, 2025 10:21 pm
by ericktux
Thank you very much my friend for your advice