Subject: CGAL users discussion list
List archive
- From: Alessandro Attanasi <>
- To:
- Subject: Re: [cgal-discuss] compilation error ... maybe boost issue
- Date: Sat, 1 Feb 2014 22:53:13 +0100
here there is the cmake output
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- 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
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- 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
-- Build type: Release
-- USING CXXFLAGS = ' -frounding-math -fno-strict-aliasing -O3 -DNDEBUG'
-- USING EXEFLAGS = ' -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib '
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- DARWIN_VERSION=10
-- Mac Leopard detected
-- Requested component: MPFI
-- UseMPFI
-- MPFI include: /usr/local/include
-- MPFI definitions:
-- MPFI libraries: /usr/local/lib/libmpfi.dylib
-- Configured MPFI from UseLIB-file: CGAL_UseMPFI
-- Requested component: MPFR
-- Requested component: GMP
-- Requested component: NTL
-- Boost version: 1.51.0
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D
On 1 February 2014 22:50, Alessandro Attanasi <> wrote:
Hi all,until yesterday I was able to build my CGAL code (on macOSX using the script provided by CGAL library), but today I'm not anymore even if I didn't changed nothing but only restarting my PC. Is there maybe an automatic updating issue of my OS?Anyhow the problem is the following:maybe the boost library is not found properly ... after running the CGAL script, the standard output result showed to me that Boost was found but after running make I obtained a lot of errors ... here there are the few first lines. I tried to find a solution on the web but I was not able, do you have any idea? I need to reinstall boost?In file included from /usr/local/include/boost/utility/result_of.hpp:95,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/basic.h:40,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/Origin.h:29,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/Point_2.h:28,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/learning_MyPoint2.hpp:7,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/learning_ConvexLayers.cpp:1:/usr/local/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:47:37: error: /usr/local/include/boost/utility/detail/result_of_iterate.hpp: Input/output errorIn file included from /usr/local/include/boost/optional/optional.hpp:37,from /usr/local/include/boost/optional.hpp:15,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/Sqrt_extension/Sqrt_extension_type.h:41,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/Sqrt_extension.h:55,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/MP_Float.h:29,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/Filtered_kernel.h:31,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/Exact_predicates_inexact_constructions_kernel.h:29,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/learning_MyPoint2.hpp:19,from /Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/learning_ConvexLayers.cpp:1:/usr/local/include/boost/utility/in_place_factory.hpp:16:60: error: /usr/local/include/boost/utility/detail/in_place_factory_prefix.hpp: Input/output error/usr/local/include/boost/utility/in_place_factory.hpp:28:60: error: /usr/local/include/boost/utility/detail/in_place_factory_suffix.hpp: Input/output error/Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/Point_2.h: In instantiation of ‘CGAL::Point_2<MyKernel<double> >’:/Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/generators.h:40: instantiated from ‘CGAL::Generator_base<CGAL::Point_2<MyKernel<double> > >’/Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/generators.h:65: instantiated from ‘CGAL::Random_generator_base<CGAL::Point_2<MyKernel<double> > >’/Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/point_generators_2.h:35: instantiated from ‘CGAL::Random_points_in_disc_2<CGAL::Point_2<MyKernel<double> >, CGAL::Creator_uniform_2<double, CGAL::Point_2<MyKernel<double> > > >’/Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/learning_ConvexLayers.cpp:179: instantiated from here/Users/alex/Downloads/CGAL/CGAL/CGAL-4.1/alecs_ConvexLayers2D/../include/CGAL/Point_2.h:89: error: invalid use of incomplete type ‘struct boost::result_of<CGAL::CartesianKernelFunctors::Compute_x_2<MyKernel<double> > ()(CGAL::Point_2<MyKernel<double> >)>’thanks a lot--
- [cgal-discuss] compilation error ... maybe boost issue, Alessandro Attanasi, 02/01/2014
- Re: [cgal-discuss] compilation error ... maybe boost issue, Alessandro Attanasi, 02/01/2014
- Re: [cgal-discuss] compilation error ... maybe boost issue, Marc Glisse, 02/01/2014
- Re: [cgal-discuss] compilation error ... maybe boost issue, Alessandro Attanasi, 02/01/2014
- Re: [cgal-discuss] compilation error ... maybe boost issue, Marc Glisse, 02/01/2014
- Re: [cgal-discuss] compilation error ... maybe boost issue, Alessandro Attanasi, 02/01/2014
- Re: [cgal-discuss] compilation error ... maybe boost issue, Marc Glisse, 02/01/2014
- Re: [cgal-discuss] compilation error ... maybe boost issue, Alessandro Attanasi, 02/01/2014
Archive powered by MHonArc 2.6.18.