Re: [wxVTK] #error "problem of wxGLCanvas"
Brought to you by:
malat
From: <wxv...@li...> - 2005-01-21 06:50:20
|
Torsten, Could you send us the command line you used for configuring wxWidgets ?=20 If you cannot remember, go to your wxWidgets build directory and send us=20 the output of: $ head config.log Include in particular the line starting with '../configure'. If this is correct it should contains '--with-opengl' HTH Mathieu wxv...@li... wrote: > Hello all, >=20 > I try to build an windows app using wxVTK on my linux box. I use Fedora= Core=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". S= ame=20 > error occurs on the native wxVTK classes: >=20 > --- > In Datei, eingef=FCgt von /usr/local/src/wxVTK/Sample/Sample.cpp:14: > /usr/local/src/wxVTK/src/wxVTKRenderWindowInteractor.h:78:6: #error "pr= oblem=20 > of wxGLCanvas" > ^^^^^^^^^^^^^^^ > In file included from /usr/local/src/wxVTK/Sample/Sample.cpp:14: > /usr/local/src/wxVTK/src/wxVTKRenderWindowInteractor.h:97: error: Synta= xfehler > before `,' token > /usr/local/src/wxVTK/src/wxVTKRenderWindowInteractor.h:100: error: virt= ual > outside class declaration > /usr/local/src/wxVTK/src/wxVTKRenderWindowInteractor.h:100: error: non-= member > function `wxClassInfo* GetClassInfo()' cannot have `const' method qu= alifier > /usr/local/src/wxVTK/src/wxVTKRenderWindowInteractor.h: In function ` > wxClassInfo* GetClassInfo()': > --- >=20 > What am I doing wrong? What did I miss?=20 > Any help would be appreciated. >=20 > Best regards, > Torsten. >=20 |