[MacPorts] #55022: libpcl 1.7.2: doesn't build (kdtree/flann.h:50)

MacPorts noreply at macports.org
Fri Oct 6 20:53:23 UTC 2017


#55022: libpcl 1.7.2: doesn't build (kdtree/flann.h:50)
-----------------------+--------------------
 Reporter:  tiktaktok  |      Owner:
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.4.1
 Keywords:  flann      |       Port:  libpcl
-----------------------+--------------------
 When trying to build libpcl, the following error appears in the log file:

 {{{
 info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/kdtree/include/pcl/kdtree/flann.h:50:
 :info:build In file included from /opt/local/include/flann/flann.hpp:41:
 :info:build In file included from
 /opt/local/include/flann/util/matrix.h:35:
 :info:build In file included from
 /opt/local/include/flann/util/serialization.h:5:
 :info:build
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/map:820:5:
 error: static_assert failed "Allocator::value_type must be same type as
 value_type"
 :info:build     static_assert((is_same<typename
 allocator_type::value_type, value_type>::value),
 :info:build     ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:729:36:
 note: expanded from macro 'static_assert'
 :info:build #   define static_assert(__b, __m) _Static_assert(__b, __m)
 :info:build                                    ^              ~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_libpcl/libpcl/work/pcl-1.7.2/features/include/pcl/features/pfh.h:211:131:
 note: in instantiation of template class
 'std::__1::map<std::__1::pair<int, int>, Eigen::Matrix<float, 4, 1, 0, 4,
 1>, std::__1::less<std::__1::pair<int, int> >,
 Eigen::aligned_allocator<Eigen::Matrix<float, 4, 1, 0, 4, 1> > >'
 requested here
 :info:build       std::map<std::pair<int, int>, Eigen::Vector4f,
 std::less<std::pair<int, int> >, Eigen::aligned_allocator<Eigen::Vector4f>
 > feature_map_;
 :info:build
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/55022>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list