Subject: CGAL users discussion list
List archive
[cgal-discuss] Can't compile CGAL application after upgrading to boost 1.67.0_1 on Mac
Chronological Thread
- From: Benjamin Bercovici <>
- To:
- Subject: [cgal-discuss] Can't compile CGAL application after upgrading to boost 1.67.0_1 on Mac
- Date: Sun, 22 Apr 2018 14:27:23 -0600
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:LePE1RK/Gp07oik/YNmcpTZWNBhigK39O0sv0rFitYgeKvjxwZ3uMQTl6Ol3ixeRBMOHs6kC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwtFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhicbODE27W/ZicJ+grxcrh+6vRNz34vUbZuVNPZifK7Qe84RS2pbXsZWUixMGp6xYJUJD+oDJ+lYqoj9p10TphajGwasHv/gyjhWhn/3waI60vkqHAbd0wM+BN0BrmjYodfpOKoSSu260K7IzTHEb/NMwzjy9Y/Ifgo/rv6RQLJ9aMzcwlQsGQPdllict5DpMjeP2ukOs2WX9fRsWf+ghmI9pAx8oSCjytkth4XVm44Yz07I+CZkzIswJtC1RlJ3bcKhHZZRtyyVKpd6T8Y/T251pCo21rgLtJ20cSgEyZkqwhHSZOGDfoWH5x/sT/yeITlii39jZbmxnQy98VK6xe35TsS00EhFri5CktTUs3ACzR3T6syeRvt84ketxS+D1w7c5+xHO0w0mq3bK5kuwr40iJUfq1jMHijzmEnuja+WcFsr+vSw5uj5frnrooWQOox0hw3kLKgih8OyDf43PwUNR2Sb/P6z1Lzn/U33WrVKifg2n7HCv5/EPssUuLK1Dg1J3osj8BuwEzCm0NAfnXkdNl1KZRWHg5L3NF7TPfD0Fe2/jEi0kDd32/DGOaXsDYnCLnfZlLftZKty609HyAUv0NBf/IlUB6oaIPPzX0/xrMbXAgU4Mwyy2ebnCc9y2pkQWWKVUeelN/bZvlaMo+4uOOKRf5Q9uTDnKvFj6eS9o2U+nAo3cK+r1J4WbjiSE+5tJFuYanuk1t0MG2pS4VJjZOftjFqYWDJUIXu+QvRvtXkAFIu6ANKbFciWi7ub0XLjR8wEViV9ElmJVEzQWcCBUvYIZjiVJ5Y9wDcDUb+7QoMmkxyiqV2jkuY1Hq/v4iQd8Knb+p1t/eSKyUM58jhzFc2R1CeAQ3wmxjpVFQ9z57h2pAlG8nnG0aV8hKYFR9la5vcMUxticJCAn6p1DNf9Xg+HddCMGg6r
I am getting errors while compiling a piece of software that uses CGAL (see compiler trace below). This error arises using Apple’s Clang or a-built-from-source GCC 7.3.0.
[ 2%] Building CXX object CMakeFiles/ASPEN.dir/source/ShapeBuilder.cpp.o
In file included from /usr/local/include/CGAL/internal/boost/mutable_queue.hpp:27:0,
from /usr/local/include/CGAL/Modifiable_priority_queue.h:27,
from /usr/local/include/CGAL/Surface_mesh_simplification/Detail/Common.h:46,
from /usr/local/include/CGAL/Surface_mesh_simplification/Detail/Edge_collapse.h:25,
from /usr/local/include/CGAL/Surface_mesh_simplification/edge_collapse.h:28,
from /Users/bbercovici/GDrive/CUBoulder/Research/code/ASPEN_gui_less/lib/external/CGAL_interface/include/CGAL_interface.hpp:21,
from /Users/bbercovici/GDrive/CUBoulder/Research/code/ASPEN_gui_less/lib/source/ShapeBuilder.cpp:21:
/usr/local/include/CGAL/internal/boost/array_binary_tree.hpp:54:28: error: expected template-name before '<' token
: ::boost::iterator<std::forward_iterator_tag,
^
/usr/local/include/CGAL/internal/boost/array_binary_tree.hpp:54:28: error: expected '{' before '<' token
/usr/local/include/CGAL/internal/boost/array_binary_tree.hpp:54:28: error: expected unqualified-id before '<' token
make[2]: *** [CMakeFiles/ASPEN.dir/source/ShapeBuilder.cpp.o] Error 1
make[1]: *** [CMakeFiles/ASPEN.dir/all] Error 2
make: *** [all] Error 2
I’m using CGAL 4.11.1, downloaded through Homebrew . The same error was raised using the bleeding-edge CGAL 4.13 (that I compiled from source since it is not on Homebrew yet).
I believe a Boost upgrade may be the cause for this, based on when the last upgrade was applied. I’m using Boost 1.67.0_1 , also downloaded from Homebrew a couple days ago. I am certain I was able to compile without trouble until I got the update, hence my suspicion that something is wrong with boost.
Any advice ?
- [cgal-discuss] Can't compile CGAL application after upgrading to boost 1.67.0_1 on Mac, Benjamin Bercovici, 04/22/2018
- Re: [cgal-discuss] Can't compile CGAL application after upgrading to boost 1.67.0_1 on Mac, Laurent Rineau (CGAL/GeometryFactory), 04/23/2018
- Re: [cgal-discuss] Can't compile CGAL application after upgrading to boost 1.67.0_1 on Mac, Benjamin Bercovici, 04/23/2018
- Re: [cgal-discuss] Can't compile CGAL application after upgrading to boost 1.67.0_1 on Mac, Benjamin Bercovici, 04/23/2018
- Re: [cgal-discuss] Can't compile CGAL application after upgrading to boost 1.67.0_1 on Mac, Pratyush Pranav, 04/23/2018
- Re: [cgal-discuss] Can't compile CGAL application after upgrading to boost 1.67.0_1 on Mac, Benjamin Bercovici, 04/23/2018
- Re: [cgal-discuss] Can't compile CGAL application after upgrading to boost 1.67.0_1 on Mac, Benjamin Bercovici, 04/23/2018
- Re: [cgal-discuss] Can't compile CGAL application after upgrading to boost 1.67.0_1 on Mac, Laurent Rineau (CGAL/GeometryFactory), 04/23/2018
Archive powered by MHonArc 2.6.18.