Re: [Anjuta-list] compile error



Hi!

Are you sure that the Makefile.am for your project (usually in the src
directory) also contains something like 

AM_CPPFLAGS = $(glib_CFLAGS)

and

myapp_LIBS = $(glib_LIBS)

?

Regards,
Johannes

Am Sonntag, den 16.08.2009, 02:06 -0500 schrieb Sunil Negi:
> The configure.ac file in my project contains the following lines:
> 
> PKG_CHECK_MODULES(glib, glib-2.0)
> AC_SUBST(glib_CFLAGS)
> AC_SUBST(glib_LIBS)
> 
> And yet, when I do #include <glib.h>, I get the error:
> /home/sunil/cprojects/xxx/main.c:20:18: error: glib.h: No such file or 
> directory
> 
> Any pointers?
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Anjuta-list mailing list
> Anjuta-list lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/anjuta-list

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



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