Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Problem including header
- Date: Mon, 08 Oct 2007 08:50:57 +0200
Does any example file distributed with CGAL compile?
Do you include a kernel, e.g.
#include <CGAL/Exact_predicates_inexact_contructions_kernel.h>
or
#include <CGAL/Cartesian.h>
andreas
wrote:
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''
- Re: [cgal-discuss] Problem including header, Andreas Fabri, 10/08/2007
Archive powered by MHonArc 2.6.16.