-
assigned issue to
Compile error for gtsam 3.2.1 on boost 1.54
Issue #319
resolved
I stuck this error for many boost version that i tried 1.6x 1.56, 1.54. Would someone suggest best boost version that will work for current Thank you advanced.
#!
[ 32%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/VariableSlots.cpp.o
[ 32%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/Factor.cpp.o
[ 32%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/LabeledSymbol.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/BayesTree.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/inference/Key.cpp.o
[ 34%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicBayesNet.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicBayesTree.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicFactor.cpp.o
[ 36%] Building CXX object gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicFactorGraph.cpp.o
In file included from /home/fx/deps/gtsam-3.2.1/gtsam/symbolic/SymbolicFactorGraph.cpp:21:0:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In instantiation of ‘boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType> gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminateSequential(gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering = boost::optional<const gtsam::Ordering&>; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/symbolic/SymbolicFactorGraph.cpp:32:18: required from here
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:50:80: error: no matching function for call to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::eliminateSequential(gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalOrdering&, const Eliminate&, gtsam::VariableIndex) const’
return eliminateSequential(ordering, function, VariableIndex(asDerived()));
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:50:80: note: candidate is:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:30:5: note: boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType> gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminateSequential(gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering = boost::optional<const gtsam::Ordering&>; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminateSequential(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:30:5: note: no known conversion for argument 3 from ‘gtsam::VariableIndex’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalVariableIndex {aka boost::optional<const gtsam::VariableIndex&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:56:76: error: no matching function for call to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::eliminateSequential(gtsam::Ordering, const Eliminate&) const’
return eliminateSequential(Ordering::COLAMD(*variableIndex), function);
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:56:76: note: candidate is:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:30:5: note: boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType> gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminateSequential(gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering = boost::optional<const gtsam::Ordering&>; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminateSequential(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:30:5: note: no known conversion for argument 1 from ‘gtsam::Ordering’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalOrdering {aka boost::optional<const gtsam::Ordering&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In instantiation of ‘boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType> gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminateMultifrontal(gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering = boost::optional<const gtsam::Ordering&>; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/symbolic/SymbolicFactorGraph.cpp:32:18: required from here
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:84:82: error: no matching function for call to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::eliminateMultifrontal(gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalOrdering&, const Eliminate&, gtsam::VariableIndex) const’
return eliminateMultifrontal(ordering, function, VariableIndex(asDerived()));
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:84:82: note: candidate is:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:63:5: note: boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType> gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminateMultifrontal(gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering = boost::optional<const gtsam::Ordering&>; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminateMultifrontal(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:63:5: note: no known conversion for argument 3 from ‘gtsam::VariableIndex’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalVariableIndex {aka boost::optional<const gtsam::VariableIndex&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:90:78: error: no matching function for call to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::eliminateMultifrontal(gtsam::Ordering, const Eliminate&) const’
return eliminateMultifrontal(Ordering::COLAMD(*variableIndex), function);
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:90:78: note: candidate is:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:63:5: note: boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType> gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminateMultifrontal(gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering = boost::optional<const gtsam::Ordering&>; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminateMultifrontal(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:63:5: note: no known conversion for argument 1 from ‘gtsam::Ordering’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalOrdering {aka boost::optional<const gtsam::Ordering&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In instantiation of ‘std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(const gtsam::Ordering&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/symbolic/SymbolicFactorGraph.cpp:32:18: required from here
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:107:87: error: no matching function for call to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::eliminatePartialSequential(const gtsam::Ordering&, const Eliminate&, gtsam::VariableIndex) const’
return eliminatePartialSequential(ordering, function, VariableIndex(asDerived()));
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:107:87: note: candidates are:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:97:5: note: std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(const gtsam::Ordering&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:97:5: note: no known conversion for argument 3 from ‘gtsam::VariableIndex’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalVariableIndex {aka boost::optional<const gtsam::VariableIndex&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:114:5: note: std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(const std::vector<long unsigned int>&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:114:5: note: no known conversion for argument 3 from ‘gtsam::VariableIndex’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalVariableIndex {aka boost::optional<const gtsam::VariableIndex&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In instantiation of ‘std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(const std::vector<long unsigned int>&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/symbolic/SymbolicFactorGraph.cpp:32:18: required from here
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:127:88: error: no matching function for call to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::eliminatePartialSequential(const std::vector<long unsigned int>&, const Eliminate&, gtsam::VariableIndex) const’
return eliminatePartialSequential(variables, function, VariableIndex(asDerived()));
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:127:88: note: candidates are:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:97:5: note: std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(const gtsam::Ordering&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:97:5: note: no known conversion for argument 1 from ‘const std::vector<long unsigned int>’ to ‘const gtsam::Ordering&’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:114:5: note: std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(const std::vector<long unsigned int>&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:114:5: note: no known conversion for argument 3 from ‘gtsam::VariableIndex’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalVariableIndex {aka boost::optional<const gtsam::VariableIndex&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In instantiation of ‘std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(const gtsam::Ordering&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/symbolic/SymbolicFactorGraph.cpp:32:18: required from here
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:145:89: error: no matching function for call to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::eliminatePartialMultifrontal(const gtsam::Ordering&, const Eliminate&, gtsam::VariableIndex) const’
return eliminatePartialMultifrontal(ordering, function, VariableIndex(asDerived()));
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:145:89: note: candidates are:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:134:5: note: std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(const gtsam::Ordering&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:134:5: note: no known conversion for argument 3 from ‘gtsam::VariableIndex’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalVariableIndex {aka boost::optional<const gtsam::VariableIndex&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:152:5: note: std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(const std::vector<long unsigned int>&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:152:5: note: no known conversion for argument 3 from ‘gtsam::VariableIndex’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalVariableIndex {aka boost::optional<const gtsam::VariableIndex&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In instantiation of ‘std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(const std::vector<long unsigned int>&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/symbolic/SymbolicFactorGraph.cpp:32:18: required from here
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:165:90: error: no matching function for call to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::eliminatePartialMultifrontal(const std::vector<long unsigned int>&, const Eliminate&, gtsam::VariableIndex) const’
return eliminatePartialMultifrontal(variables, function, VariableIndex(asDerived()));
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:165:90: note: candidates are:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:134:5: note: std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(const gtsam::Ordering&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:134:5: note: no known conversion for argument 1 from ‘const std::vector<long unsigned int>’ to ‘const gtsam::Ordering&’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:152:5: note: std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(const std::vector<long unsigned int>&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:152:5: note: no known conversion for argument 3 from ‘gtsam::VariableIndex’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalVariableIndex {aka boost::optional<const gtsam::VariableIndex&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In instantiation of ‘boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType> gtsam::EliminateableFactorGraph<FACTORGRAPH>::marginalMultifrontalBayesTree(boost::variant<const gtsam::Ordering&, const std::vector<long unsigned int>&>, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering = boost::optional<const gtsam::Ordering&>; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/symbolic/SymbolicFactorGraph.cpp:32:18: required from here
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:282:121: error: no matching function for call to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::marginalMultifrontalBayesTree(boost::variant<const gtsam::Ordering&, const std::vector<long unsigned int>&>&, gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalOrdering&, const Eliminate&, gtsam::VariableIndex) const’
return marginalMultifrontalBayesTree(variables, marginalizedVariableOrdering, function, VariableIndex(asDerived()));
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:282:121: note: candidate is:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:231:5: note: boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType> gtsam::EliminateableFactorGraph<FACTORGRAPH>::marginalMultifrontalBayesTree(boost::variant<const gtsam::Ordering&, const std::vector<long unsigned int>&>, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering = boost::optional<const gtsam::Ordering&>; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::marginalMultifrontalBayesTree(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:231:5: note: no known conversion for argument 4 from ‘gtsam::VariableIndex’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalVariableIndex {aka boost::optional<const gtsam::VariableIndex&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In instantiation of ‘boost::shared_ptr<X> gtsam::EliminateableFactorGraph<FACTORGRAPH>::marginal(const std::vector<long unsigned int>&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/symbolic/SymbolicFactorGraph.cpp:32:18: required from here
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:307:70: error: no matching function for call to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::marginal(const std::vector<long unsigned int>&, const Eliminate&, gtsam::VariableIndex) const’
return marginal(variables, function, VariableIndex(asDerived()));
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:307:70: note: candidate is:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:289:5: note: boost::shared_ptr<X> gtsam::EliminateableFactorGraph<FACTORGRAPH>::marginal(const std::vector<long unsigned int>&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]
EliminateableFactorGraph<FACTORGRAPH>::marginal(
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:289:5: note: no known conversion for argument 3 from ‘gtsam::VariableIndex’ to ‘gtsam::EliminateableFactorGraph<gtsam::SymbolicFactorGraph>::OptionalVariableIndex {aka boost::optional<const gtsam::VariableIndex&>}’
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In member function ‘boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType> gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminateSequential(gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering = boost::optional<const gtsam::Ordering&>; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:58:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In member function ‘boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType> gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminateMultifrontal(gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering = boost::optional<const gtsam::Ordering&>; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:92:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In member function ‘std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(const gtsam::Ordering&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:109:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In member function ‘std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialSequential(const std::vector<long unsigned int>&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesNetType = gtsam::SymbolicBayesNet; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:129:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In member function ‘std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(const gtsam::Ordering&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:147:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In member function ‘std::pair<boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType>, boost::shared_ptr<X> > gtsam::EliminateableFactorGraph<FACTORGRAPH>::eliminatePartialMultifrontal(const std::vector<long unsigned int>&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:167:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In member function ‘boost::shared_ptr<typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType> gtsam::EliminateableFactorGraph<FACTORGRAPH>::marginalMultifrontalBayesTree(boost::variant<const gtsam::Ordering&, const std::vector<long unsigned int>&>, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; typename gtsam::EliminationTraits<FACTORGRAPH>::BayesTreeType = gtsam::SymbolicBayesTree; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalOrdering = boost::optional<const gtsam::Ordering&>; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:284:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h: In member function ‘boost::shared_ptr<X> gtsam::EliminateableFactorGraph<FACTORGRAPH>::marginal(const std::vector<long unsigned int>&, const Eliminate&, gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex) const [with FACTORGRAPH = gtsam::SymbolicFactorGraph; gtsam::EliminateableFactorGraph<FACTORGRAPH>::Eliminate = boost::function<std::pair<boost::shared_ptr<gtsam::SymbolicConditional>, boost::shared_ptr<gtsam::SymbolicFactor> >(const gtsam::SymbolicFactorGraph&, const gtsam::Ordering&)>; typename gtsam::EliminationTraits<FACTORGRAPH>::FactorType = gtsam::SymbolicFactor; typename gtsam::EliminationTraits<FACTORGRAPH>::ConditionalType = gtsam::SymbolicConditional; gtsam::EliminateableFactorGraph<FACTORGRAPH>::OptionalVariableIndex = boost::optional<const gtsam::VariableIndex&>]’:
/home/fx/deps/gtsam-3.2.1/gtsam/inference/EliminateableFactorGraph-inst.h:309:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [gtsam/CMakeFiles/gtsam.dir/symbolic/SymbolicFactorGraph.cpp.o] Error 1
make[1]: *** [gtsam/CMakeFiles/gtsam.dir/all] Error 2
make: *** [all] Error 2
Comments (3)
-
-
Has this issue been resolved?
-
- changed status to resolved
I tagged
3.2.2
, which works with recent boost. However, I encourage you to usedevelop
, which has many other fixes. - Log in to comment