CGAL build, can't find boost

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

CGAL build, can't find boost

Michele Denber
While building CGAL 4.11.2 on a Solaris 10 SPARC machine, I get from cmake:

...
Configuring libCGAL_Core
-- Requested component: MPFR
-- Requested component: GMP
CMake Error at /opt/csw/share/cmake-3.4/Modules/FindBoost.cmake:1247 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  src/CGAL_Core/CMakeLists.txt:8 (find_package)
...

However, I have already set the boost location:

BOOST_INCLUDEDIR=/opt/csw/gxx/include/boost
BOOST_ROOT=/opt/csw/gxx/lib

Perhaps I am misunderstanding the message from cmake?  Does it want this to be set inside CMakeLists.txt somehow?  Any help would be appreciated.  Merci bien.
Reply | Threaded
Open this post in threaded view
|

Re: CGAL build, can't find boost

Sebastien Loriot (GeometryFactory)
Try with
BOOST_INCLUDEDIR=/opt/csw/gxx/include

provided you have for example /opt/csw/gxx/include/boost/version.hpp

Sebastien



On 07/29/2018 02:47 AM, Michele Denber wrote:

> While building CGAL 4.11.2 on a Solaris 10 SPARC machine, I get from cmake:
>
> ...
> Configuring libCGAL_Core
> -- Requested component: MPFR
> -- Requested component: GMP
> CMake Error at /opt/csw/share/cmake-3.4/Modules/FindBoost.cmake:1247
> (message):
>    Unable to find the requested Boost libraries.
>
>    Unable to find the Boost header files.  Please set BOOST_ROOT to the root
>    directory containing Boost or BOOST_INCLUDEDIR to the directory
> containing
>    Boost's headers.
> Call Stack (most recent call first):
>    src/CGAL_Core/CMakeLists.txt:8 (find_package)
> ...
>
> However, I have already set the boost location:
>
> BOOST_INCLUDEDIR=/opt/csw/gxx/include/boost
> BOOST_ROOT=/opt/csw/gxx/lib
>
> Perhaps I am misunderstanding the message from cmake?  Does it want this
> to be set inside CMakeLists.txt somehow?  Any help would be
> appreciated.  Merci bien.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: CGAL build, can't find boost

Michele Denber
On 07-29-2018 1:48 AM, Sebastien Loriot (GeometryFactory) wrote:
> Try with
> BOOST_INCLUDEDIR=/opt/csw/gxx/include
>
> provided you have for example /opt/csw/gxx/include/boost/version.hpp
Ah ha!  Thank you so much.  That's all it was.  cmake . completed
successfully and then both gmake and gmake install worked first try.  :-)

             - Michele


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss