Re: [wxVTK] wxGTK 2.8.0 Support
Brought to you by:
malat
From: Mathieu M. <mat...@gm...> - 2007-01-25 14:53:30
|
Ref: http://groups.google.com/group/comp.soft-sys.wxwindows/msg/bdac1f4b5b64fe51 > I had a quick look at the source of gtk/glcanvas.cpp and I discover > that indeed the default empty constructor was removed. Any reason why ? Darn. A revised implementation of wxGLCanvas was committed 4 months ago but I can think of no good reason that the default constructor was omitted. We ought to add it back. Sorry about this. On 1/25/07, Philip Schuchardt <oh...@vt...> wrote: > Cool. You fixed one of the syntax errors but I still get this one: > > /home/blitz/documents/projects/therion_google_svn/loch-wx2.8.0/wxVTKRenderWindowInteractor.cxx: > In constructor `wxVTKRenderWindowInteractor::wxVTKRenderWindowInteractor()': > /home/blitz/documents/projects/therion_google_svn/loch-wx2.8.0/wxVTKRenderWindowInteractor.cxx:136: > error: no matching function for call to `wxGLCanvas::wxGLCanvas()' > /home/blitz/downloads/wxGTK-2.8.0/include/wx/gtk/glcanvas.h:59: note: > candidates are: wxGLCanvas::wxGLCanvas(const wxGLCanvas&) > /home/blitz/downloads/wxGTK-2.8.0/include/wx/gtk/glcanvas.h:92: note: > wxGLCanvas::wxGLCanvas(wxWindow*, const wxGLCanvas*, wxWindowID, const > wxPoint&, const wxSize&, long int, const wxString&, int*, const wxPalette&) > /home/blitz/downloads/wxGTK-2.8.0/include/wx/gtk/glcanvas.h:84: note: > wxGLCanvas::wxGLCanvas(wxWindow*, const wxGLContext*, wxWindowID, const > wxPoint&, const wxSize&, long int, const wxString&, int*, const wxPalette&) > /home/blitz/downloads/wxGTK-2.8.0/include/wx/gtk/glcanvas.h:76: note: > wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, > long int, const wxString&, int*, const wxPalette&) > /home/blitz/downloads/wxGTK-2.8.0/include/wx/gtk/glcanvas.h:69: note: > wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, int*, const wxPoint&, const > wxSize&, long int, const wxString&, const wxPalette&) > > Ideas? > > Thanks > Philip Schuchardt > > > On Thursday 25 January 2007 12:23 am, you wrote: > > Ok can you try again please. > > > > thanks > > -M > > > > $ cvs ci -m"ENH: Apparently GDK_WINDOW_XWINDOW is now in gdk/gdkx.h" > > Checking in src/wxVTKRenderWindowInteractor.cxx; > > /cvsroot/wxvtk/wxVTK/src/wxVTKRenderWindowInteractor.cxx,v <-- > > wxVTKRenderWindowInteractor.cxx > > new revision: 1.29; previous revision: 1.28 > > done > > > > On 1/24/07, Philip Schuchardt <oh...@vt...> wrote: > > > Yea, because the first time I tried to compile > > > wxVTKRenderWindowInteractor complained that I didn't have it turned on. > > > I recompiled wxGTK 2.8.0 with --with-opengl and those are the error > > > messages I got. > > > > > > Philip > > > > > > On Wednesday 24 January 2007 9:58 pm, you wrote: > > > > Did you remember to turn on: > > > > --with-opengl > > > > > > > > Thanks > > > > -M > > > > > > > > On 1/24/07, Philip Schuchardt <oh...@vt...> wrote: > > > > > Where would this cache be located? Do you want the cmake cache or an > > > > > output from wx-config? > > > > > > > > > > Philip > > > > > > > > > > On Wednesday 24 January 2007 9:09 pm, you wrote: > > > > > > Hi Philip (again), > > > > > > > > > > > > Could you send us your wxconfig cache, I would like to check if > > > > > > you turn wxGLCanvas on. > > > > > > > > > > > > Thanks > > > > > > -Mathieu > > > > > > > > > > > > On 1/24/07, Philip Schuchardt <oh...@vt...> wrote: > > > > > > > Has anyone suggestfully compiled wxVTK with wxGTK 2.8.0? The > > > > > > > wxVTK class contains many compiling error, when compiling against > > > > > > > wxGTK 2.8.0. I really don't like the error on line 315. Any > > > > > > > ideas? > > > > > > > > > > > > > > [ 3%] Building CXX object > > > > > > > CMakeFiles/loch3.dir/wxVTKRenderWindowInteractor.o > > > > > > > /home/blitz/documents/projects/therion_google_svn/loch/wxVTKRende > > > > > > >rWin dowI nteractor.cxx: In constructor > > > > > > > `wxVTKRenderWindowInteractor::wxVTKRenderWindowInteractor()': > > > > > > > /home/blitz/documents/projects/therion_google_svn/loch/wxVTKRende > > > > > > >rWin dowI nteractor.cxx:132: error: no matching function for call > > > > > > > to `wxGLCanvas::wxGLCanvas()' > > > > > > > /home/blitz/downloads/wxGTK-2.8.0/include/wx/gtk/glcanvas.h:59: > > > > > > > note: candidates are: wxGLCanvas::wxGLCanvas(const wxGLCanvas&) > > > > > > > /home/blitz/downloads/wxGTK-2.8.0/include/wx/gtk/glcanvas.h:92: > > > > > > > note: wxGLCanvas::wxGLCanvas(wxWindow*, const wxGLCanvas*, > > > > > > > wxWindowID, const wxPoint&, const wxSize&, long int, const > > > > > > > wxString&, int*, const wxPalette&) > > > > > > > /home/blitz/downloads/wxGTK-2.8.0/include/wx/gtk/glcanvas.h:84: > > > > > > > note: wxGLCanvas::wxGLCanvas(wxWindow*, const wxGLContext*, > > > > > > > wxWindowID, const wxPoint&, const wxSize&, long int, const > > > > > > > wxString&, int*, const wxPalette&) > > > > > > > /home/blitz/downloads/wxGTK-2.8.0/include/wx/gtk/glcanvas.h:76: > > > > > > > note: wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, const > > > > > > > wxPoint&, const wxSize&, long int, const wxString&, int*, const > > > > > > > wxPalette&) > > > > > > > /home/blitz/downloads/wxGTK-2.8.0/include/wx/gtk/glcanvas.h:69: > > > > > > > note: wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, int*, const > > > > > > > wxPoint&, const wxSize&, long int, const wxString&, const > > > > > > > wxPalette&) > > > > > > > /home/blitz/documents/projects/therion_google_svn/loch/wxVTKRende > > > > > > >rWin dowI nteractor.cxx: In member function `long int > > > > > > > wxVTKRenderWindowInteractor::GetHandleHack()': > > > > > > > /home/blitz/documents/projects/therion_google_svn/loch/wxVTKRende > > > > > > >rWin dowI nteractor.cxx:315: error: `GDK_WINDOW_XWINDOW' > > > > > > > undeclared (first use this function) > > > > > > > /home/blitz/documents/projects/therion_google_svn/loch/wxVTKRende > > > > > > >rWin dowI nteractor.cxx:315: error: (Each undeclared identifier is > > > > > > > reported only once for each function it appears in.) > > > > > > > make[2]: *** [CMakeFiles/loch3.dir/wxVTKRenderWindowInteractor.o] > > > > > > > Error 1 make[1]: *** [CMakeFiles/loch3.dir/all] Error 2 > > > > > > > make: *** [all] Error 2 > > > > > > > > > > > > > > > > > > > > > Philip Schuchardt > > > > > > > > > > > > > > ----------------------------------------------------------------- > > > > > > >---- ---- 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&CI > > > > > > >D=DE VDEV _______________________________________________ > > > > > > > Wxvtk-users mailing list > > > > > > > Wxv...@li... > > > > > > > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > -- Mathieu |