[osg-users] new osg installation blank screen on nvidia
Stewart Andreason
sandreas at sysmatrix.net
Thu Jan 3 10:40:17 PST 2008
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
More information about the osg-users
mailing list