Skip to Content.
Sympa Menu

cgal-discuss - Re: Re: [cgal-discuss] install cgal 3.4 devian lenny

Subject: CGAL users discussion list

List archive

Re: Re: [cgal-discuss] install cgal 3.4 devian lenny


Chronological Thread 
  • From: <>
  • To:
  • Subject: Re: Re: [cgal-discuss] install cgal 3.4 devian lenny
  • Date: Fri, 6 Mar 2009 09:08:44 +0100 (CET)

Hi Joachim,

I used your cmake -DCGAL_CXX_FLAGS="-frounding-math" .
look what happened:


vallinpcts02:/usr/share/doc/libcgal-demo/examples# rm CMakeCache.txt

vallinpcts02:/usr/share/doc/libcgal-demo/examples# cmake
-DCGAL_CXX_FLAGS="-frounding-math" .

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring /usr/share/doc/libcgal-demo/examples/Algebraic_foundations
example
-- Configuring /usr/share/doc/libcgal-demo/examples/Alpha_shapes_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Alpha_shapes_3 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Apollonius_graph_2
example
-- Configuring
/usr/share/doc/libcgal-demo/examples/Approximate_min_ellipsoid_d example
-- Configuring /usr/share/doc/libcgal-demo/examples/Arrangement_on_surface_2
example
-- Configuring /usr/share/doc/libcgal-demo/examples/BGL_arrangement_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/BGL_polyhedron_3 example
-- Configuring /usr/share/doc/libcgal-demo/examples/BGL_triangulation_2
example
-- Configuring /usr/share/doc/libcgal-demo/examples/Boolean_set_operations_2
example
-- Configuring /usr/share/doc/libcgal-demo/examples/Box_intersection_d
example
-- Configuring /usr/share/doc/libcgal-demo/examples/CGALimageIO example
-- Configuring /usr/share/doc/libcgal-demo/examples/Circular_kernel_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Circular_kernel_3 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Circulator example
-- Configuring /usr/share/doc/libcgal-demo/examples/Convex_hull_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Convex_hull_3 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Core example
-- Configuring /usr/share/doc/libcgal-demo/examples/Envelope_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Envelope_3 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Filtered_kernel example
-- Configuring /usr/share/doc/libcgal-demo/examples/Generator example
-- Configuring /usr/share/doc/libcgal-demo/examples/HalfedgeDS example
-- Configuring /usr/share/doc/libcgal-demo/examples/Interpolation example
-- Configuring /usr/share/doc/libcgal-demo/examples/Interval_skip_list
example
-- Configuring /usr/share/doc/libcgal-demo/examples/Jet_fitting_3 example
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- A library with BLAS API found.
-- Looking for cheev_
-- Looking for cheev_ - found
-- A library with LAPACK API found.
-- LAPACK include:
-- LAPACK definitions: -DLAPACK_USE_F2C
-- LAPACK libraries: /usr/lib/liblapack.so
-- LAPACK link flags:
-- BLAS include:
-- BLAS definitions: -DBLAS_USE_F2C
-- BLAS libraries: /usr/lib/libblas.so
-- BLAS link flags:
-- Boost.ProgramOptions library: /usr/lib/libboost_program_options-mt.so
-- Configuring /usr/share/doc/libcgal-demo/examples/Kernel_23 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Kinetic_data_structures
example
-- Configuring /usr/share/doc/libcgal-demo/examples/Kinetic_framework example
-- Configuring /usr/share/doc/libcgal-demo/examples/Largest_empty_rect_2
example
-- Configuring /usr/share/doc/libcgal-demo/examples/Matrix_search example
-- Configuring /usr/share/doc/libcgal-demo/examples/Mesh_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Min_annulus_d example
-- Configuring /usr/share/doc/libcgal-demo/examples/Min_circle_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Min_ellipse_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Min_quadrilateral_2
example
-- Configuring /usr/share/doc/libcgal-demo/examples/Min_sphere_d example
-- Configuring /usr/share/doc/libcgal-demo/examples/Min_sphere_of_spheres_d
example
-- Configuring /usr/share/doc/libcgal-demo/examples/Minkowski_sum_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Modular_arithmetic
example
-- Configuring /usr/share/doc/libcgal-demo/examples/Nef_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Nef_3 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Nef_S2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/PDB example
-- Configuring /usr/share/doc/libcgal-demo/examples/Partition_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Point_set_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Polygon example
-- Configuring /usr/share/doc/libcgal-demo/examples/Polyhedron example
-- Configuring /usr/share/doc/libcgal-demo/examples/Polyhedron_IO example
-- Configuring /usr/share/doc/libcgal-demo/examples/Polynomial example
-- Configuring /usr/share/doc/libcgal-demo/examples/Polynomial_kernel example
-- Configuring /usr/share/doc/libcgal-demo/examples/Polytope_distance_d
example
-- Configuring
/usr/share/doc/libcgal-demo/examples/Principal_component_analysis example
-- Configuring /usr/share/doc/libcgal-demo/examples/Profiling_tools example
-- Configuring /usr/share/doc/libcgal-demo/examples/QP_solver example
-- Configuring /usr/share/doc/libcgal-demo/examples/RangeSegmentTrees example
-- Configuring /usr/share/doc/libcgal-demo/examples/Ridges_3 example
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- LAPACK include:
-- LAPACK definitions: -DLAPACK_USE_F2C
-- LAPACK libraries: /usr/lib/liblapack.so
-- LAPACK link flags:
-- BLAS include:
-- BLAS definitions: -DBLAS_USE_F2C
-- BLAS libraries: /usr/lib/libblas.so
-- BLAS link flags:
-- Boost.ProgramOptions library: /usr/lib/libboost_program_options-mt.so
-- Configuring /usr/share/doc/libcgal-demo/examples/STL_Extension example
-- Configuring /usr/share/doc/libcgal-demo/examples/Segment_Delaunay_graph_2
example
-- Configuring /usr/share/doc/libcgal-demo/examples/Skin_surface_3 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Snap_rounding_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Spatial_searching example
-- Configuring /usr/share/doc/libcgal-demo/examples/Spatial_sorting example
-- Configuring /usr/share/doc/libcgal-demo/examples/Straight_skeleton_2
example
-- Configuring /usr/share/doc/libcgal-demo/examples/Stream_lines_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Subdivision_method_3
example
-- Configuring
/usr/share/doc/libcgal-demo/examples/Surface_mesh_parameterization example
-- USING CXXFLAGS = ' '
-- USING EXEFLAGS = ' '
-- Boost.ProgramOptions library: /usr/lib/libboost_program_options-mt.so
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- TAUCS libraries not found. Please specify libraries location.
-- NOTICE: This directory requires the TAUCS library, and some examples will
not be compiled.
-- Configuring
/usr/share/doc/libcgal-demo/examples/Surface_mesh_simplification example
-- Configuring /usr/share/doc/libcgal-demo/examples/Surface_mesher example
-- Configuring /usr/share/doc/libcgal-demo/examples/Triangulation_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Triangulation_3 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Voronoi_diagram_2 example
-- Configuring /usr/share/doc/libcgal-demo/examples/Width_3 example
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/share/doc/libcgal-demo/examples


