Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Error in compilation of eigen.h

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Error in compilation of eigen.h


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Error in compilation of eigen.h
  • Date: Sun, 14 Mar 2010 11:49:49 +0100
  • Organization: GeometryFactory

Le Dimanche 14 Mars 2010 10:40:55, Amir Vaxman a écrit :
> Hello.
>
>
>
> I get the following two errors when compiling a program which previously
> worked with CGAL 3.5.1:
>
>
>
> "c:\home\amir\cgal-3.6-beta1\include\cgal\eigen.h(37) : error C2143: syntax
> error : missing ';' before 'constant'
>
> c:\home\amir\cgal-3.6-beta1\include\cgal\eigen.h(37) : error C2106: '=' :
> left operand must be l-value "

Another part of your code, in headers included before, defines a *macro*
named
EPSILON. That is the reason for that compilation error. For numerical
constant, a const variable is better than a macro.

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



Archive powered by MHonArc 2.6.16.

Top of Page