Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Problem after installation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Problem after installation


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Problem after installation
  • Date: Tue, 05 Feb 2013 13:57:16 +0100
  • Organization: GeometryFactory

Le mardi 05 février 2013 03:27:45 NMoreau a écrit :
> Hello,
>
> I never used CGAL before, and was trying to use its half-edge Polyhedron
> structure for the need of a project. I installed the library on my Ubuntu
> system using cmake. So far, no problem detected.
>
> So the problem is here: I tried to compile my code. There is nothing in my
> own code that seems to disturb the compiler... But I have some issues with
> the library that I just do not understand. Here is the error message... I
> don't know if this will be enough for someone to understand from where this
> problem comes but as I have no idea why I get this message, I don't know
> what kind of other information would be relevant in order to fix this...
>
> Thank you very much!
>
> --
>
> $ make
> g++ -o Appli *.cpp -lGL -lGLU -lglut -L/usr/local/lib -lCGAL -lgsl
> -lgslcblas -lm
> In file included from /usr/local/include/CGAL/Uncertain.h:25:0,
> from /usr/local/include/CGAL/assertions.h:333,
> from /usr/local/include/CGAL/basic.h:42,
> from /usr/local/include/CGAL/Cartesian/Cartesian_base.h:28,
> from /usr/local/include/CGAL/Simple_cartesian.h:28,
> from MeshBuilder.h:19,
> from Mesh.h:32,
> from useful.h:20,
> from Aide_Affichage.cpp:4:
> /usr/local/include/CGAL/enum.h:37:5: erreur: expected identifier before ‘-’
> token

It seems that, somewhere in your own code, you have a macro definition of
"NEGATIVE". That perturbs the code in <CGAL/enum.h>.

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