stuck with error

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
lupusc
In need of some credit
In need of some credit
Posts: 2
Joined: Sat Aug 08, 2020 3:20 pm

stuck with error

Post by lupusc »

Hi all,
I tried to compile a tool from sourceforge which requires wxwidgets (https://sourceforge.net/projects/netlistviewer/). I got it to compile without error but after invoking the Gui doesn't appear but this error message pops in the console:
(NetlistViewer:5645): Gtk-CRITICAL **: 14:51:15.391: IA__gtk_window_resize: assertion 'width > 0' failed
Failing to get to the root with gdb I tried to make the Hello World example from https://docs.wxwidgets.org/3.0/overview_helloworld.html
It compiles with not error but on invoking the same error occurs.
Finally I downloaded wxWidgets 3.0.5 for a fresh start and tried the procedure from https://docs.wxwidgets.org/trunk/plat_gtk_install.html. But even executing "../configure --with-gtk" fails, telling me that neither GTK+-3.0 nor GTK+-2.0 nor GTK+-1.2.3 is present. This is strange because the system is working properly with the GNOME Desktop (UBUNTU 20.04).
Could anybody help to analyze the problem. Thanks in advance.
catalin
Moderator
Moderator
Posts: 1618
Joined: Wed Nov 12, 2008 7:23 am
Location: Romania

Re: stuck with error

Post by catalin »

lupusc wrote: Sat Aug 08, 2020 3:42 pm "../configure --with-gtk" fails, telling me that neither GTK+-3.0 nor GTK+-2.0 nor GTK+-1.2.3 is present. This is strange because the system is working properly with the GNOME Desktop (UBUNTU 20.04)
You need the development packages for the GTK version of your choice (i.e. libgtk-3-dev).
lupusc
In need of some credit
In need of some credit
Posts: 2
Joined: Sat Aug 08, 2020 3:20 pm

Re: stuck with error

Post by lupusc »

Thanks for your effort. That did the trick.
Post Reply