I have an additional issue... Configure/make/make install works fine without running wxWidgets/make install.
When I install wxWidgets using make install the configure step in OSG fails like so: cmake-2.4.7-Linux-i386/bin/cmake ../ -DDYNAMIC_OPENSCENEGRAPH=ON -DDYNAMIC_OPENTHREADS=ON -DCMAKE_BUILD_TYPE=Debug -DBUILD_OSG_EXAMPLES=ON CMake Error: Error in cmake code at OpenSceneGraph-2.2.0/build/cmake-2.4.7-Linux-i386/share/cmake-2.4/Modules/FindwxWidgets.cmake:561: STRING sub-command REGEX, mode MATCHALL needs at least 5 arguments total to command. Current CMake stack: [2] OpenSceneGraph-2.2.0/build/cmake-2.4.7-Linux-i386/share/cmake-2.4/Modules/FindwxWidgets.cmake [1] OpenSceneGraph-2.2.0/CMakeLists.txt CMake Error: Error in cmake code at OpenSceneGraph-2.2.0/build/cmake-2.4.7-Linux-i386/share/cmake-2.4/Modules/FindwxWidgets.cmake:564: STRING sub-command REGEX, mode MATCH needs at least 6 arguments total to command. Current CMake stack: [2] OpenSceneGraph-2.2.0/build/cmake-2.4.7-Linux-i386/share/cmake-2.4/Modules/FindwxWidgets.cmake [1] OpenSceneGraph-2.2.0/CMakeLists.txt CMake Error: Error in cmake code at OpenSceneGraph-2.2.0/build/cmake-2.4.7-Linux-i386/share/cmake-2.4/Modules/FindwxWidgets.cmake:567: STRING sub-command REGEX, mode MATCHALL needs at least 5 arguments total to command. Current CMake stack: [2] OpenSceneGraph-2.2.0/build/cmake-2.4.7-Linux-i386/share/cmake-2.4/Modules/FindwxWidgets.cmake [1] OpenSceneGraph-2.2.0/CMakeLists.txt -- Found JPEG: /usr/lib/libjpeg.so -- Found PNG: /usr/lib/libpng.so -- Configuring done Any Ideas what the problem can be???? Mario Valle wrote: > Be sure to configure wxWidgets with OpenGL support. > Ciao! > mario > > > spowers wrote: >> I downloaded wxWidgets 2.8.7 (wxAll) from www.wxwidgets.org. >> >> The compile of wxWidgets seemed to work fine. >> I ran: >> ./configure >> make >> make install >> >> and didnt notice any errors >> >> I then configured/compiled OSG v2.2 >> cmake ../ -DDYNAMIC_OPENSCENEGRAPH=ON -DDYNAMIC_OPENTHREADS=ON >> -DCMAKE_BUILD_TYPE=Debug -DBUILD_OSG_EXAMPLES=ON >> make >> >> and OSG came up with multiple compiler errors when compiling osgviewerWX >> example WX_GL_DOUBLEBUFFER was not declared in this scope >> example WX_GL_RGBA was not declared in this scope >> >> There are more but they all seem to be related to a faulty >> installation of wxWidgets or a bad configuration of OSG. >> >> Is there something that I'm missing or possibly a version mismatch? >> >> Thanks, >> >> -Steve >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

