[wxVTK] Conflicting declarations when compiling wxVTK examples
Brought to you by:
malat
|
From: Catherine P. <cep...@gm...> - 2007-08-20 15:46:29
|
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
|