Subject: CGAL users discussion list
List archive
- From: Johan Verbert <>
- To:
- Subject: Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?
- Date: Wed, 28 May 2008 22:27:30 +0200
Hello Fernando,
The speed issue was compared to Cgal 3.3 compiled with the previous version of Visual Studio Express (2007 i think).
And in release mode everything, even a simple rectangle failed.
_SECURE_SCL=0 was defined everywhere but _HAS_ITERATOR_DEBUGGING=0 not
Adding _HAS_ITERATOR_DEBUGGING=0 when compiling CGAL and the demo fixed everything!
I feel a little stupid now :)
thanks alot for the help!
Johan
Fernando Cacciola schreef:
Hi Johan,
Hello All,"Previously" is what compiler, cgal version, etc?
I followed the instructions on
(http://acg.cs.tau.ac.il/cgal-at-tau/installing-cgal-and-related-programs-on-windows)
for using Cgal (3.3.1) with Visual Studio Express 2008 using boost
1.35.00. And it seems to work fine.
However, if i compile and debug for example the straight skeleton demo
program, it seems a lot slower than it was previously.
It takes moreI suppose you are using checked iterators and the secure scl right?
than two minutes to calculate the inner skeleton for the complex5
polygon (Vista, Core2Duo
,
2gig ram).
Try defining _SECURE_SCL=0 and _HAS_ITERATOR_DEBUGGING=0, making sure to do the same when building CGAL itself.
If I compile and run*any* skeleton no matter which one, like within a simple rectangle?
in release mode it doesnt even want to calculate any skeleton.
("Straight skeleton construction failed")
HTH
Fernando Cacciola
GeometryFactory
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
- Linking error in compiling TAUCS libs, kevin . kai . xu, 05/25/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Laurent Saboret, 05/26/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Kevin Xu, 05/26/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Laurent Saboret, 05/26/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Kevin Xu, 05/27/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Laurent Saboret, 05/27/2008
- [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Johan Verbert, 05/28/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Fernando Cacciola, 05/28/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Johan Verbert, 05/28/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Ophir Setter, 05/29/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Fernando Cacciola, 05/29/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Ophir Setter, 05/29/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Fernando Cacciola, 05/29/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Ophir Setter, 05/29/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Fernando Cacciola, 05/28/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Kevin Xu, 05/27/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Laurent Saboret, 05/26/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Kevin Xu, 05/26/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Laurent Saboret, 05/26/2008
Archive powered by MHonArc 2.6.16.