Skip to Content.
Sympa Menu

cgal-discuss - Re: Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??

Subject: CGAL users discussion list

List archive

Re: Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??


Chronological Thread 
  • From: Peter Hachenberger <>
  • To:
  • Subject: Re: Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??
  • Date: Mon, 27 Aug 2007 17:17:36 +0200

On Mon, 2007-08-27 at 23:57 +0900, Wonwoo Lee wrote:
> I tried as you told me. However, still I have similar errors, like :
>
> 1>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\root_of_2.h(1307) :
> see declaration of 'CGAL::operator /'
>
> 1>c:\program files\cgal-3.3\include\cgal\lazy_exact_nt.h(325) : error
> C2784: 'CGAL::Lazy_exact_nt<Coercion_traits<A,B>::Type>
> CGAL::operator /(const CGAL::Lazy_exact_nt<ET> &,const
> CGAL::Lazy_exact_nt<ET1> &)' : could not deduce template argument for
> 'const CGAL::Lazy_exact_nt<ET> &' from 'CGAL::MP_Float'
> 1> c:\program files\cgal-3.3\include\cgal
> \lazy_exact_nt.h(680) : see declaration of 'CGAL::operator /'
>
> It seems that the code still has problems with MP_Float.
> I set the header / library path of the GMP in the VS. Net project
> property dialog.
> Isn't it enough to make the CGAL use GMP ?

Unfortunately, I have no clue about CGAL on Windows. So, I don't know
how to enable/force the use of GMP. Try to add the compiler flag
CGAL_USE_GMP. If that does not help, I must ask somebody else.



> typedef CGAL::Nef_polyhedron_3<Kernel, SNC_indexed_items>
> Nef_polyhedron_3; seems to cause an error below.

Try
typedef CGAL::Nef_polyhedron_3<Kernel, CGAL::SNC_indexed_items>
Nef_polyhedron_3;



Archive powered by MHonArc 2.6.16.

Top of Page