Subject: CGAL users discussion list
List archive
- From: Wonwoo Lee <>
- To:
- Subject: Re: Re:Re: [cgal-discuss] Compile errors with lazy_exact_nt.h ??
- Date: Tue, 28 Aug 2007 01:48:01 +0900
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=gNjywyjpCgMC2EKQW53vjVWtifON60O1Bh0fder2DhALDGKvciu6zwQUPDj5TzHayVplKVnrjqnMR6cks5ubyU6wBPZ7v6uGu7hb/M2yavoKfjAl8J4Hq0JsIv+zJ6aIYAw9fSpuZBXdGhmTjobv7EgO7z8TonUADak2gXTPbjo=
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.
Defining CGAL_USE_GMP works well.
My code is compiled without any problem now.
Try
typedef CGAL::Nef_polyhedron_3<Kernel, CGAL::SNC_indexed_items>
Nef_polyhedron_3;
CGAL::SNC_indexed_items also works fine.
Thanks Peter !!
Now, I can go to bed. ;-)
========================
Wonwoo Lee, Ph.D. candidate
GIST U-VR Lab.
Gwangju 500-712, South Korea
Tel. +82-62-970-3157
Fax. +82-62-970-2204
Web : http://wiki.uvr.gist.ac.kr/Main/WonwooLee
========================
On Aug 28, 2007, at 12:17 AM, Peter Hachenberger wrote:
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;
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/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
- 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.