Subject: CGAL users discussion list
List archive
- From: Quan <>
- To:
- Subject: [cgal-discuss] compile error
- Date: Sat, 25 Jul 2009 09:52:16 +0200 (CEST)
I create a Console Application in VS 2008, than copy this code into the cpp
file,
everything is ok:
#include<boost/shared_ptr.hpp>
#include<CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include<CGAL/Polygon_2.h>
#include<CGAL/create_straight_skeleton_2.h>
----------------------------------------------------
but when I create a application with MFC Application and copy these codes to
the stdafax.h and compile, there are some errors:
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(79) : error C2589: '('
:
illegal token on right side of '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(79) : error C2059:
syntax error : '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(117) : error C2589: '('
: illegal token on right side of '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(117) : error C2059:
syntax error : '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(118) : error C2589: '('
: illegal token on right side of '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(118) : error C2059:
syntax error : '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(120) : error C2065: 'u'
: undeclared identifier
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(120) : error C2065: 'l'
: undeclared identifier
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(121) : error C2065: 'l'
: undeclared identifier
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(121) : error C2065: 'u'
: undeclared identifier
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(162) : error C2589: '('
: illegal token on right side of '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(162) : error C2059:
syntax error : '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(163) : error C2589: '('
: illegal token on right side of '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(163) : error C2059:
syntax error : '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(211) : error C2589: '('
: illegal token on right side of '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(211) : error C2059:
syntax error : '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(214) : error C2589: '('
: illegal token on right side of '::'
c:\program files\cgal-3.4\include\cgal\core_bigfloat.h(214) : error C2059:
syntax error : '::'
why?
- [cgal-discuss] compile error, Quan, 07/25/2009
Archive powered by MHonArc 2.6.16.