Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?


Chronological Thread 
  • 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,

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.
"Previously" is what compiler, cgal version, etc?

It takes more
than two minutes to calculate the inner skeleton for the complex5
polygon (Vista, Core2Duo
,
2gig ram).
I suppose you are using checked iterators and the secure scl right?
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
in release mode it doesnt even want to calculate any skeleton.
("Straight skeleton construction failed")

*any* skeleton no matter which one, like within a simple rectangle?

HTH

Fernando Cacciola
GeometryFactory



Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm




Archive powered by MHonArc 2.6.16.

Top of Page