Add gtk-extra library in other Makefile

shuprabha shakya <[email protected]> Fri, 19 Jan 2007 04:45:53 -0800 (PST)
Newsgroups gmane.comp.scigraphica.gtkextra
Message-ID <[email protected]>
Hi,
   
  I am developing an application in C and use gtk fo the UI part with libglade. Besides, I will have to plot graphs based on the avialable data at run time. I found gtk-extra useful for it.
   
  I studied about it and went theru the examples in the distributuion. By doing ./autogen, I could generate exe file and run. But I have to integrate the package in my own application makefile.
   
  I have installed the package in its default location which is /usr/locale/..
   
  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
plot.c:5:36: error: gtkextra/gtkplotcanvas.h: No such file or directory
plot.c:6:40: error: gtkextra/gtkplotcanvasplot.h: No such file or directory
plot.c:7:34: error: gtkextra/gtkplotdata.h: No such file or directory
   
  Can u please suggest me, what I have done mistake or is this a good idea?
   
  shupa


shupa
 
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

-------------------------------------------------------------------------
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

_______________________________________________
Scigraphica-gtkextra mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra