Hi Stewart, I would suspect an OpenGL driver/window manager issue. The way to start investigating is to look to get an example like osgviewer cow.osg running, if that fails try something like osgviewerSDL cow.osg or osgviewerGLUT cow.osg as thse uses a different windowing setup.
FYI, WxWidgets is just an optional dependency - only required when you want to compile the osgviewerWX example, I'm afraid the findWxWdiget script in CMake is rather over-zealous in reporting failure of finding it so it looks like its more critical that it is, which is not at all really. Robert. On Jan 3, 2008 6:40 PM, Stewart Andreason <[EMAIL PROTECTED]> wrote: > Hi, > I am new to OSG, and am having trouble getting it to work. > > Specifically, in Flightgear, I get a blue screen on startup, and > scrambled scenery after startup. > screen shots here: > > http://www.sysmatrix.net/~sandreas/data/osg-nvidia-bug-004.jpg > > http://www.sysmatrix.net/~sandreas/data/osg-nvidia-bug-012.jpg > > Suspecting a driver problem, I upgraded to the newest NVIDIA driver for > my GeForce4 MX440 > > NVIDIA-linux-x86-96.43.01-pkg1.run > running on: > Linux Slackware7 kernel-2.4.35 Athlon3000 glibc-2.3.2 gcc-3.3.2 Xorg-7.0.0 > > but that did not help. > > After setting OSG_NOTIFY_LEVEL=DEBUG > I captured this output when running > > osgviewer cow.osg (from the osg-Data package) > > http://pastebin.com/m5340408d > > The screen stays blue and blank or clear until I [ESC] close it. > > Looking back at the output from configure, I question the 2 errors it gave. > It didn't say they were serious, and the package compiled without error. > Link to longest configure output: > > http://pastebin.com/m3b7a187c > > So I then tried to re-compile with > cmake . -DCMAKE_BUILD_TYPE=Debug -DBUILD_OSG_EXAMPLES:BOOL=ON > but now I get a compile error: > [snip] > [ 97%] Built target example_osgtessellate > Scanning dependencies of target example_osgtext > [ 98%] Building CXX object > examples/osgtext/CMakeFiles/example_osgtext.dir/osgtext.o > /usr/src/OpenSceneGraph-2.2.0/examples/osgtext/osgtext.cpp: In member function > `void UpdateTextOperation::load()': > /usr/src/OpenSceneGraph-2.2.0/examples/osgtext/osgtext.cpp:547: error: parse > error before `;' token > /usr/src/OpenSceneGraph-2.2.0/examples/osgtext/osgtext.cpp:558: error: no > matching function for call to `osgText::Text::setPosition(osg::Vec3 > (&)(...) > )' > /usr/src/OpenSceneGraph-2.2.0/include/osgText/Text:140: error: candidates are: > void osgText::Text::setPosition(const osg::Vec3&) > make[2]: *** [examples/osgtext/CMakeFiles/example_osgtext.dir/osgtext.o] > Error 1 > make[1]: *** [examples/osgtext/CMakeFiles/example_osgtext.dir/all] Error 2 > make: *** [all] Error 2 > > ps. > The only prerequisite I seemed to need is wxWidgets, and so installed > wxGTK-2.8.7 > beforehand, without any error. > > What can I try next? > Thank you, > Stewart > > _______________________________________________ > 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

