Subject: CGAL users discussion list
List archive
- From: "Wonwoo Lee" <>
- To:
- Subject: Compile errors with lazy_exact_nt.h ??
- Date: Mon, 27 Aug 2007 14:11:38 +0900
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=hNzp59gxQ0IZcSw5A6b+PV7fcaEjWI+dzpEvB0KT0cPmfsSRbWZWKvMqzasoSAuPA/B6Y/gKN4w7QjqeCHWXAGrXNpkgCLOEqpEBqmxsiN1jicxf8xZhA2j6JGz6jTOFdVQJ8/jx20evqCfqrXxjfLhMEoRbHzA7ZdfLb7J464g=
Hi, CGAL developers and users.
I wrote a class which uses Nef_3 boolean operation for the exact visual hull reconstruction from silhouette images.
My code had no errors with the CGAL 3.2.1, when I built it.
However, it causes many compile errors with the file 'lazy_exact_nt.h' when I try to compile my code
after I updated the CGAL to version 3.3.
The errors are about the definition of the operator '/', such as :
c:\program files\cgal-3.3\include\cgal\lazy_exact_nt.h(325) : error C2784: 'CGAL::Root_of_2<RT_> CGAL::operator /(const CGAL::Root_of_2<RT_> &,const CGAL::Root_of_2<RT_> &)' : could not deduce template argument for 'const CGAL::Root_of_2<RT_> &' from 'CGAL::MP_Float'
1>c:\program files\cgal-3.3\include\cgal\lazy_exact_nt.h(325) : error C2784: 'CGAL::Interval_nt<Protected> CGAL::operator /(double,const CGAL::Interval_nt<Protected> &)' : could not deduce template argument for 'const CGAL::Interval_nt<Protected> &' from 'CGAL::MP_Float'
Actually, I'm not much familar with the way CGAL works.
I referred the demos and examples to develop my code.
Anyone can help me ?
For more information, I listed header files I'm using.
#include <CGAL/Homogeneous.h>
#include <CGAL/Nef_polyhedron_3.h>
#include <CGAL/IO/Nef_polyhedron_iostream_3.h>
#include <CGAL/Nef_polyhedron_3.h>
#include <CGAL/IO/Nef_polyhedron_iostream_3.h>
// Headers for Polydedron_3
#include <CGAL/Polyhedron_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>
#include <CGAL/Polyhedron_incremental_builder_3.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
// typedefs....
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
typedef CGAL::Nef_polyhedron_3<Kernel> Nef_polyhedron_3;
typedef CGAL::Polyhedron_3<Kernel> Polyhedron_3;
typedef Polyhedron_3::HalfedgeDS HalfedgeDS;
typedef Kernel::Point_3 Point_3;
typedef Kernel::Vector_3 Vector_3 ;
typedef Kernel::Plane_3 Plane_3;
typedef Kernel::Line_3 Line_3 ;
typedef Nef_polyhedron_3::Aff_transformation_3 Aff_transformation_3 ;
- Compile errors with lazy_exact_nt.h ??, Wonwoo Lee, 08/27/2007
- Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??, Peter Hachenberger, 08/27/2007
- Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??, Wonwoo Lee, 08/27/2007
- Re: Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??, Peter Hachenberger, 08/27/2007
- Re: Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??, Wonwoo Lee, 08/27/2007
- Re: Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??, Peter Hachenberger, 08/27/2007
- Re: Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??, Wonwoo Lee, 08/27/2007
- Re: Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??, Peter Hachenberger, 08/27/2007
- Re: Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??, Wonwoo Lee, 08/27/2007
- Re: Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??, Peter Hachenberger, 08/27/2007
- Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??, Wonwoo Lee, 08/27/2007
- Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??, Peter Hachenberger, 08/27/2007
Archive powered by MHonArc 2.6.16.