User forums => Using Code::Blocks => Topic started by: zhl on September 26, 2011, 06:42:48 am

Title: a problem compiling GTK+ project using CB
Post by: zhl on September 26, 2011, 06:42:48 am
Hi,I use C:B(nightly7385) to setup a "hello world" project by GTK+ project wizard and an error appears when compiling the project and I find the reason which C:B lacks of a header file path included.The header file name is gdk-pixbuf.h and the preprocessor directive in source file is #include <gdk-pixbuf/gdk-pixbuf.h> and I solve this problem by add a path:
Code: [Select]
OS:WinXPsp3, 32bit
GTK+ version:gtk+-bundle_2.22.1-20101227_win32.

The error shows:  
Code: [Select]
D:\gtk\include\gtk-2.0\gdk\gdkpixbuf.h|37|fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory|
Does anyone encounter this problem?