Re: [wxVTK] Compiling problems
Brought to you by:
malat
From: Philip S. <oh...@vt...> - 2006-10-22 20:33:25
|
Somehow got it to work by hacking the crap out of the cmakefile! ;) Philip On Sunday 22 October 2006 2:11 pm, Philip Schuchardt wrote: > I'm having trouble compiling the samples. > > Any suggestions? > > I'm using wxGTK 2.6.3.3 > > Philip Schuchardt > > In file included from /usr/include/gtk-1.2/gdk/gdkprivate.h:33, > > from /home/blitz/downloads/wxVTK/src/wxVTKRenderWindowInteractor.cxx:54: > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: conflicting declaration > 'typedef gulong GdkAtom' > /usr/include/wx-2.6/wx/defs.h:2762: 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/include/wx-2.6/wx/defs.h:2762: 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/include/wx-2.6/wx/defs.h:2762: 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' > /usr/include/wx-2.6/wx/defs.h:2763: error: 'GdkWindow' has a previous > declaration as `typedef struct _GdkDrawable GdkWindow' > /usr/include/gtk-1.2/gdk/gdktypes.h:57: error: declaration of `typedef > struct _GdkWindow GdkWindow' > /usr/include/wx-2.6/wx/defs.h:2763: error: conflicts with previous > declaration `typedef struct _GdkDrawable GdkWindow' > /usr/include/gtk-1.2/gdk/gdktypes.h:57: error: declaration of `typedef > struct _GdkWindow GdkWindow' > /usr/include/wx-2.6/wx/defs.h:2763: error: conflicts with previous > declaration `typedef struct _GdkDrawable GdkWindow' > /usr/include/gtk-1.2/gdk/gdktypes.h:57: error: declaration of `typedef > struct _GdkWindow GdkWindow' > /usr/include/wx-2.6/wx/defs.h:2763: error: conflicts with previous > declaration `typedef struct _GdkDrawable GdkWindow' > /usr/include/gtk-1.2/gdk/gdktypes.h:58: error: conflicting declaration > 'typedef struct _GdkWindow GdkPixmap' > /usr/include/wx-2.6/wx/defs.h:2765: error: 'GdkPixmap' has a previous > declaration as `typedef struct _GdkDrawable GdkPixmap' > /usr/include/gtk-1.2/gdk/gdktypes.h:58: error: declaration of `typedef > struct _GdkWindow GdkPixmap' > /usr/include/wx-2.6/wx/defs.h:2765: error: conflicts with previous > declaration `typedef struct _GdkDrawable GdkPixmap' > /usr/include/gtk-1.2/gdk/gdktypes.h:58: error: declaration of `typedef > struct _GdkWindow GdkPixmap' > /usr/include/wx-2.6/wx/defs.h:2765: error: conflicts with previous > declaration `typedef struct _GdkDrawable GdkPixmap' > /usr/include/gtk-1.2/gdk/gdktypes.h:58: error: declaration of `typedef > struct _GdkWindow GdkPixmap' > /usr/include/wx-2.6/wx/defs.h:2765: error: conflicts with previous > declaration `typedef struct _GdkDrawable GdkPixmap' > /usr/include/gtk-1.2/gdk/gdktypes.h:59: error: conflicting declaration > 'typedef struct _GdkWindow GdkBitmap' > /usr/include/wx-2.6/wx/defs.h:2764: error: 'GdkBitmap' has a previous > declaration as `typedef struct _GdkDrawable GdkBitmap' > /usr/include/gtk-1.2/gdk/gdktypes.h:59: error: declaration of `typedef > struct _GdkWindow GdkBitmap' > /usr/include/wx-2.6/wx/defs.h:2764: error: conflicts with previous > declaration `typedef struct _GdkDrawable GdkBitmap' > /usr/include/gtk-1.2/gdk/gdktypes.h:59: error: declaration of `typedef > struct _GdkWindow GdkBitmap' > /usr/include/wx-2.6/wx/defs.h:2764: error: conflicts with previous > declaration `typedef struct _GdkDrawable GdkBitmap' > /usr/include/gtk-1.2/gdk/gdktypes.h:59: error: declaration of `typedef > struct _GdkWindow GdkBitmap' > /usr/include/wx-2.6/wx/defs.h:2764: error: conflicts with previous > declaration `typedef struct _GdkDrawable GdkBitmap' > In file included > from /home/blitz/downloads/wxVTK/src/wxVTKRenderWindowInteractor.cxx:54: > /usr/include/gtk-1.2/gdk/gdkprivate.h:62: error: field `window' has > incomplete type > make[2]: *** > [CMakeFiles/wxImagePlaneWidget.dir/src/wxVTKRenderWindowInteractor.o] Error > 1 make[1]: *** [CMakeFiles/wxImagePlaneWidget.dir/all] Error 2 > make: *** [all] Error 2 > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users |