Boost logo

Boost-Build :

Subject: [Boost-build] building PCL
From: will (guillaume.du.roy_at_[hidden])
Date: 2015-05-27 04:11:29


I get this error when building the pcl library for kiwi-viewer :

/opt/local/include/boost/signals2/detail/foreign_ptr.hpp:42:54: error:
      reference to 'weak_ptr' is ambiguous
    template<typename T> struct weak_ptr_traits<std::weak_ptr&lt;T> >
                                                ~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:4916:29:
note:
      candidate found by name lookup is 'std::__1::weak_ptr'
class _LIBCPP_TYPE_VIS_ONLY weak_ptr
                            ^
/opt/local/include/boost/signals2/detail/foreign_ptr.hpp:25:30: note:
candidate
      found by name lookup is 'std::weak_ptr'
  template<typename T> class weak_ptr;
                             ^
/opt/local/include/boost/signals2/detail/foreign_ptr.hpp:42:33: error:
      redefinition of 'weak_ptr_traits<weak_ptr&lt;type-parameter-0-0> >'
    template<typename T> struct weak_ptr_traits<std::weak_ptr&lt;T> >
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/boost/signals2/detail/foreign_ptr.hpp:38:33: note:
previous
      definition is here
    template<typename T> struct weak_ptr_traits<boost::weak_ptr&lt;T> >
                                ^
/opt/local/include/boost/signals2/detail/foreign_ptr.hpp:54:56: error:
      reference to 'shared_ptr' is ambiguous
    template<typename T> struct shared_ptr_traits<std::shared_ptr&lt;T> >
                                                  ~~~~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:3753:29:
note:
      candidate found by name lookup is 'std::__1::shared_ptr'
class _LIBCPP_TYPE_VIS_ONLY shared_ptr
                            ^
/opt/local/include/boost/signals2/detail/foreign_ptr.hpp:24:30: note:
candidate
      found by name lookup is 'std::shared_ptr'
  template<typename T> class shared_ptr;
                             ^
/opt/local/include/boost/signals2/detail/foreign_ptr.hpp:54:33: error:
      redefinition of 'shared_ptr_traits<shared_ptr&lt;type-parameter-0-0>
>'
    template<typename T> struct shared_ptr_traits<std::shared_ptr&lt;T> >
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/boost/signals2/detail/foreign_ptr.hpp:50:33: note:
previous
      definition is here
    template<typename T> struct shared_ptr_traits<boost::shared_ptr&lt;T> >

--
View this message in context: http://boost.2283326.n4.nabble.com/building-PCL-tp4676161.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk