On 12/21/06, Juan Jose Natera <[EMAIL PROTECTED]> 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

-------------------------------------------------------------------------
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
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to