Matlab Compilation for GTSAM 4.0
Issue #247
resolved
I get the following error :
/home/nsrinivasan/borg/gtsam/build/wrap/gtsam/gtsam_wrapper.cpp: In function ‘void gtsamOptionalPoint3_value_131(int, mxArray**, int, const mxArray**)’:
/home/nsrinivasan/borg/gtsam/build/wrap/gtsam/gtsam_wrapper.cpp:2735: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);
Has anybody faced something similar ?. I am not sure how the wrapper works in gtsam and this is a generated cpp file
Comments (4)
-
-
reporter I don't see any extra definition in the latest boost for value(). At least not in the shared_ptr.cpp files. I have attached these two here
-
Your files must be out of date. gtsam.h doesn't have OptionalPoint3 anymore. I fixed this already, see issue
#232 -
reporter - changed status to resolved
Thanks Chris !:). That fixes it :/
- Log in to comment
Perhaps value is only introduced in a later boost? Check it?