From 8e6acb0ceb22c54c27de3976751edd4239c4a8f8 Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Thu, 25 May 2023 09:43:20 +0200 Subject: [PATCH] ParameterParsing: fix issue in latest boost causing linking to fail cf. https://github.com/boostorg/phoenix/issues/111 --- include/ParameterParser.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/ParameterParser.h b/include/ParameterParser.h index 6e40d1f..bcfecdd 100644 --- a/include/ParameterParser.h +++ b/include/ParameterParser.h @@ -4,8 +4,15 @@ #include "Parameters.h" //#define BOOST_SPIRIT_DEBUG + +// Prevent inclusing of boost/phoenix/stl/tuple.hpp +// which is causing issues like +// multiple definition of `boost::phoenix::placeholders::uarg3'; CMakeFiles/ConformalTracking.dir/ConformalTracking/src/ConformalTrackingV2.cc.o:(.bss+0x636): first defined here + +#define BOOST_PHOENIX_STL_TUPLE_H_ + #include -#include +#include #include #include