Search found 9 matches

by oscar1919
Fri Jan 04, 2019 7:24 pm
Forum: Compiler / Linking / IDE Related
Topic: How to install libwxgtk3.0-dev to work with gtk3?
Replies: 14
Views: 501

Re: How to install libwxgtk3.0-dev to work with gtk3?

It was in the #define section of the config.log(s), and I have written a small test program with some conditional prints.
The output of wx-config --cxxflags only contains -D__WXGTK__, no version number.
by oscar1919
Fri Jan 04, 2019 3:04 pm
Forum: Compiler / Linking / IDE Related
Topic: How to install libwxgtk3.0-dev to work with gtk3?
Replies: 14
Views: 501

Re: How to install libwxgtk3.0-dev to work with gtk3?

I see that __WXGTK20__ is defined both for gtk2 and gtk3. I will use __WXGTK3__ where I need to switch between versions. Thanks for the advice.
by oscar1919
Thu Dec 20, 2018 9:05 pm
Forum: Compiler / Linking / IDE Related
Topic: How to install libwxgtk3.0-dev to work with gtk3?
Replies: 14
Views: 501

Re: How to install libwxgtk3.0-dev to work with gtk3?

This is the backtrace of the minimal example as requested. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff5e7bf19 in gdk_visual_get_best () from /usr/lib/x86_64-l...
by oscar1919
Thu Dec 20, 2018 1:53 pm
Forum: Compiler / Linking / IDE Related
Topic: How to install libwxgtk3.0-dev to work with gtk3?
Replies: 14
Views: 501

Re: How to install libwxgtk3.0-dev to work with gtk3?

I have to apologize for making a wrong statement about the 'image' sample. It crashed because I ran the executable in another directory than the one which contains the image files. Meanwhile, I could isolate the problem. It occurs in routine SetUseBestVisual(true). When adding the lines below to the...
by oscar1919
Thu Dec 20, 2018 8:30 am
Forum: Compiler / Linking / IDE Related
Topic: How to install libwxgtk3.0-dev to work with gtk3?
Replies: 14
Views: 501

Re: How to install libwxgtk3.0-dev to work with gtk3?

Before taking any further steps, I did some tests with the samples coming along with wxWidgets-3.0.4. If I build the 'image' sample with my Makefile the program crashes. If I build it with the Makefile in the sample (but still using the not-local build lib), the sample runs ok. However, I see in the...
by oscar1919
Wed Dec 19, 2018 3:04 pm
Forum: Compiler / Linking / IDE Related
Topic: How to install libwxgtk3.0-dev to work with gtk3?
Replies: 14
Views: 501

Re: How to install libwxgtk3.0-dev to work with gtk3?

Thanks for your comments, David. This is the backtrace of dbg. Reading symbols from ./pv...(no debugging symbols found)...done. (gdb) run Starting program: /home/jan/c/pv-3.2.0/exe/Linux64/pv pv [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libt...
by oscar1919
Wed Dec 19, 2018 11:22 am
Forum: Compiler / Linking / IDE Related
Topic: How to install libwxgtk3.0-dev to work with gtk3?
Replies: 14
Views: 501

How to install libwxgtk3.0-dev to work with gtk3?

Hi, I am using Ubuntu 18.04. An application I have written crashes if I build it with wxWidgets-3.0.4, installed from distribution with sudo apt-get install libwxgtk3.0-dev. However, if I use a 3.0.4 built from source, the application runs fine. I suspect the fact that the distributed version runs w...
by oscar1919
Wed Dec 12, 2018 7:45 am
Forum: Platform Related Issues
Topic: Problem with single char EVT_MENU event on gtk.
Replies: 2
Views: 595

Re: Problem with single char EVT_MENU event on gtk.

Thanks for pointing this out, David. It really looks like the same issue.
by oscar1919
Tue Dec 11, 2018 12:13 pm
Forum: Platform Related Issues
Topic: Problem with single char EVT_MENU event on gtk.
Replies: 2
Views: 595

Problem with single char EVT_MENU event on gtk.

Hi all, I am experiencing the following problem, which I tried to isolate in the code below, which is based on the minimal sample. The wxWidgets version used is 3.1.1. My window is a frame which has three menu accelerator keys, Alt-x, F1 and a simple 'a'. The frame also has a child window, which get...