Subject: CGAL users discussion list
List archive
- From: Iordan Iordanov <>
- To:
- Subject: Re: [cgal-discuss] Error when compiling with LEDA
- Date: Fri, 24 Feb 2017 14:13:47 +0100 (CET)
Hi Sebastien,
I am actually using ccmake for the configuration step, but this is
what I do, yes. I had not tried disabling GMP; I did it now, but there
is no difference in the output, it still fails.
It will perhaps be useful to give you the trace for the first error:
>> make
Scanning dependencies of target CGAL
[ 4%] Building CXX object
Installation/src/CGAL/CMakeFiles/CGAL.dir/all_files.cpp.o
In file included from
/Users/iordanov/Documents/Code/builds/cgal-leda/Installation/src/CGAL/all_files.cpp:1:
In file included from
/Users/iordanov/Documents/Code/cgal-INRIA/Geomview/src/CGAL/Geomview_stream.cpp:27:
In file included from
/Users/iordanov/Documents/Code/cgal-INRIA/Geomview/include/CGAL/IO/Geomview_stream.h:28:
In file included from
/Users/iordanov/Documents/Code/cgal-INRIA/Kernel_23/include/CGAL/basic.h:29:
/Users/iordanov/Documents/Code/cgal-INRIA/Installation/include/CGAL/config.h:251:4:
error: "This compiler does not have a working STL"
# error "This compiler does not have a working STL"
^
Is it possible that the error has to do with Geomview? Or is it
even deeper, in the Kernel_23?
In the attached file you can find the output of the command
>> cmake -DCGAL_DISABLE_GMP=ON -DWITH_LEDA=ON ~/Documents/Code/cgal-INRIA/
Thank you,
--
- Iordan
----- Original Message -----
> From: "Sebastien Loriot (GeometryFactory)"
> <>
> To:
>
> Sent: Friday, 24 February, 2017 12:15:39 PM
> Subject: Re: [cgal-discuss] Error when compiling with LEDA
>
> Hi Iordan,
>
> Here is the command line I use when I want to compile CGAL without
> GMP and using LEDA as replacement. If you want to keep GMP, simply
> remove the first -D.
>
> cmake -DCGAL_DISABLE_GMP=ON -DWITH_LEDA=ON \
> -DLEDA_INCLUDE_DIR=/home/sloriot/leda-libnumbers/incl \
> -DLEDA_LIBRARIES=/home/sloriot/leda-libnumbers/libleda_numbers.so \
> -DCMAKE_BUILD_TYPE=Debug ../..
>
> Did you try something similar?
>
> Sebastien.
>
>
>
> On 02/24/2017 12:03 PM, Iordan Iordanov wrote:
> > Hello everyone,
> >
> > I have a problem when I'm trying to compile CGAL with LEDA.
> > The library and the header files are detected correctly at configuration
> > time, but when I try to build CGAL I get the error:
> > *
> > *
> > *[...]/Installation/include/CGAL/config.h:251:4: **error: **"This
> > compiler does not have a working STL"*
> >
> > # error "This compiler does not have a working STL"
> >
> > * ^*
> >
> >
> > I have tried some solutions that I found online (such as deleting
> > CMakeCache.txt and retrying) but it's still giving me the same error.
> >
> > The compiler I am using is clang-700.1.81 on a MacOS X Yosemite (10.10.5).
> >
> > Thank you for your time,
> > --
> > Iordan Iordanov
> > PhD Candidate, Team GAMBLE
> > https://members.loria.fr/iordan.iordanov
> >
> >
> >
> >
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>
>
== CMake setup ==
== CMake setup (DONE) ==
== Setting paths ==
-- Build CGAL from git-branch: Periodic_4_hyperbolic_triangulation_2-IIordanov
-- Removed not-a-package:
.DS_Store;.gitattributes;.gitignore;.travis.yml;Documentation;Hyperbolic_triangulation_2;INSTALL.md;LICENSE.md;Miscellany;Periodic_4_hyperbolic_triangulation_2;README.md
-- Installation package directory:
/Users/iordanov/Documents/Code/cgal-INRIA/Installation
-- Maintenance package directory:
/Users/iordanov/Documents/Code/cgal-INRIA/Maintenance
-- Core package directory: /Users/iordanov/Documents/Code/cgal-INRIA/Core
-- Packagenames:
AABB_tree;Advancing_front_surface_reconstruction;Algebraic_foundations;Algebraic_kernel_d;Algebraic_kernel_for_circles;Algebraic_kernel_for_spheres;Alpha_shapes_2;Alpha_shapes_3;Apollonius_graph_2;Arithmetic_kernel;Arrangement_on_surface_2;BGL;Barycentric_coordinates_2;Boolean_set_operations_2;Bounding_volumes;Box_intersection_d;CGAL_Core;CGAL_ImageIO;CGAL_ipelets;Cartesian_kernel;Circular_kernel_2;Circular_kernel_3;Circulator;Combinatorial_map;Cone_spanners_2;Convex_decomposition_3;Convex_hull_2;Convex_hull_3;Convex_hull_d;Distance_2;Distance_3;Envelope_2;Envelope_3;Filtered_kernel;Generalized_map;Generator;Geomview;GraphicsView;HalfedgeDS;Hash_map;Homogeneous_kernel;Hyperbolic_triangulation_2_old;Inscribed_areas;Installation;Interpolation;Intersections_2;Intersections_3;Interval_skip_list;Interval_support;Inventor;Jet_fitting_3;Kernel_23;Kernel_d;Kinetic_data_structures;Kinetic_framework;LEDA;Linear_cell_complex;MacOSX;Maintenance;Matrix_search;Mesh_2;Mesh_3;Mesher_level;Minkowski_sum_2;Minkowski_sum_3;Modifier;Modular_arithmetic;Nef_2;Nef_3;Nef_S2;NewKernel_d;Number_types;OpenNL;Operations_on_polyhedra;Optimal_transportation_reconstruction_2;Optimisation_basic;Partition_2;Periodic_2_triangulation_2;Periodic_3_triangulation_3;Point_set_2;Point_set_processing_3;Point_set_shape_detection_3;Poisson_surface_reconstruction_3;Polygon;Polygon_mesh_processing;Polyhedron;Polyhedron_IO;Polyline_simplification_2;Polynomial;Polytope_distance_d;Principal_component_analysis;Principal_component_analysis_LGPL;Profiling_tools;Property_map;QP_solver;Random_numbers;Ridges_3;STL_Extension;Scale_space_reconstruction_3;Scripts;SearchStructures;Segment_Delaunay_graph_2;Segment_Delaunay_graph_Linf_2;Skin_surface_3;Snap_rounding_2;Solver_interface;Spatial_searching;Spatial_sorting;Straight_skeleton_2;Stream_lines_2;Stream_support;Subdivision_method_3;Surface_mesh;Surface_mesh_deformation;Surface_mesh_parameterization;Surface_mesh_segmentation;Surface_mesh_shortest_path;Surface_mesh_simplification;Surface_mesh_skeletonization;Surface_mesher;Sweep_line_2;TDS_2;TDS_3;Testsuite;Three;Triangulation;Triangulation_2;Triangulation_3;Union_find;Visibility_2;Voronoi_diagram_2;wininst
== Setting paths (DONE) ==
== Generate version files ==
-- CGAL_VERSION is 4.10-I-900
-- CGAL_VERSION_NR is 1041000900
-- CGAL_GIT_HASH is c644bbe58bde28339f86f54f3350b8bf93e421d9
-- CGAL_CREATED_SVN_REVISION is 99999 (dummy)
-- CGAL_MAJOR_VERSION=4
-- CGAL_MINOR_VERSION=10
-- CGAL_BUGFIX_VERSION=0
-- CGAL_BUILD_VERSION=900
-- CGAL_SONAME_VERSION=13
-- CGAL_SOVERSION =13.0.0
-- CGAL_REFERENCE_CACHE_DIR=
-- Building shared libraries
-- Targetting Unix Makefiles
-- Using
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
compiler.
-- DARWIN_VERSION=14
-- Mac Leopard detected
-- USING CMake version: 3.4.1
-- System: Darwin
== Generate version files (DONE) ==
== Set up flags ==
-- Build type: Release
-- USING CXXFLAGS = ' -O3 -DNDEBUG'
-- USING LDFLAGS = '
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
-lX11 '
== Set up flags (DONE) ==
== Detect external libraries ==
Disable the GMP support
-- External libraries supported:
GMP;GMPXX;MPFR;ZLIB;OpenGL;LEDA;MPFI;RS;RS3;OpenNL;Eigen3;BLAS;LAPACK;QGLViewer;ESBTL;Coin3D;NTL;IPE
-- Preconfiguring library: LEDA ...
-- USING LEDA_VERSION = '640'
-- LEDA has been preconfigured:
-- UseLEDA-file: CGAL_UseLEDA
-- LEDA include: /Users/iordanov/include
-- LEDA libraries: /Users/iordanov/lib/libleda.a
-- LEDA definitions: -DCGAL_LEDA_VERSION=640
-- LEDA cxx flags:
-- CGAL_Core needs GMP, cannot be configured.
-- __cplusplus is
-- Boost version: 1.60.0
-- Found the following Boost libraries:
-- thread
-- system
-- Boost include: /usr/local/include
-- Boost libraries:
/usr/local/lib/libboost_thread-mt.dylib;/usr/local/lib/libboost_system-mt.dylib
-- Boost definitions:
-- USING BOOST_VERSION = '1.60.0'
== Detect external libraries (DONE) ==
== Write compiler_config.h ==
-- Performing Test CGAL_CFG_DENORMALS_COMPILE_BUG - Failed
-- Performing Test CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG - Failed
-- Performing Test CGAL_CFG_IEEE_754_BUG - Failed
-- Performing Test CGAL_CFG_ISTREAM_INT_BUG - Failed
-- Performing Test CGAL_CFG_MATCHING_BUG_5 - Failed
-- Performing Test CGAL_CFG_MATCHING_BUG_6 - Failed
-- Performing Test CGAL_CFG_MATCHING_BUG_7 - Failed
-- Performing Test CGAL_CFG_MATCHING_BUG_8 - Failed
-- Performing Test CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG - Failed
-- Performing Test CGAL_CFG_NO_LIMITS - Failed
-- Performing Test CGAL_CFG_NO_NEXTAFTER - Failed
-- Performing Test CGAL_CFG_NO_STL - Failed
-- Performing Test CGAL_CFG_NUMERIC_LIMITS_BUG - Failed
-- Performing Test CGAL_CFG_OUTOFLINE_MEMBER_DEFINITION_BUG - Failed
-- Performing Test CGAL_CFG_TEMPLATE_IN_DEFAULT_PARAMETER_BUG - Failed
-- Performing Test CGAL_CFG_TYPENAME_BEFORE_DEFAULT_ARGUMENT_BUG - Failed
-- Performing Test CGAL_CFG_USING_BASE_MEMBER_BUG_2 - Failed
== Write compiler_config.h (DONE) ==
== Generating build files ==
Configuring libCGAL
-- Requested component: LEDA
-- LEDA include: /Users/iordanov/include
-- LEDA definitions: -DCGAL_LEDA_VERSION=640
-- LEDA libraries: /Users/iordanov/lib/libleda.a
-- Using LEDA with gcc on *nix: Adding -lX11
-- Configured LEDA from UseLIB-file: CGAL_UseLEDA
libCGAL is configured
-- Sources for CGAL component library 'CGAL_Core' detected
-- CGAL_Core is not being configured (missing GMP, or 64bit architecture).
-- Sources for CGAL component library 'CGAL_ImageIO' detected
Configuring libCGAL_ImageIO
-- WARNING: ZLIB found but could not compile print_ZLIB_version.cpp:
-- ZLIB_INCLUDE_DIR=/opt/local/include
-- ZLIB_LIBRARIES=/opt/local/lib/libz.dylib
-- ZLIB_LIBRARIES_DIR=
-- Change Dir:
/Users/iordanov/Documents/Code/builds/cgal-leda/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f7635/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
CMakeFiles/cmTC_f7635.dir/build.make CMakeFiles/cmTC_f7635.dir/build
Building CXX object CMakeFiles/cmTC_f7635.dir/print_ZLIB_version.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-I/opt/local/include -o
CMakeFiles/cmTC_f7635.dir/print_ZLIB_version.cpp.o -c
/Users/iordanov/Documents/Code/cgal-INRIA/Installation/config/support/print_ZLIB_version.cpp
Linking CXX executable cmTC_f7635
/usr/local/Cellar/cmake/3.4.1/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_f7635.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-Wl,-search_paths_first -Wl,-headerpad_max_install_names -lX11
CMakeFiles/cmTC_f7635.dir/print_ZLIB_version.cpp.o -o cmTC_f7635
/opt/local/lib/libz.dylib
ld: library not found for -lX11
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[1]: *** [cmTC_f7635] Error 1
make: *** [cmTC_f7635/fast] Error 2
-- USING ZLIB_VERSION = 'unknown'
-- Requested component: LEDA
-- LEDA include: /Users/iordanov/include
-- LEDA definitions: -DCGAL_LEDA_VERSION=640
-- LEDA libraries: /Users/iordanov/lib/libleda.a
-- Using LEDA with gcc on *nix: Adding -lX11
-- Configured LEDA from UseLIB-file: CGAL_UseLEDA
libCGAL_ImageIO is configured
-- Sources for CGAL component library 'CGAL_Qt5' detected
Configuring libCGAL_Qt5
-- USING Qt5_VERSION = '5.5.1'
-- OpenGL include: /System/Library/Frameworks/OpenGL.framework
-- OpenGL libraries:
/System/Library/Frameworks/AGL.framework;/System/Library/Frameworks/OpenGL.framework
-- OpenGL definitions:
-- Qt5Core include:
/usr/local/opt/qt5/lib/QtCore.framework;/usr/local/opt/qt5/lib/QtCore.framework/Headers;/usr/local/opt/qt5/.//mkspecs/macx-clang
-- Qt5 libraries: Qt5::Core Qt5::Gui Qt5::Svg Qt5::OpenGL
-- Qt5Core definitions: -DQT_CORE_LIB
-- moc executable: /usr/local/opt/qt5/bin/moc
-- uic executable: /usr/local/opt/qt5/bin/uic
-- Requested component: LEDA
-- LEDA include: /Users/iordanov/include
-- LEDA definitions: -DCGAL_LEDA_VERSION=640
-- LEDA libraries: /Users/iordanov/lib/libleda.a
-- Using LEDA with gcc on *nix: Adding -lX11
-- Configured LEDA from UseLIB-file: CGAL_UseLEDA
libCGAL_Qt5 is configured
-- Sources for CGAL component libraries 'CGAL_Core;CGAL_ImageIO;CGAL_Qt5'
detected
== Generating build files (DONE) ==
-- Configuring done
-- Generating done
-- Build files have been written to:
/Users/iordanov/Documents/Code/builds/cgal-leda
- [cgal-discuss] Error when compiling with LEDA, Iordan Iordanov, 02/24/2017
- Re: [cgal-discuss] Error when compiling with LEDA, Sebastien Loriot (GeometryFactory), 02/24/2017
- Re: [cgal-discuss] Error when compiling with LEDA, Iordan Iordanov, 02/24/2017
- Re: [cgal-discuss] Error when compiling with LEDA, Marc Glisse, 02/24/2017
- Re: [cgal-discuss] Error when compiling with LEDA, Iordan Iordanov, 02/24/2017
- Re: [cgal-discuss] Error when compiling with LEDA, Iordan Iordanov, 02/27/2017
- Re: [cgal-discuss] Error when compiling with LEDA, Iordan Iordanov, 02/24/2017
- Re: [cgal-discuss] Error when compiling with LEDA, Marc Glisse, 02/24/2017
- Re: [cgal-discuss] Error when compiling with LEDA, Iordan Iordanov, 02/24/2017
- Re: [cgal-discuss] Error when compiling with LEDA, Sebastien Loriot (GeometryFactory), 02/24/2017
Archive powered by MHonArc 2.6.18.