Matlab wrapper fails to compile with Boost 1.55 or earlier
Issue #232
resolved
Error is newly introduced with pull request #134 due to changes in gtsam.h:
class OptionalPoint3 {
bool is_initialized() const;
gtsam::Point3 value();
};
boost::optional function value() is new in Boost 1.56 according to http://www.boost.org/users/history/version_1_56_0.html
Error:
[ 67%] Building CXX object gtsam/CMakeFiles/gtsam_wrapper.dir/__/wrap/gtsam/gtsam_wrapper.cpp.o
/home/cbeall3/git/gtsam/build/wrap/gtsam/gtsam_wrapper.cpp: In function ‘void gtsamOptionalPoint3_value_141(int, mxArray**, int, const mxArray**)’:
/home/cbeall3/git/gtsam/build/wrap/gtsam/gtsam_wrapper.cpp:2914:64: error: ‘class boost::optional<gtsam::Point3>’ has no member named ‘value’
out[0] = wrap_shared_ptr(SharedPoint3(new gtsam::Point3(obj->value())),"gtsam.Point3", false);
^
Comments (2)
-
-
reporter - changed status to resolved
Fixed in commit e5dce0d
- Log in to comment
Just Kill OptionalPoint3 and the typedef in Point3 Best Frank http:://www.cc.gatech.edu/~dellaert