Hi,
I just started using Codeblocks to create a GTK3 application. Unfortunately, while compiling, Code::Blocks keeps giving me the error: "fatal error: gtk/gtk.h: No such file or directory"
I have added `pkg-config --cflags gtk+-3.0` to the compiler options and `pkg-config --libs gtk+-3.0` to the linker options. When I change these two options to gtk+-2.0, compiling is successfull. Also, compiling on the command line with
gcc `pkg-config --cflags gtk+-3.0` -o hello hello.c `pkg-config --libs gtk+-3.0`
does work. What might be the problem here?
<i>Edit:</i> closing and reopening Code::Blocks solved my problem. Maybe because I installed GTK3 while Code::Blocks was already opened. Anyway, this is solved.