Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost not found
From: Maik Beckmann (beckmann.maik_at_[hidden])
Date: 2008-10-03 18:01:10


Shital Desai schrieb am Freitag 03 Oktober 2008 um 00:10:
> Hi,
> I am trying to install a software that uses boost and I get the following
> error message when I run cmake and make. routines. I appreciat eif someone
> can help me with this.
>
> (1) Firstly, when I run cmake, I get the following messages
>
> shital_at_shital-laptop:~/Work/fers-beta1$ cmake ./
> -- found PYTHONLIBS_FOUND FALSE
> -- Could NOT find PythonLibs
> -- found PYTHONLIBS_FOUND FALSE
> -- Could NOT find PythonLibs
> -- found PYTHONLIBS_FOUND FALSE
> -- Could NOT find PythonLibs
> -- found PYTHONLIBS_FOUND FALSE
> -- Could NOT find PythonLibs
> -- Configuring done
> -- Generating done

If the build script should search for boost and exit configuration if it
doesn't find it. My impression is the build script doesn't even add an extra
include path for boost, but rahter assumes that boost lives in /usr (the
compiler always looks at /usr/include).
 
Solution:
Install libboost-dev and I guess the build will succeed (because the boost
headers now reside in /usr/include/boost).

> In file included from /home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:11:
> /usr/local/include/boost-1_36/boost/thread/mutex.hpp:12:44: error:
> boost/thread/detail/platform.hpp: No such file or directory

Odd, the compiler finds the mutex.hpp but not the platform.hpp of the same
installation. Is there a hardcoded include path like
  #include</usr/local/include/boost-1_36/boost/thread/mutex.hpp>
??
In this case the solution given above won't work. Alter it to
  #include<boost/thread/mutex.hpp>

Best,
 -- Maik

PS: As Vladimir mentioned this isn't an boost.build issue at all. Please post
further questions to cmake <at> cmake <dot> org (gmane:
http://dir.gmane.org/gmane.comp.programming.tools.cmake.user)


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk