Hello Victor,
On 07/11/2012 09:18 AM, Victor Haefner wrote:
> I tried to compile OpenSG 2.0 on Mac OS X 10.7.4 with macports boost
> at 99% I get the error:
> Compiling Filesystem version 3 with BOOST_FILESYSTEM_VERSION defined != 3
hmm, which file is it compiling? Oh never mind, most likely it's
Source/Contrib/BackgroundLoader/testBackgroundLoader.cpp, I see that it
starts with #define BOOST_FILESYSTEM_VERSION 2, which won't work for
boost versions where filesystem v2 was removed (so boost 1.48.0 and
newer, I think).
A quick workaround would be to disable libOSGContribBackgroundLoader,
simply add
RETURN()
at the top of
Source/Contrib/BackgroundLoader/CMakeLists.Lib.OSGContribBackgroundLoader.txt
The full fix is of course to make that test work with boost filesystem
v3 and remove the define, I'll see what I can do.
> cmake first says:
> Boost version: 1.50.0
> Found the following Boost libraries:
> filesystem
> system
>
> but further down it says:
> Could NOT find Boost
that may be a bogus message although it is a bit odd.
> I tried to use -DBOOST_ROOT=/opt/local/ but this didn't help cmake to
> find boost
Did you remove your CMakeCache.txt in the build dir? IIRC the cmake
module to locate boost does not detect changes to BOOST_ROOT after it
already found an installation.
Cheers,
Carsten
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users