I am building OpenSceneGraph 2.6.0 from source on a machine running SUSE 10.2. When running cmake script I get the following warnings. ... -- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS -- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS - Failed -- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS -- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS - Failed -- Performing Test _OPENTHREADS_ATOMIC_USE_SUN -- Performing Test _OPENTHREADS_ATOMIC_USE_SUN - Failed -- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED -- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - Failed ...
Compiling and linking OSG works ok. But if I try compile and link my application I get the following link errors: display.o: In function 'osg::Referenced::ref() const': /home/work/sim/../../dependencies/include/osg/Referenced:148: undefined reference to 'OpenThreads::Atomic::operator++()' display.o: In function 'osg::Referenced::unref() const': /home/work/sim/../../dependencies/include/osg/Referenced:165: undefined reference to 'OpenThreads::Atomic::operator--()' Anyone have any ideas how to solve this? The same application compiles fine on both Ubuntu and Windows. /Björn Blissing _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org