Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

app does not open in ubuntu

Post Reply
ericktux
Posts: 40
Joined: Thu Oct 29, 2020 10:11 am

app does not open in ubuntu

Post 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 :(
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: app does not open in ubuntu

Post 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.
ericktux
Posts: 40
Joined: Thu Oct 29, 2020 10:11 am

Re: app does not open in ubuntu

Post by ericktux »

Thank you very much my friend for your advice
Post Reply