Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Problem compiling under Linux
- Date: Fri, 8 Dec 2006 17:36:12 +0100
Hello,
I've been working with CGAL 3.2 for a while with Cartesian kernel without any
problems, but now I need to use an
Exact_predicates_inexact_constructions_kernel and I get an error from g++ :
In file included from
../../../Gestaction/CGAL-3.2/include/CGAL/Exact_type_selecter.h:32,
from
../../../Gestaction/CGAL-3.2/include/CGAL/Filtered_kernel.h:35,
from
../../../Gestaction/CGAL-3.2/include/CGAL/Exact_predicates_inexact_constructions_kernel.h:28,
from MyQGLWidget.h:9,
from MainWin.h:7,
from Main.cpp:2:
../../../Gestaction/CGAL-3.2/include/CGAL/Lazy_exact_nt.h: Dans constructor «
CGAL::Lazy_exact_Opp<ET>::Lazy_exact_Opp(const CGAL::Lazy_exact_nt<ET>&) »:
../../../Gestaction/CGAL-3.2/include/CGAL/Lazy_exact_nt.h:434: error: erreur
de
syntaxe before `;' token
../../../Gestaction/CGAL-3.2/include/CGAL/Lazy_exact_nt.h:434: error: class `
CGAL::Lazy_exact_Opp<ET>' does not have any field named `a'
../../../Gestaction/CGAL-3.2/include/CGAL/Lazy_exact_nt.h:434: error: erreur
de
syntaxe before `;' token
../../../Gestaction/CGAL-3.2/include/CGAL/Lazy_exact_nt.h: Dans constructor «
CGAL::Lazy_exact_Abs<ET>::Lazy_exact_Abs(const CGAL::Lazy_exact_nt<ET>&) »:
../../../Gestaction/CGAL-3.2/include/CGAL/Lazy_exact_nt.h:435: error: erreur
de
syntaxe before `;' token
and so on ...
here is the part of my code where the compilator crashes :
/************
#include <QGLWidget>
#include <CGAL/basic.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
***********/
I'm using g++ 3.3 under Fedora Core 2 (yeah I know it's kinda old, but I'm
sure my code works there) and Qt4, but since CGAL website anounces CGAL works
with gcc 3.3 and Linux 2.x, I thought there wouldn't be any problem.
If anyone has an idea of how I could correct that point without changing my
kernel, it would be great ;)
Thanks
------------------------------------------------
Sébastien Meunier
Polytech'Sophia
Engineer Student in Vision, Image and Multimedia
Research Master Student
mail :
- Problem compiling under Linux, meunier, 12/08/2006
- Re: [cgal-discuss] Problem compiling under Linux, Joachim Reichel, 12/08/2006
- Re: [cgal-discuss] Problem compiling under Linux, Sébastien Meunier, 12/13/2006
- Re: [cgal-discuss] Problem compiling under Linux, Joachim Reichel, 12/08/2006
Archive powered by MHonArc 2.6.16.