Hello guys,
first of all, I must say that I am a complete newb in this.
I have downloaded the GTK+ bundle from
http://www.gtk.org/download/win64.php extracted it to C:\gtk
Added User variable gdk-pixbuf with value C:\gtk\include\gdk-pixbuf-2.0
and variable gtk with value of C:\gtk
at the end of system variable Path I added ;C:\gtk\bin
In Code::Blocks I have added `pkg-config --cflags gtk+-3.0` to Settings->Compiler...->Compiler settings->Other options (which was blank before)
and also `pkg-config --libs gtk+-3.0` to to Settings->Compiler...->Linker settings->Other linker options
When I try to create new GTK+ project, I chose path and than I am asked to fill GTK's location, so I have inserted C:\gtk (which is where I have extracted the downloaded bundle). The problem is, I keep getting an error:
Script error
The path you entered seems valid, but this wizard can't locate the following GTK's include file: gtk.h in it
I have checked and the gtk.h is present in C:\gtk\include\gtk-3.0\gtk
Windows 7 64bit, Code::Blocks 12.11
Does anyone have an idea what am I doing wrong?
Thanks in advance
P.S: I hope this is right section. If not, please move it where it belongs.
Edit: I have edited the GTK+ wizard script and replaced "gtk2.0" with "gtk3.0" where it was necessary and it works, but now when I try to compile the source that I get generated by the Code::Blocks wizard, I keep getting error:
C:\gtk\lib\glib-2.0\include\glibconfig.h|57|error: ISO C90 does not support 'long long' [-Wlong-long]| ||=== Build finished: 1 errors, 0 warnings (0 minutes, 0 seconds) ===|
(which I guess does not belong in this board, but does anyone have an idea what to do with it?)