Hi,

i'd like to compile osg (in order to be able to compile flightgear). i am using 
ubuntu 10.04, have a 4-core-processor, and downloaded the osg-sources by using 
"svn co .../OpenSceneGraph-2.8.3 OpenSceneGraph". i also installed the 
osg-build-dependencies by "apt-get build-dep openscenegraph".
but when i try "configure" followed by "make", i get the following errors in 
the end:

"
...
[ 99%] Built target osgdb_svg
Linking CXX executable ../../bin/osgviewer
/usr/bin/ld: ../../lib/libosgDB.so.2.8.3: error: undefined reference to 
'dlerror'
/usr/bin/ld: ../../lib/libosgDB.so.2.8.3: error: undefined reference to 
'dlclose'
/usr/bin/ld: ../../lib/libosgDB.so.2.8.3: error: undefined reference to 'dlopen'
/usr/bin/ld: ../../lib/libosg.so.2.8.3: error: undefined reference to 'dlsym'
collect2: ld returned 1 exit status
make[2]: *** [bin/osgviewer] Fehler 1
make[1]: *** [applications/osgviewer/CMakeFiles/application_osgviewer.dir/all] 
Fehler 2
make: *** [all] Fehler 2
"

It seems to have something to do with the library "pthreads", because my "ld" 
doesn't seem to understand the option "-lpthreads".

What is it that I am doing wrong?

Thank you!

Cheers,
Leinad

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=32073#32073





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to