Re: [wxVTK] Conflicting declarations when compiling wxVTK examples
Brought to you by:
malat
From: Mathieu M. <mat...@gm...> - 2007-08-20 16:04:14
|
Hi Catherine, Can you send us the output of the following two commands: $ wx-config --libs $ wx-config --cppflags Thanks -Mathieu On 8/20/07, Catherine Peloquin <cep...@gm...> wrote: > Hello all, > > I am a new user to wxVTKRenderWindowInteractor. I generated a > makefile using ccmake without issues, but cannot get the example codes > provided with wxVTKRenderWindowInteractor to compile correctly. > > I am getting the error messages: > In file included from /usr/include/gtk-1.2/gdk/gdkprivate.h:33, > from /usr/include/gtk-1.2/gdk/gdkx.h:30, > from wxVTKRenderWindowInteractor.cpp:54: > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: conflicting declaration > 'typedef gulong GdkAtom' > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > 'GdkAtom' has a previous declaration as `typedef struct > _GdkAtom*GdkAtom' > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: declaration of `typedef > gulong GdkAtom' > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom' > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: declaration of `typedef > gulong GdkAtom' > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom' > /usr/include/gtk-1.2/gdk/gdktypes.h:57: error: conflicting declaration > 'typedef struct _GdkWindow GdkWindow' > ...and so on. > > Does anyone have any suggestions as to what I can to to resolve these errors? > > Thanks, > Catheirne Peloquin > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > -- Mathieu |