Skip to content

Instantly share code, notes, and snippets.

@ameysutavani
Created March 22, 2021 05:18
Show Gist options
  • Save ameysutavani/14ee405c299baeb01e3e42dce404d16b to your computer and use it in GitHub Desktop.
Save ameysutavani/14ee405c299baeb01e3e42dce404d16b to your computer and use it in GitHub Desktop.
get_gtsam4.1.0_working_with_robostack_boost1.74
From 5b930bc1a342724ed53462376605dc4895efdc80 Mon Sep 17 00:00:00 2001
From: ameysutavani <amey.sutavani@gmail.com>
Date: Sun, 21 Mar 2021 21:24:58 -0700
Subject: [PATCH] Patched boost version.hpp
---
gtsam/base/FastList.h | 1 +
gtsam/linear/LossFunctions.h | 2 +-
gtsam/linear/SubgraphBuilder.h | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/gtsam/base/FastList.h b/gtsam/base/FastList.h
index 380836d1d..525ceb5d5 100644
--- a/gtsam/base/FastList.h
+++ b/gtsam/base/FastList.h
@@ -21,6 +21,7 @@
#include <gtsam/base/FastDefaultAllocator.h>
#include <list>
#include <boost/utility/enable_if.hpp>
+#include <boost/serialization/library_version_type.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/list.hpp>
diff --git a/gtsam/linear/LossFunctions.h b/gtsam/linear/LossFunctions.h
index 4e6a2b609..f54ea846b 100644
--- a/gtsam/linear/LossFunctions.h
+++ b/gtsam/linear/LossFunctions.h
@@ -23,12 +23,12 @@
#include <gtsam/base/Testable.h>
#include <gtsam/dllexport.h>
+#include <boost/serialization/version.hpp>
#include <boost/serialization/extended_type_info.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/optional.hpp>
#include <boost/serialization/shared_ptr.hpp>
#include <boost/serialization/singleton.hpp>
-#include <boost/serialization/version.hpp>
namespace gtsam {
namespace noiseModel {
diff --git a/gtsam/linear/SubgraphBuilder.h b/gtsam/linear/SubgraphBuilder.h
index 88c771ba5..84a477a5e 100644
--- a/gtsam/linear/SubgraphBuilder.h
+++ b/gtsam/linear/SubgraphBuilder.h
@@ -21,9 +21,9 @@
#include <gtsam/base/types.h>
#include <gtsam/dllexport.h>
+#include <boost/serialization/version.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/shared_ptr.hpp>
-#include <boost/serialization/version.hpp>
#include <vector>
--
2.17.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment