Subject: CGAL users discussion list
List archive
- From: "Max" <>
- To: <>
- Subject: RE: [cgal-discuss] CGAL 3.4 - Simple program not compiles
- Date: Thu, 2 Apr 2009 19:54:27 +0800
The error message issued by VS2008:
1>E:\Lib\CGAL-3.4\include\CGAL/Nef_3/Pluecker_line_3.h(150) : error C2446:
':' : no conversion from 'CGAL::Null_functor::result_type' to 'CGAL::Gmpq'
1> No user-defined-conversion operator available that can perform this
conversion, or the operator cannot be called
1> E:\Lib\CGAL-3.4\include\CGAL/Nef_3/Pluecker_line_3.h(137) : while
compiling class template member function 'void
CGAL::Pluecker_line_3<Tag,R>::normalize(void)'
1> with
1> [
1> Tag=Kernel_tag,
1> R=CGAL::Homogeneous<CGAL::Gmpq>
1> ]
1> E:\Lib\CGAL-3.4\include\CGAL/Nef_3/SNC_external_structure.h(468) :
see reference to class template instantiation 'CGAL::Pluecker_line_3<Tag,R>'
being compiled
1> with
1> [
1> Tag=Kernel_tag,
1> R=CGAL::Homogeneous<CGAL::Gmpq>
1> ]
1> E:\Lib\CGAL-3.4\include\CGAL/Nef_3/SNC_external_structure.h(434) :
while compiling class template member function 'void
CGAL::SNC_external_structure_base<Items_,SNC_structure_>::pair_up_halfedges(void)
const'
1> with
1> [
1> Items_=CGAL::Default_items<Kernel>::Items,
1>
SNC_structure_=CGAL::SNC_structure<Kernel,CGAL::Default_items<Kernel>::Items,bool>
> -----Original Message-----
> From: Max
> [mailto:]
> On Behalf Of Max
> Sent: Thursday, April 02, 2009 7:49 PM
> To:
> ''
> Subject: [cgal-discuss] CGAL 3.4 - Simple program not compiles
>
> Hello,
>
> The following simple program does not compile. I'm using VC2008SP1
> under WinXP/SP1.
>
> #include <CGAL/Extended_homogeneous.h>
> #include <CGAL/Gmpq.h>
> #include <CGAL/Nef_polyhedron_3.h>
>
> typedef CGAL::Extended_homogeneous<CGAL::Gmpq> Kernel;
>
> typedef CGAL::Nef_polyhedron_3<Kernel> Nef_polyhedron_3;
> typedef CGAL::Plane_3<Kernel> Plane_3;
>
>
> int _tmain(int argc, _TCHAR* argv[])
> {
> Nef_polyhedron_3 N; // w/o this line, it compiles well
> return 0;
> }
>
> Thanks for any help.
>
> B/Rgds
> Max
- RE: [cgal-discuss] CGAL 3.4 - Simple program not compiles, Max, 04/02/2009
- <Possible follow-up(s)>
- [cgal-discuss] CGAL 3.4 - Simple program not compiles, Max, 04/03/2009
- Re: [cgal-discuss] CGAL 3.4 - Simple program not compiles, Ashwin Nanjappa, 04/03/2009
- [cgal-discuss] Voronoi diagram exact - inexact operation, Khuong Vu, 04/03/2009
- Re: [cgal-discuss] CGAL 3.4 - Simple program not comp iles, Peter Hachenberger, 04/16/2009
- RE: [cgal-discuss] CGAL 3.4 - Simple program not c ompiles, Max, 04/17/2009
- Re: [cgal-discuss] CGAL 3.4 - Simple program not compiles, Ashwin Nanjappa, 04/03/2009
Archive powered by MHonArc 2.6.16.