vallinpcts02:/usr/share/doc/libcgal-demo/examples# cd Filtered_kernel/


vallinpcts02:/usr/share/doc/libcgal-demo/examples/Filtered_kernel# make


cd /usr/share/doc/libcgal-demo/examples && /usr/bin/cmake
-H/usr/share/doc/libcgal-demo/examples -B/usr/share/doc/libcgal-demo/examples
--check-build-system CMakeFiles/Makefile.cmake 0
cd /usr/share/doc/libcgal-demo/examples && /usr/bin/cmake -E
cmake_progress_start /usr/share/doc/libcgal-demo/examples/CMakeFiles
/usr/share/doc/libcgal-demo/examples/Filtered_kernel/CMakeFiles/progress.make
cd /usr/share/doc/libcgal-demo/examples && make -f CMakeFiles/Makefile2
Filtered_kernel/all
make[1]: Entering directory `/usr/share/doc/libcgal3/examples'
make[2]: Entering directory `/usr/share/doc/libcgal3/examples'
Scanning dependencies of target Filtered_predicate
make[2]: Leaving directory `/usr/share/doc/libcgal3/examples'
[100%] Built target Filtered_predicate
make[1]: Leaving directory `/usr/share/doc/libcgal3/examples'
/usr/bin/cmake -E cmake_progress_start
/usr/share/doc/libcgal-demo/examples/CMakeFiles 0


vallinpcts02:/usr/share/doc/libcgal-demo/examples/Filtered_kernel#
./Filtered_predicate


terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: -CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1)
File: /usr/include/CGAL/Interval_nt.h
Line: 154
Explanation: Wrong rounding: did you forget the -frounding-math option if you
use GCC?
Abgebrochen
vallinpcts02:/usr/share/doc/libcgal-demo/examples/Filtered_kernel#

Still it is not working!



Archive powered by MHonArc 2.6.16.

Top of Page