Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] CMake 2.8.8 error
- Date: Thu, 03 Jan 2013 13:53:03 +0100
- Organization: GeometryFactory
Le mercredi 02 janvier 2013 08:15:49 williamlai3a a écrit :
> Hi all,
>
> I was installing CGAL 4.1.0 version under win 7.
> I was using the CMake-gui for the build.
> I have double checked all my pathes for boost, Qt, etc are all correct.
> CMake throws error at the configure stage.
> It would be thankful if anyone can help.
> Thanks. William
> And CMake gives me error as following:
[...]
> == Detect external libraries ==
[...]
> CMake Error at C:/Program Files (x86)/CMake
> 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1200 (message):
> Unable to find the requested Boost libraries.
>
> Boost version: 1.41.0
>
> Boost include path: C:/Program Files (x86)/boost/boost_1_41
>
> The following Boost libraries could not be found:
>
> boost_thread
> boost_system
>
> 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.
> Call Stack (most recent call first):
> cmake/modules/CGAL_SetupBoost.cmake:6 (find_package)
> cmake/modules/CGAL_SetupDependencies.cmake:85 (include)
> CMakeLists.txt:590 (include)
>
>
> Boost include: C:/Program Files (x86)/boost/boost_1_41
> Boost libraries:
> Boost definitions:
> USING BOOST_VERSION = '1.41.0'
> == Detect external libraries (DONE) ==
[...]
> Configuring incomplete, errors occurred!
Hi William,
Please create in your CMake cache a new boolean variable named Boost_DEBUG,
and set it to ON/TRUE, and relaunch the CMake configuration. That enables the
debug mode of FindBoost.cmake. It will displays more explanation about why
FindBoost.cmake does not detect the boost_thread and boost_system libraries.
Check which variants of Boost you have compiled or installed. As explained in
the release notes of CGAL, under Windows the CGAL CMake scripts set up the
FindBoost script to search for shared libraries of Boost:
http://www.cgal.org/releases.html#release4.0
If you have installed the static libraries of Boost, you need to set the
CMake
boolean variable CGAL_Boost_USE_STATIC_LIBS. See the installation manual,
here:
http://www.cgal.org/Manual/4.1/doc_html/installation_manual/Chapter_installation_manual.html#sec:3partysoftwareconfig
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] CMake 2.8.8 error, williamlai3a, 01/02/2013
- Re: [cgal-discuss] CMake 2.8.8 error, Laurent Rineau (CGAL/GeometryFactory), 01/03/2013
Archive powered by MHonArc 2.6.18.