[wxVTK] #error "problem of wxGLCanvas"
Brought to you by:
malat
From: <wxv...@li...> - 2005-01-21 02:05:07
|
Hello all, I try to build an windows app using wxVTK on my linux box. I use Fedora Cor= e=20 II, gtk2, wx 2.4.2, glibc 2.3.3, vtk 2.4.2, itk 1.8.0. As described on the= =20 web I edited setup.h. Especially the openGL values wxUSE_OPENGL and=20 wxUSE_GLCANVAS. But always I run into #error "problem of wxGLCanvas". Same= =20 error occurs on the native wxVTK classes: =2D-- In Datei, eingef=FCgt von /usr/local/src/wxVTK/Sample/Sample.cpp:14: /usr/local/src/wxVTK/src/wxVTKRenderWindowInteractor.h:78:6: #error "proble= m=20 of wxGLCanvas" ^^^^^^^^^^^^^^^ In file included from /usr/local/src/wxVTK/Sample/Sample.cpp:14: /usr/local/src/wxVTK/src/wxVTKRenderWindowInteractor.h:97: error: Syntaxfeh= ler before `,' token /usr/local/src/wxVTK/src/wxVTKRenderWindowInteractor.h:100: error: virtual outside class declaration /usr/local/src/wxVTK/src/wxVTKRenderWindowInteractor.h:100: error: non-memb= er function `wxClassInfo* GetClassInfo()' cannot have `const' method qualif= ier /usr/local/src/wxVTK/src/wxVTKRenderWindowInteractor.h: In function ` wxClassInfo* GetClassInfo()': =2D-- What am I doing wrong? What did I miss?=20 Any help would be appreciated. Best regards, Torsten. =2D-=20 Things fall apart; the centre cannot hold. |