Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] Assertion thrown -- wrong rounding
- Date: Thu, 1 Oct 2009 23:24:47 +0000
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-rim-org-msg-ref-id:return-receipt-to:message-id :content-transfer-encoding:reply-to:x-priority:references :in-reply-to:sensitivity:importance:to:subject:from:date :content-type:mime-version; b=dxkpb+fHrcuKq3FfZsnZENglBOkzyk8XUnQWeXBFNMfCwrmRobMh/eV0cVUCm8EXLL O4Ec4bWNDqJyxiI2QmwxzhgQpkJTq6LjNeva/xAjBlP8OCaPiSW0ZzyfB+Wut44qNPvL csoG9fKqsLb/etVh/dpjTgQAEvE5Y+muVx3y0=
- Importance: Normal
- Sensitivity: Normal
Put the missing flag in your cmakelist file.
Sent from my Verizon Wireless BlackBerry
-----Original Message-----
From: Jonathan Fisher
<>
Date: Thu, 1 Oct 2009 19:03:06
To:
<>
Subject: [cgal-discuss] Assertion thrown -- wrong rounding
I'm developing an app which uses CGAL, and I am getting an assertion
thrown in during initialization. The explanation is: "Wrong rounding:
did you forget the -frounding-math option if you use GCC?"
I installed CGAL using cmake (with the cmake-gui) following the
instructions in the CGAL installation manual. Can anyone suggest what
I might look for in tracking down the problem? -- it would be much
appreciated.
I have previously run the app without errors on a PowerPC platform,
and I recently moved the app to an Intel Mac (with a new installation
of CGAL). I had had some trouble linking the app, getting error
messages about undefined CGAL symbols (including symbols about
assertions). I got the build to complete without errors, and now I am
getting the assertion thrown at runtime.
A minimal amount of grepping around in the makefiles indicates that
the frounding-math option is on.
I am using CGAL 3.4, with Xcode 3.2, under Mac OS 10.6.1; the Boost
version is 1_40_0.
The Console report on the error follows --
10/1/09 6:25:18 PM [0x0-0x152152].com.yourcompany.EpModelCo[6475]
terminate called after throwing an instance of
'CGAL::Assertion_exception'
10/1/09 6:25:18 PM [0x0-0x152152].com.yourcompany.EpModelCo[6475]
what(): CGAL ERROR: assertion violation!
10/1/09 6:25:18 PM [0x0-0x152152].com.yourcompany.EpModelCo[6475]
Expr: -CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1)
10/1/09 6:25:18 PM [0x0-0x152152].com.yourcompany.EpModelCo[6475]
File: /usr/local/include/CGAL/Interval_nt.h
10/1/09 6:25:18 PM [0x0-0x152152].com.yourcompany.EpModelCo[6475]
Line: 154
10/1/09 6:25:18 PM [0x0-0x152152].com.yourcompany.EpModelCo[6475]
Explanation: Wrong rounding: did you forget the -frounding-math option
if you use GCC?
10/1/09 6:25:23 PM com.apple.launchd.peruser.502[501]
([0x0-0x152152].com.yourcompany.EpModelCo[6475]) Job appears to have
crashed: Abort trap
10/1/09 6:25:24 PM ReportCrash[6478] Saved crash report for
EpModelCo[6475] version ??? (???) to /Users/jonathan/Library/Logs/
DiagnosticReports/EpModelCo_2009-10-01-182524_Fermat.crash
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss] Assertion thrown -- wrong rounding, Jonathan Fisher, 10/02/2009
- Re: [cgal-discuss] Assertion thrown -- wrong rounding, pafotein, 10/02/2009
- Re: [cgal-discuss] Assertion thrown -- wrong rounding, Laurent Rineau (GeometryFactory), 10/02/2009
Archive powered by MHonArc 2.6.16.