Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Cannot open CGAL_Core-vc100-mt-gd.lib and error in Boost_INCLUDE_DIR in cmake in configure

Subject: CGAL users discussion list

List archive

[cgal-discuss] Cannot open CGAL_Core-vc100-mt-gd.lib and error in Boost_INCLUDE_DIR in cmake in configure


Chronological Thread 
  • From: Dimitris Sgourdos <>
  • To:
  • Subject: [cgal-discuss] Cannot open CGAL_Core-vc100-mt-gd.lib and error in Boost_INCLUDE_DIR in cmake in configure
  • Date: Sun, 12 Feb 2012 01:22:59 +0200

Hello my name is Dimitris,
I must do a project from my university and i need to calculate the convex hull of some points, so I must use CGAL.
I use Visual studio 2010. I have downloaded CGAL-3.9  and  boost_1_48_0.
But when I try to use CGAL in my project i got that error
>LINK : fatal error LNK1104: cannot open file 'CGAL_Core-vc100-mt-gd.lib'
The problem is that I can't find that library in my computer to add  a reference to the project's options.
I believe that I didn't do something when I install CGAL. Maybe I have to set some BOOST variables but i don't know how! Cause when i try to compile CGAL with cmake-gui i got the following
"
Build CGAL from release: CGAL-3.9

Packagenames: CGAL-3.9

CGAL_MAJOR_VERSION=3

CGAL_MINOR_VERSION=9

CGAL_BUGFIX_VERSION=

CGAL_SONAME_VERSION=8

CGAL_SOVERSION =8.0.0

CGAL_REFERENCE_CACHE_DIR=

Building static libraries

Targetting Visual Studio 10 Win64

Target build enviroment supports auto-linking

Using VC10 compiler.

Generator uses intermediate configuration directory: $(Configuration)

USING CMake version: 2.8.7

System: Windows

Build type: Release

USING CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /fp:strict /fp:except- /MD /O2 /Ob2 /D NDEBUG'

USING LDFLAGS = ' '

GMP include: C:/Program Files (x86)/CGAL-3.9/auxiliary/gmp/include

GMP libraries: C:/Program Files (x86)/CGAL-3.9/auxiliary/gmp/lib/libgmp-10.lib

GMP definitions:

USING GMP_VERSION = '5.0.1'

MPFR include: C:/Program Files (x86)/CGAL-3.9/auxiliary/gmp/include

MPFR libraries: C:/Program Files (x86)/CGAL-3.9/auxiliary/gmp/lib/libmpfr-4.lib

MPFR definitions:

USING MPFR_VERSION = '3.0.0'

CMake Error at cmake/modules/FindBoost.cmake:917 (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):

cmake/modules/CGAL_SetupBoost.cmake:12 (find_package)

cmake/modules/CGAL_SetupDependencies.cmake:32 (include)

CMakeLists.txt:422 (include)

Boost include: Boost_INCLUDE_DIR-NOTFOUND

Boost libraries:

Boost definitions:

USING BOOST_VERSION = '..'

Library config detected: Core

Library config detected: ImageIO

Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)

OpenGL include:

OpenGL libraries: glu32;opengl32

NOTICE: CGAL_ImageIO needs ZLib to read compressed files. That feature will not be activated.

Library config detected: Qt3

CGAL_Qt3 needs Qt3, cannot be configured.

Library config detected: Qt4

CGAL_Qt4 needs Qt4, cannot be configured.

Library configs detected: CGAL;Core;ImageIO;Qt3;Qt4

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

Please set them or make sure they are set and tested correctly in the CMake files:

Boost_INCLUDE_DIR (ADVANCED)

used as include directory in directory C:/Program Files (x86)/CGAL-3.9/src/CGAL

used as include directory in directory C:/Program Files (x86)/CGAL-3.9/src/CGALCore

used as include directory in directory C:/Program Files (x86)/CGAL-3.9/src/CGALImageIO

used as include directory in directory C:/Program Files (x86)/CGAL-3.9/src/CGALQt3

used as include directory in directory C:/Program Files (x86)/CGAL-3.9/src/CGALQt4

Configuring incomplete, errors occurred!

"

I would appreciate if someone could help me cause I'm not so experienced and I feel totally lost now and I have very strict deadline.



Archive powered by MHonArc 2.6.16.

Top of Page