Hi all,

I'm using Visual Studio 2005 SP1 on Windows Vista 64 bit and just
noticed that OSG isn't picking up that my machine supports atomic
reference counting, so it's falling back to defining
_OPENTHREADS_ATOMIC_USE_MUTEX in the OpenThreads/Config.

I saw a thread at
http://www.mail-archive.com/[email protected]/msg02238.html
mentioning this.  I changed the CheckAtomicOps.cmake to set the
_OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED to true manually, and things
seem to compile after I apply this change to the intrin.h file on my
system 
(https://connect.microsoft.com/VisualStudio/feedback/details/262047/compiler-error-when-including-windows-h-and-intrin-h-in-the-same-compilation-unit)

Has anyone else run into this and is there a better workaround?

Thanks,

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

Reply via email to