Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Compiler problems

Subject: CGAL users discussion list

List archive

[cgal-discuss] Compiler problems


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] Compiler problems
  • Date: Sat, 26 Sep 2009 03:15:13 +0200 (CEST)

I am new to CGAL and believe I have followed the install instructions for
VC9.0, however I insert the following include into my code I get 68 errors.

#include <CGAL/Triangulation_2.h>

the first few errors are:
c:\program files\cgal-3.4\include\cgal\number_utils.h(231) : error C2988:
unrecognizable template declaration/definition
c:\program files\cgal-3.4\include\cgal\number_utils.h(231) : error C2059:
syntax error : '('
c:\program files\cgal-3.4\include\cgal\number_utils.h(231) : error C2143:
syntax error : missing ';' before '?'
c:\program files\cgal-3.4\include\cgal\number_utils.h(231) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\cgal-3.4\include\cgal\number_utils.h(231) : error C2988:
unrecognizable template declaration/definition
c:\program files\cgal-3.4\include\cgal\number_utils.h(231) : error C2059:
syntax error : '?'
c:\program files\cgal-3.4\include\cgal\number_utils.h(231) : error C2988:
unrecognizable template declaration/definition
c:\program files\cgal-3.4\include\cgal\number_utils.h(231) : error C2059:
syntax error : '<cv-qualifer>'
c:\program files\cgal-3.4\include\cgal\number_utils.h(231) : error C2059:
syntax error : ')'
c:\program files\cgal-3.4\include\cgal\number_utils.h(239) : error C2065:
'Real_embeddable' : undeclared identifier
c:\program files\cgal-3.4\include\cgal\number_utils.h(240) : error C2988:
unrecognizable template declaration/definition
c:\program files\cgal-3.4\include\cgal\number_utils.h(240) : error C2059:
syntax error : '-'
c:\program files\cgal-3.4\include\cgal\number_utils.h(240) : error C2059:
syntax error : ')'
c:\program files\cgal-3.4\include\cgal\number_utils.h(240) : error C2143:
syntax error : missing ';' before '{'

There is little else in the program, just a main() skeleton, and it compiles
without the include statement. Has anyone else seem a similar issue?


  • [cgal-discuss] Compiler problems, jennsjunx, 09/26/2009

Archive powered by MHonArc 2.6.16.

Top of Page