Page 1 of 1

Boost version required: 1.34.0. Found: 1.39.0

Posted: 20 Sep 2009, 23:53
by shogun1234
I download the source from the git (git clone git://github.com/spring/spring.git) and install following dependencies already

Code: Select all

sudo aptitude install build-essential zlib1g-dev libfreetype6-dev
sudo aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev
sudo aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev
sudo aptitude install libboost-serialization-dev zip
sudo aptitude install libboost-program-options-dev
sudo aptitude install libvorbis-dev libxcursor-dev
However, when executing

Code: Select all

cmake .
The message shows the version conflict issue

Code: Select all

- Boost version required: 1.34.0. Found: 1.39.0
CMake Error at /usr/share/cmake-2.6/Modules/FindBoost.cmake:553 (MESSAGE):
  Couldn't find the Boost libraries and/or include directory, or the version
  found is too old.  Please install the Boost libraries AND development
  packages.  You can set BOOST_ROOT, BOOST_INCLUDEDIR and BOOST_LIBRARYDIR to
  help find Boost.
Call Stack (most recent call first):
  CMakeLists.txt:92 (FIND_PACKAGE)


-- Configuring done
Is there anychance that I can configure spring to use higher version, instead of binding to a fixed version?

Or what should I do to fix this problem?

Thanks for help.

Re: Boost version required: 1.34.0. Found: 1.39.0

Posted: 21 Sep 2009, 19:12
by hoijui
shogun1234 wrote:

Code: Select all

- Boost version required: 1.34.0. Found: 1.39.0
...
  Couldn't find the Boost libraries and/or include directory, or the version
  found is too old.
We do search for 1.34.0+ in our cmake files, not for exactly 1.34.0 (would be the CMake parameter EXACT to the FIND_PACKAGE() command).
So either it thinks 1.29 is older then 1.34, or it does report kind of baldy, and just did not find all the required parts of 1.39. It needs:
thread regex program_options system signals