Subject: CGAL users discussion list
List archive
- From: BardoB <>
- To:
- Subject: [cgal-discuss] Re: Assertion thrown -- wrong rounding
- Date: Sun, 28 Feb 2010 12:04:55 -0800 (PST)
Hi,
I've build the CGAL lib with macport. A "tool" for mac users to easily compile lib's.
The problem is you can't adjust the compile proces.
I will contact the port community about this problem.
Tanx for your advise!
Bardo
2010/2/26 Laurent Rineau (GeometryFactory) [via cgal-discuss] <[hidden email]>
On Friday 26 February 2010 11:11:09 BardoB wrote:For some reason, the flag -frounding-math is not used. Try recompile CGAL:
> Hi,
>
> I have the same problem.
>
> gcc --version:
>
> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> cat CGALConfig.cmake | grep frounding:
>
> set(CGAL_CXX_FLAGS_INIT "-pipe -arch x86_64 -arch i386 -frounding-math
> -fno-strict-aliasing" )
>
> cat CMakeLists.txt | grep frounding:
>
> message( STATUS "Using gcc version 4 or later. Adding -frounding-math" )
> uniquely_add_flags( CGAL_CXX_FLAGS "-frounding-math" )
>
> Is there a sollution known?
make clean
make VERBOSE=1
and check the flags. If you compile a program, please also use make VERBOSE=1
to check the compilation flags.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
View this message in context: Re: Assertion thrown -- wrong rounding
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Re: Assertion thrown -- wrong rounding, BardoB, 02/26/2010
- Re: [cgal-discuss] Re: Assertion thrown -- wrong rounding, Laurent Rineau (GeometryFactory), 02/26/2010
- [cgal-discuss] Re: Assertion thrown -- wrong rounding, BardoB, 02/28/2010
Archive powered by MHonArc 2.6.16.