I am new to code::blocks, and I'm having a problem getting it setup to compile gtkmm 3.0 apps.
I get the following build error.
I've added the line 'pkg-config --cflags gtk+-3.0' to the compiler other options, and the line 'pkg-config glibmm-3.0 --libs' to the linker setting other options.
The build output includes 'pkg-config --cflags gtk+-2.0' in the build command. Where is this coming from? Any hints as to why the build is failing. I can compile the simple gtkmm 3.0 example using the command line:
g++ simple.cc -std=c++11 -o simple `pkg-config gtkmm-3.0 --cflags --libs`
Thanks in advance for any help.
-------------- Build: Debug in test1 (compiler: GNU GCC Compiler)---------------
g++ -Wall 'pkg-config --cflags gtk+-2.0' -g 'pkg-config --cflags gtk+-3.0' pkg-config gtkmm-3.0 --cflags -c /home/pi/cpp/test1/test1/test1.cpp -o obj/Debug/test1.o
g++: fatal error: no input files
compilation terminated.
Process terminated with status 4 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))