Re: [wxVTK] #error "problem of wxGLCanvas"
Brought to you by:
malat
From: Mathieu M. <mma...@ny...> - 2005-01-23 20:23:09
|
Great, thanks for report. I'll update the CMakeLists.txt and report that to cmake mailing list. Mathieu Ps: it seems you are not using the same email as the one you used for registering and I keep receiving bounces from sf.net... Torsten Schroeer wrote: > Thanks Mathieu, > that helped! Option --with-opengl works. > > tips for Fedora-Core II: > - Update wxWindows from 2.4.2 to >= 2.5.3 (see > http://groups.google.com/groups?hl=de&lr=&threadm=405ED038.4000908%40alphacent.com&rnum=1&prev=/groups%3Fq%3Dundefined%2Breference%2Bto%2B%2560_gtk_rc_context_get_default_font_name%26hl%3Dde%26lr%3D%26selm%3D405ED038.4000908%2540alphacent.com%26rnum%3D1) > - adjust INCLUDE_DIRECTORIES to > /usr/include/gtk-2.0/ > /usr/lib/gtk-2.0/include/ > /usr/include/pango-1.0/ > /usr/include/glib-2.0/ > /usr/lib/glib-2.0/include/ > /usr/include/atk-1.0/ > - edit LIBRARY_OUTPUT_PATH to /lib while running ccmake or link > wxVTK-libraries from /lib-directory. > > Voila, > Torsten. > > > >>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 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > |