[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Two compilation errors

> > Add -l /usr/lib/glib-2.0/include to the build
> > 
> > Sounds like a buggy configure.ac
> Isn't the "-l" suppose to be for library files instead of header files?
> Note that I have -I/usr/include/glib-2.0/include for gcc.

What does `pkg-config --cflags gtk+-2.0` return?

It should return this...

debiantosh:(~)$ pkg-config --cflags gtk+-2.0
-DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include

Notice the last two include directories...
Are you sure you have all the dev packages you need installed?

Eric Gaumer <gaumerel@ecs.fullerton.edu>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: