Problems Building on OSX / CMakeList and incompatible boost

Discussion and help for Compilation problems and platform portability.

Moderators: Dade, coordinators

Problems Building on OSX / CMakeList and incompatible boost

Postby PowStudios3 » Thu Dec 17, 2009 8:46 am

Hi,

I have problems making the xcode-project like described in the wiki.

CMake wants boost libraries 1.39 or later, but in the macos folder (got via mercurial) there are only the 1.34 libs. Anything I tried to get around that, like installing newer boost libs and trying other ways described here failed.

But if CMake wants 1.39 and in the boost folder there is only 1.34 it can't succeed, isn't it?

Could someone point me to a solution?

Thanks alot,
Powie

ps. CMake Error:

CMake Error at /Applications/CMake 2.8-0.app/Contents/share/cmake-2.8/Modules/FindBoost.cmake:894 (message):
Unable to find the requested Boost libraries.

Boost version: 1.41.0

Boost include path: /usr/local/include

The following Boost libraries could not be found:

boost_system-xgcc40-mt-1_39
boost_thread-xgcc40-mt-1_39
boost_program_options-xgcc40-mt-1_39
boost_filesystem-xgcc40-mt-1_39
boost_serialization-xgcc40-mt-1_39
boost_iostreams-xgcc40-mt-1_39
boost_regex-xgcc40-mt-1_39

No Boost libraries were found. You may need to set Boost_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
MacBook Intel, Core2Duo 2,4 GHz, 2 GB RAM, OSX Snow-Leo 10.6.2 64bit.
MacBook 'whines' (http://www.google.com/search?q=macbook+whine) + Noisy fan because of heavy rendering
i7-920 6GB Nehalem Ubuntu 64-bit, Lux 0.7RC1
User avatar
PowStudios3
 
Posts: 286
Joined: Sat Sep 05, 2009 5:46 am
Location: Hessia

Re: Problems Building on OSX / CMakeList and incompatible boost

Postby jeanphi » Thu Dec 17, 2009 10:37 am

Hi,

Have you tried changing the requested version to 1.41.0 since that's what you seem to have? Version 1.34 won't be useable anyway as it is lacking the asio library.
CMake is quite picky with boost version, it has a list of known version so if you have a newer version that's not in the list it won't find it unless you ask for it.

Jeanphi
jeanphi
Developer
 
Posts: 7943
Joined: Mon Jan 14, 2008 7:21 am

Re: Problems Building on OSX / CMakeList and incompatible boost

Postby PowStudios3 » Thu Dec 17, 2009 11:56 am

Hi,

i've got everything now, except...

THREADS...?

There is a statement in CMakeList line 230 stating:
#############################################################################
#############################################################################
############################ THREADING LIBRARIES ############################
#############################################################################
#############################################################################

FIND_PACKAGE(Threads REQUIRED)


resulting in an error stating:
CMake Error at /Applications/CMake 2.8-0.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find Threads (missing: Threads_FOUND)

Hmmm, i really don't know where to look for THREADS. I always thought they were shipped with the computer ;)

so, if anyone could point me to a solution that would be very helpful.. =)

Pow

EDIT: after being briefed by Jens i think that I need to tidy up my system, get 10.6 and then build it again with self-compiled libs. Thanks for reading, will report
MacBook Intel, Core2Duo 2,4 GHz, 2 GB RAM, OSX Snow-Leo 10.6.2 64bit.
MacBook 'whines' (http://www.google.com/search?q=macbook+whine) + Noisy fan because of heavy rendering
i7-920 6GB Nehalem Ubuntu 64-bit, Lux 0.7RC1
User avatar
PowStudios3
 
Posts: 286
Joined: Sat Sep 05, 2009 5:46 am
Location: Hessia


Return to Compilation & Portability

Who is online

Users browsing this forum: No registered users and 1 guest