Fix compile error with Boost 1.58 Serialization and GTSAM3.2.1
Bitbucket cannot automatically merge this request.
The commits that make up this pull request have been removed.
Bitbucket cannot automatically merge this request due to conflicts.
Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:
git checkout release/3.2.1
git merge --no-ff -m 'Merged in fix/boost158gtsam3 (pull request #264)' remotes/origin/fix/boost158gtsam3
Pull request updated. Reload
[BuildFinished gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
FAILURE - http://hawkertempest.cc.gatech.edu:8080/job/gtsam-ubuntu-pullrequest/661/
Hmmm, ths fails but I can't seem to b able to access Jenkins to check why. @Chris Beall could hawker be down?
Don't think so. Link worked fine for me. Here's the error:
[ 63%] Building CXX object examples/CMakeFiles/Pose3SLAMExample_initializePose3Chordal.dir/Pose3SLAMExample_initializePose3Chordal.cpp.o /home/jenkins/jenkins_home/jobs/gtsam-ubuntu-pullrequest/workspace/BUILD_OPT/Release/DEPRECATED_OPT/ALLOW_DEPRECATED_SINCE_V4 OFF/MKL_OPT/MKL OFF/ROT_OPT/Rot3/TANGENT_PREINTEGRATION/TANGENT/TBB_OPT/TBB ON/TYPEDEF_POINTS_TO_VECTORS/TYPEDEF POINT OFF/build/wrap/gtsam/gtsam_wrapper.cpp: In function ‘void gtsamGaussianFactorGraph_eliminateMultifrontal_769(int, mxArray**, int, const mxArray**)’: /home/jenkins/jenkins_home/jobs/gtsam-ubuntu-pullrequest/workspace/BUILD_OPT/Release/DEPRECATED_OPT/ALLOW_DEPRECATED_SINCE_V4 OFF/MKL_OPT/MKL OFF/ROT_OPT/Rot3/TANGENT_PREINTEGRATION/TANGENT/TBB_OPT/TBB ON/TYPEDEF_POINTS_TO_VECTORS/TYPEDEF POINT OFF/build/wrap/gtsam/gtsam_wrapper.cpp:9536:57: error: ‘class boost::shared_ptr<gtsam::GaussianBayesTree>’ has no member named ‘clone’ out[0] = wrap_shared_ptr(obj->eliminateMultifrontal().clone(),"gtsam.GaussianBayesTree", true); ^But it seems odd that adding this include could cause this.
Note that this PR is not into develop, but into a particular release. Maybe that's the issue?
It could be worth testing the 3.2.1 release to see if the issue affects it too. Perhaps there are defines/typedefs being used for these builds that clash with the older API?
Thanks for the patch to run gtsam3.2.1 with boost-1.58, they seem to work for me (no TBB, no MKL). In order for the tests to compile and run ("make check"), it is however necessary to add
#include <boost/serialization/serialization.hpp>also togtsam/base/tests/testFastContainers.cpp(unrelated to the Jenkins issue discussed above).[BuildStarted gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
[BuildStarted gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
[BuildFinished gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
FAILURE - http://hawkertempest.cc.gatech.edu:8080/job/gtsam-ubuntu-pullrequest/811/
[BuildFinished gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
FAILURE - http://hawkertempest.cc.gatech.edu:8080/job/gtsam-ubuntu-pullrequest/845/
[BuildFinished gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
FAILURE - http://hawkertempest.cc.gatech.edu:8080/job/gtsam-ubuntu-pullrequest/906/
[BuildFinished gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
FAILURE - http://hawkertempest.cc.gatech.edu:8080/job/gtsam-ubuntu-pullrequest/908/
[BuildFinished gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
FAILURE - http://hawkertempest.cc.gatech.edu:8080/job/gtsam-ubuntu-pullrequest/924/
[BuildStarted gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
[BuildStarted gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
[BuildStarted gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
[BuildStarted gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
[BuildFinished gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a
FAILURE - http://hawkertempest.cc.gatech.edu:8080/job/gtsam-ubuntu-pullrequest/929/
[BuildStarted gtsam-ubuntu-pullrequest] 9611e5e5d9ad into 74aeb2b2606a