-
Notifications
You must be signed in to change notification settings - Fork 856
Closed
Description
Description
I cannot build the Matlab wrapper due to the following errors:
/home/claudio/allbuilds/include/boost/smart_ptr/make_shared_object.hpp:256:5: error: no matching function for call to ‘std::pair<gtsam::DiscreteBayesTree, gtsam::DiscreteFactorGraph>::pair(std::pair<boost::shared_ptr<gtsam::DiscreteBayesTree>, boost::shared_ptr<gtsam::DiscreteFactorGraph> >)’
::new( pv ) T( boost::detail::sp_forward<Args>( args )... );
/usr/include/c++/8/bits/stl_pair.h:359:38: error: no type named ‘type’ in ‘struct std::enable_if<false, bool>’
bool>::type=true>
/home/claudio/allbuilds/include/boost/smart_ptr/make_shared_object.hpp:256:5: error: no matching function for call to ‘std::pair<gtsam::GaussianConditional, gtsam::JacobianFactor>::pair(std::pair<boost::shared_ptr<gtsam::GaussianConditional>, boost::shared_ptr<gtsam::JacobianFactor> >)’
/home/claudio/allbuilds/include/boost/smart_ptr/make_shared_object.hpp:256:5: error: no matching function for call to ‘std::pair<gtsam::GaussianBayesTree, gtsam::GaussianFactorGraph>::pair(std::pair<boost::shared_ptr<gtsam::GaussianBayesTree>, boost::shared_ptr<gtsam::GaussianFactorGraph> >)’
Everything else builds correctly, even python wrapper.
Steps to reproduce
cmake -DCMAKE_BUILD_TYPE=Release -DGTSAM_BUILD_UNSTABLE:OPTION=ON -DGTSAM_INSTALL_MATLAB_TOOLBOX=ON -DGTSAM_UNSTABLE_INSTALL_MATLAB_TOOLBOX=ON ..
make
Environment
OS: Ubuntu 18.04
GCC 8.4.0
CMAKE 3.23.2
Boost 1.69
Python 3.8.12 (with anaconda)
Matlab 2022a
GTSAM: develop branch (and also latest release 4.1.1)
Thank you for your help.
Metadata
Metadata
Assignees
Labels
No labels