Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Problem including header
- Date: Mon, 10 Sep 2007 23:58:45 +0200
Hi all,
I am trying to use CGAL, but when I include a simple header (e.g. #include
<cgal/Point_2.h>), I got plenty of errors at compilation. Any idea ?
The errors appears when compiling the file which includes the file including
CGAL headers.
Regards
Here are some of the errors (Visual C++ 2003) :
E:\librairies\CGAL-3.2.1\include\CGAL\Point_2.h(157) : error C2143: erreur de
syntaxe : absence de ',' avant '&'
E:\librairies\CGAL-3.2.1\include\CGAL\Point_2.h(173) : error C2143: erreur de
syntaxe : absence de ',' avant '&'
E:\librairies\CGAL-3.2.1\include\CGAL\Point_2.h(189) : error C2995:
'std::ostream &CGAL::insert(std::ostream &,const CGAL::Point_2<R> &,const
int)' : fonction de modèle déjà définie
E:\librairies\CGAL-3.2.1\include\CGAL\Point_2.h(157) : voir la
déclaration de 'CGAL::insert'
E:\librairies\CGAL-3.2.1\include\CGAL\Point_2.h(204) : error C2143: erreur de
syntaxe : absence de ',' avant '&'
E:\librairies\CGAL-3.2.1\include\CGAL\Point_2.h(228) : error C2143: erreur de
syntaxe : absence de ',' avant '&'
E:\librairies\CGAL-3.2.1\include\CGAL\Point_2.h(248) : error C2995:
'std::istream &CGAL::extract(std::istream &,CGAL::Point_2<R> &,const int)' :
fonction de modèle déjà définie
E:\librairies\CGAL-3.2.1\include\CGAL\Point_2.h(204) : voir la
déclaration de 'CGAL::extract'
RJMCMC_Factory.cpp(21) : error C2065: 'tpf' : identificateur non déclaré
RJMCMC_Factory.cpp(21) : error C2228: la partie gauche de '.Interval' doit
avoir un type class/struct/union
le type est ''unknown-type''
- Problem including header, olivier . tournaire, 09/10/2007
- Re: [cgal-discuss] Problem including header, Bernd Gaertner, 09/11/2007
Archive powered by MHonArc 2.6.16.