diff --git a/gtsam/navigation/PreintegratedRotation.h b/gtsam/navigation/PreintegratedRotation.h index 146a47a19..5c36da05b 100644 --- a/gtsam/navigation/PreintegratedRotation.h +++ b/gtsam/navigation/PreintegratedRotation.h @@ -24,6 +24,7 @@ #include #include #include +#include "gtsam/dllexport.h" namespace gtsam { @@ -34,7 +35,7 @@ namespace internal { * @param deltaT The time interval over which the rotation is integrated. * @param body_P_sensor Optional transform between body and IMU. */ -struct IncrementalRotation { +struct GTSAM_EXPORT IncrementalRotation { const Vector3& measuredOmega; const double deltaT; const std::optional& body_P_sensor;