Re: Add gtk-extra library in other Makefile
Allin Cottrell <[email protected]> Fri, 19 Jan 2007 09:40:48 -0500 (EST)
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 19 Jan 2007, shuprabha shakya wrote: > i included the lines in my Makefile as > > CFLAGS += `pkg-config --cflags libglade-2.0` > CFLAGS+= -I /usr/local/include/gtkextra-2.0/gtkextra > > LIBS += `pkg-config --libs libglade-2.0` > LIBS+ = -L /usr/local/lib -lgtkextra > > and also tried with a samll program on gtkplot.c, but it saya > it cannot find the .h files as > > plot.c:4:30: error: gtkextra/gtkplot.h: No such file or directory Notice that it's "gtkextra/gtkplot.h" that is being searched for. That means, I think, that your CFLAGS line should be: CFLAGS += -I/usr/local/include/gtkextra-2.0 (without the last "/gtkextra" bit). Allin Cottrell ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV