Fix linkage errors: unresolved external symbol

release/4.3a0
Tal Regev 2023-06-30 20:21:11 +03:00 committed by Varun Agrawal
parent 2168d0f086
commit 92de2273a8
4 changed files with 6 additions and 6 deletions

View File

@ -80,7 +80,7 @@ using Weights = Eigen::Matrix<double, 1, -1>; /* 1xN vector */
* *
* @ingroup basis * @ingroup basis
*/ */
Matrix kroneckerProductIdentity(size_t M, const Weights& w); Matrix GTSAM_EXPORT kroneckerProductIdentity(size_t M, const Weights& w);
/** /**
* CRTP Base class for function bases * CRTP Base class for function bases

View File

@ -47,7 +47,7 @@ namespace gtsam {
* *
* Also fails if the rows are not of the same size. * Also fails if the rows are not of the same size.
*/ */
struct SignatureParser { struct GTSAM_EXPORT SignatureParser {
using Row = std::vector<double>; using Row = std::vector<double>;
using Table = std::vector<Row>; using Table = std::vector<Row>;

View File

@ -198,9 +198,9 @@ public:
GTSAM_EXPORT static Matrix3 LogmapDerivative(const Pose2& v); GTSAM_EXPORT static Matrix3 LogmapDerivative(const Pose2& v);
// Chart at origin, depends on compile-time flag SLOW_BUT_CORRECT_EXPMAP // Chart at origin, depends on compile-time flag SLOW_BUT_CORRECT_EXPMAP
struct ChartAtOrigin { struct GTSAM_EXPORT ChartAtOrigin {
GTSAM_EXPORT static Pose2 Retract(const Vector3& v, ChartJacobian H = {}); static Pose2 Retract(const Vector3& v, ChartJacobian H = {});
GTSAM_EXPORT static Vector3 Local(const Pose2& r, ChartJacobian H = {}); static Vector3 Local(const Pose2& r, ChartJacobian H = {});
}; };
using LieGroup<Pose2, 3>::inverse; // version with derivative using LieGroup<Pose2, 3>::inverse; // version with derivative

View File

@ -204,7 +204,7 @@ public:
static Matrix6 LogmapDerivative(const Pose3& xi); static Matrix6 LogmapDerivative(const Pose3& xi);
// Chart at origin, depends on compile-time flag GTSAM_POSE3_EXPMAP // Chart at origin, depends on compile-time flag GTSAM_POSE3_EXPMAP
struct ChartAtOrigin { struct GTSAM_EXPORT ChartAtOrigin {
static Pose3 Retract(const Vector6& xi, ChartJacobian Hxi = {}); static Pose3 Retract(const Vector6& xi, ChartJacobian Hxi = {});
static Vector6 Local(const Pose3& pose, ChartJacobian Hpose = {}); static Vector6 Local(const Pose3& pose, ChartJacobian Hpose = {});
}; };