I tried 2.4.8 and 2.6 for both VS 7.1 and VS 9:

Unfortunately for VS 7.1 (does not matter if its 2.4.8 or 2.6) I get this error: ------ Build started: Project: OpenThreads, Configuration: Debug Win32 ------

Compiling...
Atomic.cpp
\Games\GremlinGames\Source\Utilities\OSG_SVN\OpenSceneGraph\src\OpenThreads\common\Atomic.cpp(66) : error C3861: 'MemoryBarrier': identifier not found, even with argument-dependent lookup \Games\GremlinGames\Source\Utilities\OSG_SVN\OpenSceneGraph\src\OpenThreads\common\Atomic.cpp(92) : error C3861: 'MemoryBarrier': identifier not found, even with argument-dependent lookup



VS 9 appears to build fine as MemoryBarrier resides in winnt.h my guess.. there is a compiler version check that is greater that 7.1 to use.


What DOES work, is the config file detecting interlocked (as you verified), I wonder why the use float bounding box and use float bounding sphere are float by default... perhaps this is a general default for all platforms. I've been using double instead, and things run fine.

Oh yes, and the projects which are dependent on Open Threads and OSG now include the build directory, so while I do not quite understand the install workflow that you were saying it appears that we can build the solution without needing to do anything with install. To me the install is a folder which is ran last where, once the build has built successfully I click the install to put the stuff together, and then our client code includes and links to this folder... that way when the code breaks the install folder is still fine from the previous successful session.




James Killian
----- Original Message ----- From: "Jean-Sébastien Guay" <[EMAIL PROTECTED]>
To: "OpenSceneGraph Users" <[email protected]>
Sent: Thursday, June 26, 2008 7:53 AM
Subject: Re: [osg-users] [osg-submissions] API configurations in aseparateConfig include file


Hi James,

Thanks for explaining things:

No problem, that's what we're there for. :-)

Well I'll give Cmake 2.6 another shot. I tried it too early before and it had some strange behavior. Hopefully now since a lot of people are using it I'll feel a bit more confident that it will work. I may get back with you on the Install workflow, but I'll need to see how 2.6 looks first.

For sure give it a shot. It should work as intended out of the box for OSG out of SVN.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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

Reply via email to