diff --git a/gtsam_unstable/geometry/triangulation.h b/gtsam_unstable/geometry/triangulation.h index 240e5ace0..c8b55e8e7 100644 --- a/gtsam_unstable/geometry/triangulation.h +++ b/gtsam_unstable/geometry/triangulation.h @@ -22,6 +22,7 @@ #include #include #include +#include namespace gtsam { @@ -35,7 +36,7 @@ namespace gtsam { * @param K The camera calibration * @return Returns a Point3 on success, boost::none otherwise. */ -boost::optional triangulatePoint3(const std::vector& poses, +GTSAM_UNSTABLE_EXPORT boost::optional triangulatePoint3(const std::vector& poses, const std::vector& measurements, const Cal3_S2& K);