Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Compiling Issues of CGAL

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Compiling Issues of CGAL


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Compiling Issues of CGAL
  • Date: Mon, 14 Jan 2013 19:26:59 +0100
  • Organization: GeometryFactory

Hi Mihir,

Le lundi 14 janvier 2013 09:29:42 thedorkknight a écrit :
> INCLUDEPATH += C:\\libraries\\CGAL_4_1\\include\\CGAL
> INCLUDEPATH += C:\\libraries\\CGAL_4_1\\include
> INCLUDEPATH += C:\\libraries\\CGAL_4_1
> INCLUDEPATH += C:\\libraries\\boost_1_51
> INCLUDEPATH += C:\\libraries\\CGAL_4_1\\build\\include\\CGAL
> INCLUDEPATH += C:\\libraries\\CGAL_4_1\\auxiliary\\gmp\\include
(1)

Now I understand what happened. Your include path is wrong, and when the
compiler is asked to include <float.h>, because of the wrong include path it
finds <CGAL/float.h> in the directory C:\libraries\CGAL_4_1\include\CGAL\.
You
must remove the suffixes \\CGAL from your paths, because the prefix "CGAL/"
is
part of the name of CGAL headers. Here are the right values:

INCLUDEPATH += C:\\libraries\\CGAL_4_1\\include
INCLUDEPATH += C:\\libraries\\CGAL_4_1\\build\\include
INCLUDEPATH += C:\\libraries\\boost_1_51
INCLUDEPATH += C:\\libraries\\CGAL_4_1\\auxiliary\\gmp\\include


(1) To see the full discussion thread, see the discussion on Nable:
http://cgal-discuss.949826.n4.nabble.com/Compiling-Issues-of-CGAL-
td4656055.html

--
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