From: John L. <jla...@gm...> - 2006-12-23 16:18:27
|
On 12/21/06, Juan Jose Natera <nat...@gm...> wrote: > Hi everyone, > > I am trying to build wxPlotCtrl and I have found some problems, > basicly it's looking for gdk/gdk.h and failing, those files are in > /usr/include/gtk-2.0 though. > > src/plotdraw.cpp:60:25: warning: gdk/gdk.h: No such file or directory > > It then dies after it sees some undeclared gdk_* functions. > > My system is Debian Sarge with the wxgtk backports: > > libwxgtk2.6-0c102 > libwxgtk2.6-dbg > libwxgtk2.6-dev If you're using configure you can set the environment variable $export CFLAGS=/usr/local/include as an additional path to search in. Or, if you're using the Makefiles just add the include path to APPEXTRADEFS. Or, you can just edit include/wx/plotctrl/plotdefs.h and change this #define wxPLOTCTRL_FAST_GRAPHICS 0 to just use the wxWidgets DC drawing routines. Hope this helps, John Labenski |