Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] VS 2010 : Has anybody succeeded to build CGAL 3.5 on VS2010 ?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] VS 2010 : Has anybody succeeded to build CGAL 3.5 on VS2010 ?


Chronological Thread 
  • From: Bo Zhou <>
  • To:
  • Subject: Re: [cgal-discuss] VS 2010 : Has anybody succeeded to build CGAL 3.5 on VS2010 ?
  • Date: Sun, 20 Dec 2009 12:25:06 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=kXIXiIsTnRl28BBpSlqUXsT96bjOp3gIwBuPDof92RZaLDZKWgVDzSEM9/rPOn8c2x MMfyEdVI/bN5ii3Qy9re/A+ASda2A/DJvYbHMLTBgMk5Mw/TaK5NRHLJGgC28+dP9fu+ XRWJ83oiJtMLWdAN7zIT37od3M6tuZpXydxBo=

Priyank Jain wrote:
I think it wants the Boost thread library. Have you tried compiling the boost thread library and making a variable in Cmake that points to that location?

/Priyank

Gasnier wrote:
I have been using CGAL with VS2005 and VS2008 but until now I have failed to
compile CGAL 3.5 with VS2010 beta 2.

I successfully compiled boot 1.41.0 but I am still blocked with cmake-gui
(2.9)
failing to configure because of missing boost_thread library.
CMake output looks familiar since it appears in numerous posts in this forum
dealing with compilation with previous versions of Visual Studio.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
CMake Error at cmake/modules/FindBoost.cmake:885 (message):
Unable to find the requested Boost libraries.

Boost version: 1.41.0

Boost include path: C:/Program Files/Boost/boost_1_41_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.
Call Stack (most recent call first):
cmake/modules/CGAL_SetupBoost.cmake:12 (find_package)
cmake/modules/CGAL_SetupDependencies.cmake:17 (include)
CMakeLists.txt:220 (include)

If you ever succeeded to compile CGAL 3.5 with VS2010, please share your
ynowledge.
Thanks in advance.

If it always shows missing boost thread library even you have set the proper library folder, you have to modify the version number of the libraries file name to match your boost version. The CGAL's cmake script just try to find the thread libraries according the boost version, but sometimes the version of thread library is not as the same as boost itself.

When I tried to compile CGAL with boost 1.39, its thread library was still named "1_38", so there was this problem too.

You may find everything in FindBoost.cmake to trace something.

Thanks.

--
Bo Zhou
Software Engineer
Autodesk China Research & Development

begin:vcard
fn:Bo Zhou
n:Zhou;Bo
org:Autodesk China;M&E Division
adr:;;Pudian Street 399;Shanghai;Shanghai;200122;China
email;internet:
title:Software Developer
tel;cell:13501774529
x-mozilla-html:TRUE
version:2.1
end:vcard




Archive powered by MHonArc 2.6.16.

Top of Page