Subject: CGAL users discussion list
List archive
- From: Amir Vaxman <>
- To:
- Subject: Re: [cgal-discuss] -frounding-math option
- Date: Tue, 2 Oct 2012 12:34:07 +0200
I am sorry, I left out the compilation output (I am working in Qt
Creator). I added QMAKE_CXXFLAGS += -frounding-math to the .pro file
compiling the application itself, and it seemed to do the work.
Thanks.
Amir.
On Tue, Oct 2, 2012 at 12:23 PM, Amir Vaxman
<>
wrote:
> I didn't set anything other than unpacking sources, "cmake .", "make"
> and then "make install". Should I do these other stuff? I am not quite
> sure.
>
> Amir.
>
> On Tue, Oct 2, 2012 at 11:42 AM, Sebastien Loriot (GeometryFactory)
> <>
> wrote:
>> Hi Amir,
>>
>> the log provided and the error reported are not consistent.
>> The cmake log indicates NDEBUG is defined and assertions are deactivated in
>> that case.
>>
>> Did you set CGAL_DIR to the path of your build?
>>
>> Sebastien.
>>
>>
>> On 10/02/2012 11:31 AM, Amir Vaxman wrote:
>>>
>>> Hello,
>>>
>>> I have recently converted my religion from Windows to Linux Mint, and
>>> am trying to use CGAL copiled by g++ 4.6. I have configured cmake
>>> using:
>>>
>>> amir@amir-office ~/workspace/CGAL-4.0.2 $ cmake -fp-model strict .
>>> -- Build CGAL from release in directory CGAL-4.0.2
>>> -- Packagenames: CGAL-4.0.2
>>> -- CGAL_MAJOR_VERSION=4
>>> -- CGAL_MINOR_VERSION=0
>>> -- CGAL_BUGFIX_VERSION=2
>>> -- CGAL_SONAME_VERSION=9
>>> -- CGAL_SOVERSION =9.0.0
>>> -- CGAL_REFERENCE_CACHE_DIR=
>>> -- Building shared libraries
>>> -- Targetting Unix Makefiles
>>> -- Using /usr/bin/c++ compiler.
>>> -- USING CMake version: 2.8.9
>>> -- System: Linux
>>> -- USING GCC_VERSION = '4.6.3'
>>> -- Using gcc version 4 or later. Adding -frounding-math
>>> -- Build type: Release
>>> -- USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG'
>>> -- USING LDFLAGS = ' '
>>> -- GMP include: /usr/local/include
>>> -- GMP libraries: /usr/local/lib/libgmp.so
>>> -- GMP definitions:
>>> -- USING GMP_VERSION = '5.0.5'
>>> -- MPFR include: /usr/local/include
>>> -- MPFR libraries: /usr/local/lib/libmpfr.so
>>> -- MPFR definitions:
>>> -- USING MPFR_VERSION = '3.1.1'
>>> -- Boost include: /usr/local/include
>>> -- Boost libraries: /usr/local/lib/libboost_thread.so
>>> -- Boost definitions:
>>> -- USING BOOST_VERSION = '1.51.0'
>>> -- Library config detected: Qt3
>>> -- CGAL_Qt3 needs Qt3, cannot be configured.
>>> -- Library config detected: Qt4
>>> -- USING QT4_VERSION = '4.8.1'
>>> -- OpenGL include: /usr/include
>>> -- OpenGL libraries:
>>>
>>> /usr/lib/x86_64-linux-gnu/libGLU.so;/usr/lib/x86_64-linux-gnu/libGL.so;/usr/lib/x86_64-linux-gnu/libSM.so;/usr/lib/x86_64-linux-gnu/libICE.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
>>> -- OpenGL definitions:
>>> -- Qt4 include: /usr/include/qt4
>>> -- Qt4 libraries:
>>>
>>> /usr/lib/x86_64-linux-gnu/libQtOpenGL.so;/usr/lib/x86_64-linux-gnu/libQtGui.so;/usr/lib/x86_64-linux-gnu/libQtCore.so
>>> -- Qt4 definitions:
>>> -- moc executable: /usr/bin/moc-qt4
>>> -- uic executable: /usr/bin/uic-qt4
>>> -- Library config detected: ImageIO
>>> -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
>>> -- OpenGL include: /usr/include
>>> -- OpenGL libraries:
>>>
>>> /usr/lib/x86_64-linux-gnu/libGLU.so;/usr/lib/x86_64-linux-gnu/libGL.so;/usr/lib/x86_64-linux-gnu/libSM.so;/usr/lib/x86_64-linux-gnu/libICE.so;/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
>>> -- NOTICE: CGAL_ImageIO needs ZLib to read compressed files. That
>>> feature will not be activated.
>>> -- Library config detected: Core
>>> -- Library configs detected: CGAL;Core;ImageIO;Qt3;Qt4
>>> -- Configuring done
>>> -- Generating done
>>> -- Build files have been written to: /home/amir/workspace/CGAL-4.0.2
>>>
>>> the building went ok, but I get the following assertion when running:
>>>
>>> CGAL_assertion_msg(-CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1),
>>> "Wrong rounding: did you forget the
>>> -frounding-math option if you use GCC (or -fp-model strict for
>>> Intel)?");
>>>
>>> It seems as if this option was added, so what is the problem?
>>>
>>> Thanks,
>>> Amir.
>>>
>>
>>
>> --
>> You are currently subscribed to cgal-discuss.
>> To unsubscribe or access the archives, go to
>> https://sympa.inria.fr/sympa/info/cgal-discuss
>>
>>
- [cgal-discuss] -frounding-math option, Amir Vaxman, 10/02/2012
- Re: [cgal-discuss] -frounding-math option, Laurent Rineau (CGAL/GeometryFactory), 10/02/2012
- Re: [cgal-discuss] -frounding-math option, Sebastien Loriot (GeometryFactory), 10/02/2012
- Re: [cgal-discuss] -frounding-math option, Amir Vaxman, 10/02/2012
- Re: [cgal-discuss] -frounding-math option, Amir Vaxman, 10/02/2012
- Re: [cgal-discuss] -frounding-math option, Amir Vaxman, 10/02/2012
Archive powered by MHonArc 2.6.18.