Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?
- Date: Wed, 20 Oct 2010 11:27:26 +0200
I can see you have a 64bits machine. Mine is 32.
I try on a 64bits machine and still you code ran without
assertion failure.
Did you used cmake to build CGAL?
can you try using cmake to generate the makefile to compile
your example (you can use the script cgal_create_cmake_script to
generate a CMakeLists.txt)
S.
Sebastian Kapfer wrote:
Hello!
On Wed, Oct 20, 2010 at 10:12:06AM +0200, Sebastien Loriot (GeometryFactory)
wrote:
Hello,
I tried to run it with CGAL 3.7beta1 and CGAL-3.7 and your code
is working without assertion failure on my machine in both cases.
Oops?
Compiler is g++ (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
(from Ubuntu 8.04 LTS)
Boost libraries (1.40) and CGAL (3.7 final) are self-compiled.
I'm compiling the demo with the command
g++ -frounding-math -O3 distance_browsing.cpp -lCGAL
Optimization level seems not to be the issue, -O0 triggers the assertion
too. I added -frounding-math since CGAL notified me to do so. Any
other flags one should use?
Related stuff:
ii g++-4.2 4.2.4-1ubuntu4
ii libgmp3c2 2:4.2.2+dfsg-1ubuntu2
ii libgmpxx4ldbl 2:4.2.2+dfsg-1ubuntu2
ii libmpfr1ldbl 2.3.1.dfsg.1-2ubuntu1
Current versions are being used:
$ g++ -frounding-math -O3 distance_browsing.cpp -lCGAL -dynamic
$ ldd a.out linux-vdso.so.1 => (0x00007fff98dff000)
libCGAL.so.6 => /opt/cgal/3.7_boost1.40/lib/libCGAL.so.6
(0x00007fe39f7ec000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fe39f4e1000)
libm.so.6 => /lib/libm.so.6 (0x00007fe39f260000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fe39f052000)
libc.so.6 => /lib/libc.so.6 (0x00007fe39ecf0000)
libgmpxx.so.4 => /usr/lib/libgmpxx.so.4 (0x00007fe39eaec000)
libmpfr.so.1 => /usr/lib/libmpfr.so.1 (0x00007fe39e8ab000)
libgmp.so.3 => /usr/lib/libgmp.so.3 (0x00007fe39e66c000)
libboost_thread.so.1.40.0 =>
/opt/boost/1_40_0/lib/libboost_thread.so.1.40.0 (0x00007fe39e457000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe39fa1b000)
librt.so.1 => /lib/librt.so.1 (0x00007fe39e24e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe39e032000)
Thank you for any pointers!
- [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastian Kapfer, 10/19/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastien Loriot (GeometryFactory), 10/20/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastian Kapfer, 10/20/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastien Loriot (GeometryFactory), 10/20/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastian Kapfer, 10/20/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Laurent Rineau (GeometryFactory), 10/20/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastian Kapfer, 10/20/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastien Loriot (GeometryFactory), 10/21/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Laurent Rineau (GeometryFactory), 10/21/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastian Kapfer, 10/21/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastien Loriot (GeometryFactory), 10/22/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastien Loriot (GeometryFactory), 10/22/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastian Kapfer, 10/22/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastien Loriot (GeometryFactory), 10/25/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastian Kapfer, 10/20/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Laurent Rineau (GeometryFactory), 10/20/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastian Kapfer, 10/20/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastien Loriot (GeometryFactory), 10/20/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastian Kapfer, 10/20/2010
- Re: [cgal-discuss] Spatial Searching: How to cope with duplicate points?, Sebastien Loriot (GeometryFactory), 10/20/2010
Archive powered by MHonArc 2.6.16.