* Mathias Fröhlich -- Friday 20 June 2008:
> Try the attached change to the top level cmake file.

Doesn't compile here either, and the patch doesn't help.
This is -r8468 (cleaned up) on Linux 2.6.25.6, i386, P4,
compiled with gcc 4.2.1, libc 2.6.1 (20070803).

cmake says:

  -- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS
  -- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS - Failed

and I get this error:

  [  0%] Building CXX object src/osg/CMakeFiles/osg.dir/AlphaFunc.o
  In file included from $OSG/include/osg/Referenced:34,
                   from $OSG/include/osg/Object:18,
                   from $OSG/include/osg/StateAttribute:19,
                   from $OSG/include/osg/AlphaFunc:18,
                   from $OSG/src/osg/AlphaFunc.cpp:15:
  $OSG/include/OpenThreads/Atomic: In member function \
      ‘bool OpenThreads::AtomicPtr<T>::assign(T*, const T*)’:
  $OSG/include/OpenThreads/Atomic:140: error: \
      ‘oldPtr’ was not declared in this scope
  make[2]: *** [src/osg/CMakeFiles/osg.dir/AlphaFunc.o] Error 1
  make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2
  make: *** [all] Error 2

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

Reply via email to