Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] compilation error ... maybe boost issue

Subject: CGAL users discussion list

List archive

[cgal-discuss] compilation error ... maybe boost issue


Chronological Thread 
  • From: Alessandro Attanasi <>
  • To:
  • Subject: [cgal-discuss] compilation error ... maybe boost issue
  • Date: Sat, 1 Feb 2014 22:50:34 +0100

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 error
In 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

--



Archive powered by MHonArc 2.6.18.

Top of Page