Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Polyhedron demo problem

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Polyhedron demo problem


Chronological Thread 
  • From: Laurent Saboret <>
  • To:
  • Subject: Re: [cgal-discuss] Polyhedron demo problem
  • Date: Mon, 18 May 2009 13:30:32 +0200

Hi Martial,

The compiler call that issues an error about dgelss links with
/usr/local/lib/liblapack.a /usr/local/lib/libf77blas.a
/usr/local/lib/libcblas.a,
which seems correct.

According to the lapack and blas libraries name, you are linking with ATLAS.
Please check the version of ATLAS that you are linking with.
The regular ATLAS library contains only a subset of LAPACK API in liblapack.a, thus may miss dgelss. As you are using TAUCS, my recommendation is to download TAUCS from www.cgal.org/download.html, which contains a full LAPACK library on Linux (and fixes for TAUCS).

Best regards,
--
Laurent Saboret
INRIA Sophia-Antipolis


Martial TOLA (CNRS-Liris) a écrit :
result of cmake-gui:
--------------------

The C compiler identification is GNU
The CXX compiler identification is GNU
CGAL_MAJOR_VERSION=3
CGAL_MINOR_VERSION=4
CGAL_BUILD_VERSION=
CGAL_SONAME_VERSION=3
CGAL_SOVERSION =3.0.0
CGAL_REFERENCE_CACHE_DIR=
Building shared libraries
Targetting Unix Makefiles
Using /usr/bin/c++ compiler.
USING CMake version: 2.6.2
System: Linux
USING GCC_VERSION = '4.3.3'
Using gcc version 4 or later. Adding -frounding-math
Build type: Release
USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG'
USING LDFLAGS = ' '
GMPXX include: /usr/include
GMPXX libraries: /usr/lib/libgmpxx.so
GMP include: /usr/include
GMP libraries: /usr/lib/libgmp.so
GMP definitions:
USING GMP_VERSION = '4.2.4'
MPFR include: /usr/include
MPFR libraries: /usr/lib/libmpfr.so
MPFR definitions: USING MPFR_VERSION = '2.4.0'
Boost include: /usr/include
Boost libraries: /usr/lib/libboost_thread-gcc43-mt-1_35.so
Boost definitions:
USING BOOST_VERSION = '1.35.0'
CMAKE_INSTALL_PREFIX=/usr/local
OpenGL include: /usr/include
OpenGL libraries: /usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so
USING ZLIB_VERSION = '1.2.3.3'
ZLib include: /usr/include
ZLib libraries: /usr/lib/libz.so
USING QT4_VERSION = '4.5.1'
OpenGL include: /usr/include
OpenGL libraries: /usr/lib/libGLU.so;/usr/lib/libGL.so;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so
OpenGL definitions:
Qt4 include: /home/user/qtsdk-2009.02/qt/include
Qt4 libraries: optimized;/home/user/qtsdk-2009.02/qt/lib/libQtOpenGL.so;debug;/home/user/qtsdk-2009.02/qt/lib/libQtOpenGL.so;-lGLU -lGL;optimized;/home/user/qtsdk-2009.02/qt/lib/libQtGui.so;debug;/home/user/qtsdk-2009.02/qt/lib/libQtGui.so;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libXrender.so;/usr/lib/libfreetype.so;/usr/lib/libfontconfig.so;/usr/lib/libXext.so;/usr/lib/libX11.so;/usr/lib/libm.so;optimized;/home/user/qtsdk-2009.02/qt/lib/libQtCore.so;debug;/home/user/qtsdk-2009.02/qt/lib/libQtCore.so;/usr/lib/librt.so;-lpthread;-ldl
Qt4 definitions: -DQT_DLL
moc executable: /home/user/qtsdk-2009.02/qt/bin/moc
uic executable: /home/user/qtsdk-2009.02/qt/bin/uic
Configuring /home/user/Bureau/CGAL-3.4/examples/Algebraic_foundations example
Configuring /home/user/Bureau/CGAL-3.4/examples/Alpha_shapes_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Alpha_shapes_3 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Apollonius_graph_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Approximate_min_ellipsoid_d example
Configuring /home/user/Bureau/CGAL-3.4/examples/Arrangement_on_surface_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/BGL_arrangement_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/BGL_polyhedron_3 example
Configuring /home/user/Bureau/CGAL-3.4/examples/BGL_triangulation_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Boolean_set_operations_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Box_intersection_d example
Configuring /home/user/Bureau/CGAL-3.4/examples/CGALimageIO example
Configuring /home/user/Bureau/CGAL-3.4/examples/Circular_kernel_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Circular_kernel_3 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Circulator example
Configuring /home/user/Bureau/CGAL-3.4/examples/Convex_hull_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Convex_hull_3 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Core example
Configuring /home/user/Bureau/CGAL-3.4/examples/Envelope_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Envelope_3 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Filtered_kernel example
Configuring /home/user/Bureau/CGAL-3.4/examples/Generator example
Configuring /home/user/Bureau/CGAL-3.4/examples/HalfedgeDS example
Configuring /home/user/Bureau/CGAL-3.4/examples/Interpolation example
Configuring /home/user/Bureau/CGAL-3.4/examples/Interval_skip_list example
Configuring /home/user/Bureau/CGAL-3.4/examples/Jet_fitting_3 example
LAPACK include: LAPACK definitions:
LAPACK libraries: /usr/local/lib/liblapack.a
LAPACK link flags: BLAS include: BLAS definitions:
BLAS libraries: /usr/local/lib/libf77blas.a;/usr/local/lib/libcblas.a
BLAS link flags: Boost.ProgramOptions library: /usr/lib/libboost_program_options-gcc43-mt-1_35.so
Configuring /home/user/Bureau/CGAL-3.4/examples/Kernel_23 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Kinetic_data_structures example
Configuring /home/user/Bureau/CGAL-3.4/examples/Kinetic_framework example
Configuring /home/user/Bureau/CGAL-3.4/examples/Largest_empty_rect_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Matrix_search example
Configuring /home/user/Bureau/CGAL-3.4/examples/Mesh_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Min_annulus_d example
Configuring /home/user/Bureau/CGAL-3.4/examples/Min_circle_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Min_ellipse_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Min_quadrilateral_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Min_sphere_d example
Configuring /home/user/Bureau/CGAL-3.4/examples/Min_sphere_of_spheres_d example
Configuring /home/user/Bureau/CGAL-3.4/examples/Minkowski_sum_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Modular_arithmetic example
Configuring /home/user/Bureau/CGAL-3.4/examples/Nef_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Nef_3 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Nef_S2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/PDB example
Configuring /home/user/Bureau/CGAL-3.4/examples/Partition_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Point_set_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Polygon example
Configuring /home/user/Bureau/CGAL-3.4/examples/Polyhedron example
Configuring /home/user/Bureau/CGAL-3.4/examples/Polyhedron_IO example
Configuring /home/user/Bureau/CGAL-3.4/examples/Polynomial example
Configuring /home/user/Bureau/CGAL-3.4/examples/Polynomial_kernel example
Configuring /home/user/Bureau/CGAL-3.4/examples/Polytope_distance_d example
Configuring /home/user/Bureau/CGAL-3.4/examples/Principal_component_analysis example
Configuring /home/user/Bureau/CGAL-3.4/examples/Profiling_tools example
Configuring /home/user/Bureau/CGAL-3.4/examples/QP_solver example
Configuring /home/user/Bureau/CGAL-3.4/examples/RangeSegmentTrees example
Configuring /home/user/Bureau/CGAL-3.4/examples/Ridges_3 example
LAPACK include: LAPACK definitions:
LAPACK libraries: /usr/local/lib/liblapack.a
LAPACK link flags: BLAS include: BLAS definitions:
BLAS libraries: /usr/local/lib/libf77blas.a;/usr/local/lib/libcblas.a
BLAS link flags: Boost.ProgramOptions library: /usr/lib/libboost_program_options-gcc43-mt-1_35.so
Configuring /home/user/Bureau/CGAL-3.4/examples/STL_Extension example
Configuring /home/user/Bureau/CGAL-3.4/examples/Segment_Delaunay_graph_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Skin_surface_3 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Snap_rounding_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Spatial_searching example
Configuring /home/user/Bureau/CGAL-3.4/examples/Spatial_sorting example
Configuring /home/user/Bureau/CGAL-3.4/examples/Straight_skeleton_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Stream_lines_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Subdivision_method_3 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Surface_mesh_parameterization example
USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG -fno-strict-aliasing'
USING EXEFLAGS = ' '
Boost.ProgramOptions library: /usr/lib/libboost_program_options-gcc43-mt-1_35.so
TAUCS include: /usr/local/include
TAUCS definitions:
TAUCS libraries: /usr/local/lib/libtaucs.a;/usr/local/lib/libmetis.a
LAPACK include: LAPACK definitions:
LAPACK libraries: /usr/local/lib/liblapack.a
LAPACK link flags: BLAS include: BLAS definitions:
BLAS libraries: /usr/local/lib/libf77blas.a;/usr/local/lib/libcblas.a
BLAS link flags: Configuring /home/user/Bureau/CGAL-3.4/examples/Surface_mesh_simplification example
Configuring /home/user/Bureau/CGAL-3.4/examples/Surface_mesher example
Configuring /home/user/Bureau/CGAL-3.4/examples/Triangulation_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Triangulation_3 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Voronoi_diagram_2 example
Configuring /home/user/Bureau/CGAL-3.4/examples/Width_3 example
Configuring /home/user/Bureau/CGAL-3.4/demo/Alpha_shapes_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Alpha_shapes_3 demo
Found QGLViewer: /usr/lib/libQGLViewer.so
Configuring /home/user/Bureau/CGAL-3.4/demo/Apollonius_graph_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Arrangement_on_surface_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Boolean_set_operations_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Circular_kernel_2 demo
Configuring /home/user/Bureau/CGAL-3.4/demo/Circular_kernel_3 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires Qt3 and the CGAL Qt3 library, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Convex_hull_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Convex_hull_3 demo
Configuring /home/user/Bureau/CGAL-3.4/demo/Convex_hull_d demo
Configuring /home/user/Bureau/CGAL-3.4/demo/Envelope_3 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Generator demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Geomview demo
Configuring /home/user/Bureau/CGAL-3.4/demo/GraphicsView demo
Configuring /home/user/Bureau/CGAL-3.4/demo/Interpolation demo
Configuring /home/user/Bureau/CGAL-3.4/demo/Kinetic_data_structures demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires Qt3 and the CGAL Qt3 library, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Largest_empty_rect_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Matrix_search demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Mesh_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Min_circle_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Min_ellipse_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Min_quadrilateral_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Nef_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Nef_3 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Nef_S2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/PDB demo
Configuring /home/user/Bureau/CGAL-3.4/demo/Partition_2 demo
Configuring /home/user/Bureau/CGAL-3.4/demo/Polygon demo
Configuring /home/user/Bureau/CGAL-3.4/demo/Polyhedron demo
Found QGLViewer: /usr/lib/libQGLViewer.so
TAUCS include: /usr/local/include
TAUCS definitions:
TAUCS libraries: /usr/local/lib/libtaucs.a;/usr/local/lib/libmetis.a
LAPACK include: LAPACK definitions:
LAPACK libraries: /usr/local/lib/liblapack.a
LAPACK link flags: BLAS include: BLAS definitions:
BLAS libraries: /usr/local/lib/libf77blas.a;/usr/local/lib/libcblas.a
BLAS link flags: Configuring /home/user/Bureau/CGAL-3.4/demo/Polyhedron_IO demo
Configuring /home/user/Bureau/CGAL-3.4/demo/Robustness demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Segment_Delaunay_graph_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL,, Core, and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Snap_rounding_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Spatial_searching demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Straight_skeleton_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Stream_lines_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL, Qt3, and OpenGL, and will not be compiled.
Configuring /home/user/Bureau/CGAL-3.4/demo/Surface_mesher demo
Found QGLViewer: /usr/lib/libQGLViewer.so
Configuring /home/user/Bureau/CGAL-3.4/demo/Triangulation_2 demo
Configuring /home/user/Bureau/CGAL-3.4/demo/Triangulation_3 demo
Configuring /home/user/Bureau/CGAL-3.4/demo/Voronoi_diagram_2 demo
NOTICE: The CGAL_Qt3 library was not configured. Please configure CGAL using WITH_CGAL_Qt3=ON.
NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
Configuring done
Generating done

