← Back to team overview

hugin-devs team mailing list archive

[Bug 1391901] Re: hugin-2014.0.0 fails to build with boost >=1.57.0

 

Thanks for feedback.
Committed a workaround for Hugin for Boost 1.57

** Changed in: hugin
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1391901

Title:
  hugin-2014.0.0 fails to build with boost >=1.57.0

Status in Hugin - Panorama Tools GUI:
  Fix Committed

Bug description:
  Applied the patch
  http://sourceforge.net/p/hugin/hugin/ci/e237d6d1d87354f974d37a95ba52dbd9666dd310/
  for boost-1.56.0 but running into another build error with boost
  >=1.57.0.

  [ 58%] Building CXX object src/hugin1/hugin/CMakeFiles/hugin.dir/GLViewer.cpp.o
  In file included from /home/user/Downloads/hugin-2014.0.0/src/hugin1/hugin/TextureManager.h:45:0,
                   from /home/user/Downloads/hugin-2014.0.0/src/hugin1/hugin/ViewState.h:72,
                   from /home/user/Downloads/hugin-2014.0.0/src/hugin1/hugin/GLViewer.h:26,
                   from /home/user/Downloads/hugin-2014.0.0/src/hugin1/hugin/GLViewer.cpp:40:
  /usr/include/boost/signals2/trackable.hpp: In member function 'boost::weak_ptr<boost::signals2::detail::trackable_pointee> boost::signals2::trackable::get_weak_ptr() const':
  /usr/include/boost/signals2/trackable.hpp:49:7: error: return type 'class boost::weak_ptr<boost::signals2::detail::trackable_pointee>' is incomplete
         {
         ^
  In file included from /usr/include/boost/signals2/slot.hpp:22:0,
                   from /usr/include/boost/signals2/connection.hpp:23,
                   from /usr/include/boost/signals2/signal.hpp:21,
                   from /usr/include/boost/signals2.hpp:19,
                   from /home/user/Downloads/hugin-2014.0.0/src/hugin_base/huginapp/ImageCache.h:32,
                   from /home/user/Downloads/hugin-2014.0.0/src/hugin1/hugin/TextureManager.h:51,
                   from /home/user/Downloads/hugin-2014.0.0/src/hugin1/hugin/ViewState.h:72,
                   from /home/user/Downloads/hugin-2014.0.0/src/hugin1/hugin/GLViewer.h:26,
                   from /home/user/Downloads/hugin-2014.0.0/src/hugin1/hugin/GLViewer.cpp:40:
  /usr/include/boost/signals2/detail/tracked_objects_visitor.hpp: In member function 'void boost::signals2::detail::tracked_objects_visitor::add_if_trackable(const boost::signals2::trackable*) const':
  /usr/include/boost/signals2/detail/tracked_objects_visitor.hpp:85:72: error: invalid use of void expression
               slot_->_tracked_objects.push_back(trackable->get_weak_ptr());
                                                                          ^
  src/hugin1/hugin/CMakeFiles/hugin.dir/build.make:399: recipe for target 'src/hugin1/hugin/CMakeFiles/hugin.dir/GLViewer.cpp.o' failed
  make[2]: *** [src/hugin1/hugin/CMakeFiles/hugin.dir/GLViewer.cpp.o] Error 1
  CMakeFiles/Makefile2:1784: recipe for target 'src/hugin1/hugin/CMakeFiles/hugin.dir/all' failed
  make[1]: *** [src/hugin1/hugin/CMakeFiles/hugin.dir/all] Error 2
  Makefile:137: recipe for target 'all' failed
  make: *** [all] Error 2

  Complete build log attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1391901/+subscriptions


References