Skip to content

Commit

Permalink
ParameterParsing: fix issue in latest boost causing linking to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
andresailer committed May 25, 2023
1 parent 92a3b10 commit 8e6acb0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion include/ParameterParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <boost/fusion/include/std_pair.hpp>
#include <boost/spirit/include/phoenix.hpp>
#include <boost/phoenix.hpp>
#include <boost/spirit/include/qi.hpp>

#include <algorithm>
Expand Down

0 comments on commit 8e6acb0

Please sign in to comment.