You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a boost function reference missing and that is preventing compilation of gtsam, even though I want to compile without Boost. If I checkout d6581cdef98ed6acb263afca14d9ce579038ed47, the latest development before #1789 compilation progresses beyond the constrained-folder.
Ubuntu 24.04, GCC 13, no Boost installed systemwide.
Additional information
actual output:
[ 44%] Building CXX object gtsam/CMakeFiles/gtsam.dir/basis/Chebyshev.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/basis/Chebyshev2.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/constrained/InequalityPenaltyFunction.cpp.o
[ 46%] Building CXX object gtsam/CMakeFiles/gtsam.dir/constrained/NonlinearEqualityConstraint.cpp.o
In file included from /home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h:20,
from /home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.cpp:18:
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearConstraint.h: In member function ‘void gtsam::NonlinearConstraint::serialize(ARCHIVE&, unsigned int)’:
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearConstraint.h:85:31: error: ‘make_nvp’ is not a member of ‘boost::serialization’
85 | ar& boost::serialization::make_nvp("NonlinearConstraint",
| ^~~~~~~~
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h: In member function ‘void gtsam::NonlinearEqualityConstraint::serialize(ARCHIVE&, unsigned int)’:
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h:47:31: error: ‘make_nvp’ is not a member of ‘boost::serialization’
47 | ar& boost::serialization::make_nvp("NonlinearEqualityConstraint",
| ^~~~~~~~
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h: In member function ‘void gtsam::ExpressionEqualityConstraint<T>::serialize(ARCHIVE&, unsigned int)’:
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h:93:31: error: ‘make_nvp’ is not a member of ‘boost::serialization’
93 | ar& boost::serialization::make_nvp("ExpressionEqualityConstraint",
| ^~~~~~~~
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h:97:9: error: there are no arguments to ‘BOOST_SERIALIZATION_NVP’ that depend on a template parameter, so a declaration of ‘BOOST_SERIALIZATION_NVP’ must be available [-fpermissive]
97 | ar& BOOST_SERIALIZATION_NVP(dims_);
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h:97:9: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h: In member function ‘void gtsam::ZeroCostConstraint::serialize(ARCHIVE&, unsigned int)’:
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h:139:31: error: ‘make_nvp’ is not a member of ‘boost::serialization’
139 | ar& boost::serialization::make_nvp("ZeroCostConstraint",
| ^~~~~~~~
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h:141:9: error: there are no arguments to ‘BOOST_SERIALIZATION_NVP’ that depend on a template parameter, so a declaration of ‘BOOST_SERIALIZATION_NVP’ must be available [-fpermissive]
141 | ar& BOOST_SERIALIZATION_NVP(factor_);
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h: In member function ‘void gtsam::NonlinearEqualityConstraints::serialize(ARCHIVE&, unsigned int)’:
/home/thomas/libs/gtsam/gtsam/constrained/NonlinearEqualityConstraint.h:174:31: error: ‘make_nvp’ is not a member of ‘boost::serialization’
174 | ar& boost::serialization::make_nvp("NonlinearEqualityConstraints",
| ^~~~~~~~
The text was updated successfully, but these errors were encountered:
Description
There's a boost function reference missing and that is preventing compilation of gtsam, even though I want to compile without Boost. If I checkout
d6581cdef98ed6acb263afca14d9ce579038ed47
, the latest development before #1789 compilation progresses beyond the constrained-folder.Steps to reproduce
Expected behavior
A clean build
Environment
Ubuntu 24.04, GCC 13, no Boost installed systemwide.
Additional information
actual output:
The text was updated successfully, but these errors were encountered: