Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Assertion thrown -- wrong rounding
- Date: Fri, 2 Oct 2009 01:29:03 +0200
- Organization: GeometryFactory
Le vendredi 02 octobre 2009 01:03:06, Jonathan Fisher a écrit :
> 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.
Can you give us your gcc version, please? It can be displayed, in a console,
with the following command line:
gcc --version
Are you sure that the cxx flags contain -frounding-math? In the directory
where
you compiled your demo, you can find the file CMakeCache.txt, which defines
a
lot of CMake variables. What is the content of CMAKE_CXX_FLAGS?
--
Laurent Rineau, PhD
Release Manager of the CGAL Project
http://www.cgal.org/
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/
- [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.