Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

[cgal-discuss] Problem after installation


Chronological Thread 
  • From: NMoreau <>
  • To:
  • Subject: [cgal-discuss] Problem after installation
  • Date: Tue, 5 Feb 2013 03:27:45 -0800 (PST)

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
/usr/local/include/CGAL/enum.h:37:5: erreur: expected ‘}’ before ‘-’ token
/usr/local/include/CGAL/enum.h:37:5: erreur: expected unqualified-id before
‘-’ token
/usr/local/include/CGAL/enum.h:53:9: erreur: ‘Sign’ does not name a type
/usr/local/include/CGAL/enum.h:54:9: erreur: ‘Sign’ does not name a type
/usr/local/include/CGAL/enum.h:55:9: erreur: ‘Sign’ does not name a type
/usr/local/include/CGAL/enum.h:79:1: erreur: ‘Sign’ does not name a type
/usr/local/include/CGAL/enum.h:93:8: erreur: ‘Sign’ does not name a type
/usr/local/include/CGAL/enum.h:119:1: erreur: expected declaration before
‘}’ token
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 main.cpp:15:
/usr/local/include/CGAL/enum.h:37:5: erreur: expected identifier before ‘-’
token
/usr/local/include/CGAL/enum.h:37:5: erreur: expected ‘}’ before ‘-’ token
/usr/local/include/CGAL/enum.h:37:5: erreur: expected unqualified-id before
‘-’ token
/usr/local/include/CGAL/enum.h:53:9: erreur: ‘Sign’ does not name a type
/usr/local/include/CGAL/enum.h:54:9: erreur: ‘Sign’ does not name a type
/usr/local/include/CGAL/enum.h:55:9: erreur: ‘Sign’ does not name a type
/usr/local/include/CGAL/enum.h:79:1: erreur: ‘Sign’ does not name a type
/usr/local/include/CGAL/enum.h:93:8: erreur: ‘Sign’ does not name a type
/usr/local/include/CGAL/enum.h:119:1: erreur: expected declaration before
‘}’ token
make: *** [Appli] Erreur 1



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Problem-after-installation-tp4656657.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page