Steve
26 March 2017 11:20
1
I have done some c programming on Windoze in the past, but want to get into this on Linux.
I have installed Code::Blocks IDE. GCC is installed (5.3.1 64 bit)
I have a very basic Gtk+ app, which simply puts a couple of bttons in a window. It compiles fine, but running gives the following:
Any ideas?
Wimpy
26 March 2017 12:46
2
What is the app exactly? You see message like this is you create a GTK3 applet for MATE Panel that is built against GTK2.
You can’t mix toolkits.
1 Like
Steve
26 March 2017 13:44
3
It’s just a bog standard small GUI application that creates a window and puts two buttons in the window.
This compiled no problem from the command line with:
gcc pkg-config --cflags gtk+-3.0
-o first first.c pkg-config --libs gtk+-3.0
So it must be something with Code:Blocks
The compiler option in Code:Blocks is set to pkg-config --cflags gtk+-3.0
and the linker to pkg-config --libs gtk+-3.0
I’ll hold onto this for a while @Wimpy , while I look at what’s going on inside Code:Blocks
Steve
26 March 2017 14:25
4
Is there a way to see if I have both toolkits installed?
Steve
26 March 2017 16:23
5
Now resolved.
I did indeed have both toolkits installed.
Everything is working fine.
1 Like