Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Installation issues

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Installation issues


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Installation issues
  • Date: Thu, 11 Oct 2012 12:49:30 +0200
  • Organization: GeometryFactory

Le jeudi 11 octobre 2012 03:39:11 skauf a écrit :
> Hi all,
>
> I'd like to install CGAL in such a way that would allow me to compile
> programs that use it with MinGW on Windows.
>
> By default, the cmake configuration targets Visual Studio. I don't see
> instructions in the installation menu or in the lists on how to change this.
>
> Anyone know how to get this to work?
>
> Also, even when VS is the target compiler, cmake complains about not finding
> boost threads. I did set a BOOST_ROOT env var and cmake seems to be aware
> of its value, but still this happens:
>
> CMake Error at cmake/modules/FindBoost.cmake:917 (message):
> Unable to find the requested Boost libraries.
>
> Boost version: 1.51.0
>
> Boost include path: C:/Temp/boost_1_51_0
>
> The following Boost libraries could not be found:
>
> boost_thread
>
> 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.
>
> I even tried to set Boost_LIBRARYDIR (say to C:/Temp/boost_1_51_0/libs) but
> that didn't help.

You can Set Boost_DEBUG to TRUE, in the CMake cache, to understand why CMake
cannot find the suitable boost_thread library.

How have you installed Boost in C:/Temp/boost_1_51_0/? What is there in
C:/Temp/boost_1_51_0/libs/?

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page