Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL-2.4 Building error

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL-2.4 Building error


Chronological Thread 
  • From: Joshua A Levine <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL-2.4 Building error
  • Date: Fri, 22 Feb 2008 10:34:40 -0500

Nadir,

CGAL 2.4 is not meant to be compiled with g++-4.1.1. I've had some success
using g++-3.3.6 to build CGAL 2.4 on ubuntu. If you want a version that
builds with g++-4.1.1, try CGAL 3.3.

Josh

Nadir Shah wrote:
Hi all,
I am installing CGAL-2.4 on Fedora 6,Compiler GNU4.1.1. When I
build the CGAL-2.4 it gives me following error
****************************************************************
** **
** Compiling CGAL 2.4 **
** ================== **
** **
****************************************************************

OS: i686_Linux-2.6.18-1.2798.fc6
COMPILER: GNU 4.1.1
LEDA: not supported
GMP: not supported
CLN: not supported
Qt: not supported

Generating Makefiles ... done.
Building CGAL_lib ...
Compilation of CGAL_lib failed.
You will be shown a log now ...
****************************************************************
** Please press <ENTER> to continue. **
****************************************************************

When I press enter it gives output

/root/CGAL-2.4/include/CGAL/number_utils.h: In function 'NT
CGAL::NTS::sqrt(const NT&)':
/root/CGAL-2.4/include/CGAL/number_utils.h:219: error: 'sqrt' is not a
member of 'CGAL'
/root/CGAL-2.4/include/CGAL/number_utils.h: In function 'bool
CGAL::NTS::is_valid(const NT&)':
/root/CGAL-2.4/include/CGAL/number_utils.h:225: error: 'is_valid' is not a
member of 'CGAL'
/root/CGAL-2.4/include/CGAL/number_utils.h: In function 'bool
CGAL::NTS::is_finite(const NT&)':
/root/CGAL-2.4/include/CGAL/number_utils.h:231: error: 'is_finite' is not a
member of 'CGAL'
/root/CGAL-2.4/include/CGAL/number_utils.h: In function 'bool
CGAL::NTS::is_integral(const NT&)':
/root/CGAL-2.4/include/CGAL/number_utils.h:237: error: 'is_integral' is not
a member of 'CGAL'
make: *** [Triangulation_3.o] Error 1
make: Target `lib' not remade because of errors.

Kindly guide/help me in this regard. I will be very thankfull.








Archive powered by MHonArc 2.6.16.

Top of Page