make cgal3.4 : OK

make Polyhedron :

user@ubuntu904desktop:~/Bureau/CGAL-3.4/build/demo/Polyhedron$
make
cd /home/user/Bureau/CGAL-3.4/build && /usr/bin/cmake -H/home/user/Bureau/CGAL-3.4 -B/home/user/Bureau/CGAL-3.4/build --check-build-system CMakeFiles/Makefile.cmake 0
cd /home/user/Bureau/CGAL-3.4/build && /usr/bin/cmake -E cmake_progress_start /home/user/Bureau/CGAL-3.4/build/CMakeFiles /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron/CMakeFiles/progress.make
cd /home/user/Bureau/CGAL-3.4/build && make -f CMakeFiles/Makefile2 demo/Polyhedron/all
make[1]: entrant dans le répertoire « /home/user/Bureau/CGAL-3.4/build »
make -f demo/Polyhedron/CMakeFiles/Polyhedron_3.dir/build.make demo/Polyhedron/CMakeFiles/Polyhedron_3.dir/depend
make[2]: entrant dans le répertoire « /home/user/Bureau/CGAL-3.4/build »
/usr/bin/cmake -E cmake_progress_report /home/user/Bureau/CGAL-3.4/build/CMakeFiles
[ 0%] Generating qrc_Polyhedron_3.cxx
cd /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron && /home/user/qtsdk-2009.02/qt/bin/rcc -name Polyhedron_3 -o /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron/qrc_Polyhedron_3.cxx /home/user/Bureau/CGAL-3.4/demo/Polyhedron/Polyhedron_3.qrc
/usr/bin/cmake -E cmake_progress_report /home/user/Bureau/CGAL-3.4/build/CMakeFiles
[ 0%] Generating MainWindow_moc.cpp
cd /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron && /home/user/qtsdk-2009.02/qt/bin/moc -I/home/user/Bureau/CGAL-3.4/demo/Polyhedron/./include -I/home/user/Bureau/CGAL-3.4/build/include -I/home/user/Bureau/CGAL-3.4/include -I/home/user/Bureau/CGAL-3.4/demo/Polyhedron/. -I/home/user/Bureau/CGAL-3.4/build/demo/Polyhedron -I/usr/include -I/home/user/qtsdk-2009.02/qt/include -I/home/user/qtsdk-2009.02/qt/include/QtOpenGL -I/home/user/qtsdk-2009.02/qt/include/QtScript -I/home/user/qtsdk-2009.02/qt/include/QtGui -I/home/user/qtsdk-2009.02/qt/include/QtXml -I/home/user/qtsdk-2009.02/qt/include/QtCore -I/usr/local/include -DQT_DLL -DQT_DLL -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DCGAL_USE_TAUCS -DCGAL_TAUCS_ENABLED -o MainWindow_moc.cpp /home/user/Bureau/CGAL-3.4/demo/Polyhedron/MainWindow.h
/usr/bin/cmake -E cmake_progress_report /home/user/Bureau/CGAL-3.4/build/CMakeFiles
[ 0%] Generating Scene_moc.cpp
cd /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron && /home/user/qtsdk-2009.02/qt/bin/moc -I/home/user/Bureau/CGAL-3.4/demo/Polyhedron/./include -I/home/user/Bureau/CGAL-3.4/build/include -I/home/user/Bureau/CGAL-3.4/include -I/home/user/Bureau/CGAL-3.4/demo/Polyhedron/. -I/home/user/Bureau/CGAL-3.4/build/demo/Polyhedron -I/usr/include -I/home/user/qtsdk-2009.02/qt/include -I/home/user/qtsdk-2009.02/qt/include/QtOpenGL -I/home/user/qtsdk-2009.02/qt/include/QtScript -I/home/user/qtsdk-2009.02/qt/include/QtGui -I/home/user/qtsdk-2009.02/qt/include/QtXml -I/home/user/qtsdk-2009.02/qt/include/QtCore -I/usr/local/include -DQT_DLL -DQT_DLL -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DCGAL_USE_TAUCS -DCGAL_TAUCS_ENABLED -o Scene_moc.cpp /home/user/Bureau/CGAL-3.4/demo/Polyhedron/Scene.h
/usr/bin/cmake -E cmake_progress_report /home/user/Bureau/CGAL-3.4/build/CMakeFiles 90
[100%] Generating Viewer_moc.cpp
cd /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron && /home/user/qtsdk-2009.02/qt/bin/moc -I/home/user/Bureau/CGAL-3.4/demo/Polyhedron/./include -I/home/user/Bureau/CGAL-3.4/build/include -I/home/user/Bureau/CGAL-3.4/include -I/home/user/Bureau/CGAL-3.4/demo/Polyhedron/. -I/home/user/Bureau/CGAL-3.4/build/demo/Polyhedron -I/usr/include -I/home/user/qtsdk-2009.02/qt/include -I/home/user/qtsdk-2009.02/qt/include/QtOpenGL -I/home/user/qtsdk-2009.02/qt/include/QtScript -I/home/user/qtsdk-2009.02/qt/include/QtGui -I/home/user/qtsdk-2009.02/qt/include/QtXml -I/home/user/qtsdk-2009.02/qt/include/QtCore -I/usr/local/include -DQT_DLL -DQT_DLL -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DCGAL_USE_TAUCS -DCGAL_TAUCS_ENABLED -o Viewer_moc.cpp /home/user/Bureau/CGAL-3.4/demo/Polyhedron/Viewer.h
/usr/bin/cmake -E cmake_progress_report /home/user/Bureau/CGAL-3.4/build/CMakeFiles
[100%] Generating ui_MainWindow.h
cd /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron && /home/user/qtsdk-2009.02/qt/bin/uic -o /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron/ui_MainWindow.h /home/user/Bureau/CGAL-3.4/demo/Polyhedron/MainWindow.ui
cd /home/user/Bureau/CGAL-3.4/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/user/Bureau/CGAL-3.4 /home/user/Bureau/CGAL-3.4/demo/Polyhedron /home/user/Bureau/CGAL-3.4/build /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron/CMakeFiles/Polyhedron_3.dir/DependInfo.cmake --color=
Scanning dependencies of target Polyhedron_3
make[2]: quittant le répertoire « /home/user/Bureau/CGAL-3.4/build »
make -f demo/Polyhedron/CMakeFiles/Polyhedron_3.dir/build.make demo/Polyhedron/CMakeFiles/Polyhedron_3.dir/build
make[2]: entrant dans le répertoire « /home/user/Bureau/CGAL-3.4/build »
/usr/bin/cmake -E cmake_progress_report /home/user/Bureau/CGAL-3.4/build/CMakeFiles
[100%] Building CXX object demo/Polyhedron/CMakeFiles/Polyhedron_3.dir/Polyhedron_3.o
cd /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron && /usr/bin/c++ -DQT_DLL -DQT_DLL -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DCGAL_USE_TAUCS -DCGAL_TAUCS_ENABLED -DQT_NO_DEBUG -frounding-math -O3 -DNDEBUG -I/home/user/Bureau/CGAL-3.4/demo/Polyhedron/./include -I/home/user/Bureau/CGAL-3.4/build/include -I/home/user/Bureau/CGAL-3.4/include -I/home/user/Bureau/CGAL-3.4/demo/Polyhedron/. -I/home/user/Bureau/CGAL-3.4/build/demo/Polyhedron -I/home/user/qtsdk-2009.02/qt/include -I/home/user/qtsdk-2009.02/qt/include/QtOpenGL -I/home/user/qtsdk-2009.02/qt/include/QtScript -I/home/user/qtsdk-2009.02/qt/include/QtGui -I/home/user/qtsdk-2009.02/qt/include/QtXml -I/home/user/qtsdk-2009.02/qt/include/QtCore -I/usr/local/include -o CMakeFiles/Polyhedron_3.dir/Polyhedron_3.o -c /home/user/Bureau/CGAL-3.4/demo/Polyhedron/Polyhedron_3.cpp
Dans le fichier inclus à partir de /usr/include/c++/4.3/ext/hash_set:64,
à partir de /usr/include/boost/graph/adjacency_list.hpp:22,
à partir de /home/user/Bureau/CGAL-3.4/include/CGAL/Surface_mesh_simplification/Detail/Edge_collapse.h:28,
à partir de /home/user/Bureau/CGAL-3.4/include/CGAL/Surface_mesh_simplification/edge_collapse.h:24,
à partir de /home/user/Bureau/CGAL-3.4/demo/Polyhedron/MainWindow_simplify.cpp:10,
à partir de /home/user/Bureau/CGAL-3.4/demo/Polyhedron/Polyhedron_3.cpp:57:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: attention : #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
/usr/bin/cmake -E cmake_progress_report /home/user/Bureau/CGAL-3.4/build/CMakeFiles
[100%] Building CXX object demo/Polyhedron/CMakeFiles/Polyhedron_3.dir/qrc_Polyhedron_3.o
cd /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron && /usr/bin/c++ -DQT_DLL -DQT_DLL -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DCGAL_USE_TAUCS -DCGAL_TAUCS_ENABLED -DQT_NO_DEBUG -frounding-math -O3 -DNDEBUG -I/home/user/Bureau/CGAL-3.4/demo/Polyhedron/./include -I/home/user/Bureau/CGAL-3.4/build/include -I/home/user/Bureau/CGAL-3.4/include -I/home/user/Bureau/CGAL-3.4/demo/Polyhedron/. -I/home/user/Bureau/CGAL-3.4/build/demo/Polyhedron -I/home/user/qtsdk-2009.02/qt/include -I/home/user/qtsdk-2009.02/qt/include/QtOpenGL -I/home/user/qtsdk-2009.02/qt/include/QtScript -I/home/user/qtsdk-2009.02/qt/include/QtGui -I/home/user/qtsdk-2009.02/qt/include/QtXml -I/home/user/qtsdk-2009.02/qt/include/QtCore -I/usr/local/include -o CMakeFiles/Polyhedron_3.dir/qrc_Polyhedron_3.o -c /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron/qrc_Polyhedron_3.cxx
Linking CXX executable Polyhedron_3
cd /home/user/Bureau/CGAL-3.4/build/demo/Polyhedron && /usr/bin/cmake -E cmake_link_script CMakeFiles/Polyhedron_3.dir/link.txt --verbose=1
/usr/bin/c++ -frounding-math -O3 -DNDEBUG CMakeFiles/Polyhedron_3.dir/Polyhedron_3.o CMakeFiles/Polyhedron_3.dir/qrc_Polyhedron_3.o -o Polyhedron_3 -rdynamic -L/home/user/Bureau/CGAL-3.4/build/lib -lCGAL_Qt4 -lCGAL -lgmpxx -lmpfr -lgmp -lboost_thread-gcc43-mt-1_35 /home/user/qtsdk-2009.02/qt/lib/libQtOpenGL.so -lGLU -lGL /home/user/qtsdk-2009.02/qt/lib/libQtGui.so -lSM -lICE -lXrender -lfreetype -lfontconfig -lXext -lX11 -lm /home/user/qtsdk-2009.02/qt/lib/libQtCore.so -lrt -lpthread -ldl -lGLU -lGL -lSM -lICE -lX11 -lXext /usr/local/lib/libtaucs.a /usr/local/lib/libmetis.a /usr/local/lib/liblapack.a /usr/local/lib/libf77blas.a /usr/local/lib/libcblas.a /home/user/qtsdk-2009.02/qt/lib/libQtOpenGL.so -lGLU -lGL /home/user/qtsdk-2009.02/qt/lib/libQtScript.so /home/user/qtsdk-2009.02/qt/lib/libQtGui.so -lSM -lICE -lXrender -lfreetype -lfontconfig -lXext -lX11 -lm /home/user/qtsdk-2009.02/qt/lib/libQtXml.so /home/user/qtsdk-2009.02/qt/lib/libQtCore.so -lrt -lpthread -ldl -lCGAL_Qt4 -lCGAL -lgmpxx -lmpfr -lgmp -lboost_thread-gcc43-mt-1_35 /home/user/qtsdk-2009.02/qt/lib/libQtOpenGL.so -lGLU -lGL /home/user/qtsdk-2009.02/qt/lib/libQtGui.so -lSM -lICE -lXrender -lfreetype -lfontconfig -lXext -lX11 -lm /home/user/qtsdk-2009.02/qt/lib/libQtCore.so -lrt -lpthread -ldl -lGLU -lGL -lSM -lICE -lX11 -lXext -lQGLViewer -lGL -lGLU /usr/local/lib/libtaucs.a /usr/local/lib/libmetis.a -lCGAL_Qt4 -lCGAL -lgmpxx -lmpfr -lgmp -lboost_thread-gcc43-mt-1_35 /home/user/qtsdk-2009.02/qt/lib/libQtOpenGL.so -lGLU -lGL /home/user/qtsdk-2009.02/qt/lib/libQtGui.so -lSM -lICE -lXrender -lfreetype -lfontconfig -lXext -lX11 -lm /home/user/qtsdk-2009.02/qt/lib/libQtCore.so -lrt -lpthread -ldl /usr/local/lib/liblapack.a /usr/local/lib/libf77blas.a /usr/local/lib/libcblas.a /home/user/qtsdk-2009.02/qt/lib/libQtScript.so /home/user/qtsdk-2009.02/qt/lib/libQtXml.so -lQGLViewer -Wl,-rpath,/home/user/Bureau/CGAL-3.4/build/lib:/home/user/qtsdk-2009.02/qt/lib
CMakeFiles/Polyhedron_3.dir/Polyhedron_3.o: In function `CGAL::Monge_via_jet_fitting<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> >, CGAL::Cartesian<double>, CGAL::Lapack_svd>::solve_linear_system(CGAL::Lapack_matrix&, CGAL::Lapack_vector&)':
Polyhedron_3.cpp:(.text._ZN4CGAL21Monge_via_jet_fittingINS_15Filtered_kernelINS_16Simple_cartesianIdEEEENS_9CartesianIdEENS_10Lapack_svdEE19solve_linear_systemERNS_13Lapack_matrixERNS_13Lapack_vectorE[CGAL::Monge_via_jet_fitting<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> >, CGAL::Cartesian<double>, CGAL::Lapack_svd>::solve_linear_system(CGAL::Lapack_matrix&, CGAL::Lapack_vector&)]+0x77): undefined reference to `dgelss'
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [demo/Polyhedron/Polyhedron_3] Erreur 1
make[2]: quittant le répertoire « /home/user/Bureau/CGAL-3.4/build »
make[1]: *** [demo/Polyhedron/CMakeFiles/Polyhedron_3.dir/all] Erreur 2
make[1]: quittant le répertoire « /home/user/Bureau/CGAL-3.4/build »
make: *** [all] Erreur 2
user@ubuntu904desktop:~/Bureau/CGAL-3.4/build/demo/Polyhedron$





a écrit :
Hi Martial,

Could you please delete CMakeCache.txt, run cmake and make in Polyhedron
demo folder, then post the output of cmake and make to this mailing list ?

Regards,
Laurent Saboret
INRIA Sophia Antipolis


I use BLAS (blas, f77blas, cblas), LAPACK, and TAUCS so it's not that.

Laurent Rineau (GeometryFactory) a écrit :
Le jeudi 14 mai 2009 16:59:30, Martial TOLA (CNRS-Liris) a écrit :

Hello

I'm under Ubuntu 9.04 with cmake 2.6patch2 and I have exactly the same
problem:

undefined reference to `dgelss'.


I have tried the original CMakeLists.txt and this one but it's the same
result.

I have compiled taucs from taucs_full.tgz (3.4) and it's ok.

I have exactly the same error if I use :
- lapack from /usr/local/lib (result of the taucs compilation)
- lapack from /usr/lib
- lapack from /usr/lib/atlas

Do you have an idea for this problem ???

I think that error (missing dgelss) is related to BLAS. You need BLAS.






Archive powered by MHonArc 2.6.16.

Top of Page