ruffsl

admm-slam error

Oct 18th, 2016
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.28 KB | None | 0 0
  1. Step 15 : RUN cmake .. && make -j1 && make check && make install && ldconfig
  2. ---> Running in 4547ec5cc723
  3. -- The C compiler identification is GNU 4.8.4
  4. -- The CXX compiler identification is GNU 4.8.4
  5. -- Check for working C compiler: /usr/bin/cc
  6. -- Check for working C compiler: /usr/bin/cc -- works
  7. -- Detecting C compiler ABI info
  8. -- Detecting C compiler ABI info - done
  9. -- Check for working CXX compiler: /usr/bin/c++
  10. -- Check for working CXX compiler: /usr/bin/c++ -- works
  11. -- Detecting CXX compiler ABI info
  12. -- Detecting CXX compiler ABI info - done
  13. -- GTSAM include directory: /usr/local/lib/cmake/GTSAM/../../../include
  14. GTSAM Libraries:
  15. -- Boost version: 1.54.0
  16. -- Found the following Boost libraries:
  17. -- serialization
  18. -- filesystem
  19. -- system
  20. -- program_options
  21. -- thread
  22. -- Configuring done
  23. -- Generating done
  24. -- Build files have been written to: /root/ws/admm-slam/cpp/build
  25. Scanning dependencies of target admm
  26. [ 33%] Building CXX object CMakeFiles/admm.dir/src/ADMM.cpp.o
  27. In file included from /root/ws/admm-slam/cpp/src/ADMM.h:24:0,
  28. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  29. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h: In member function 'virtual void gtsam::BiasedPriorFactor<VALUE, BIAS>::print(const string&, const KeyFormatter&) const':
  30. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:71:7: error: 'traits' was not declared in this scope
  31. traits<T>::Print(prior_, " prior mean: ");
  32. ^
  33. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:71:7: note: suggested alternatives:
  34. In file included from /usr/include/boost/serialization/type_info_implementation.hpp:27:0,
  35. from /usr/include/boost/serialization/tracking.hpp:32,
  36. from /usr/include/boost/serialization/nvp.hpp:32,
  37. from /usr/local/include/gtsam/geometry/Point2.h:20,
  38. from /usr/local/include/gtsam/nonlinear/NonlinearFactorGraph.h:24,
  39. from /root/ws/admm-slam/cpp/src/ADMM.h:4,
  40. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  41. /usr/include/boost/serialization/traits.hpp:52:8: note: 'boost::serialization::traits'
  42. struct traits : public basic_traits {
  43. ^
  44. In file included from /usr/local/include/gtsam/3rdparty/Eigen/Eigen/Core:252:0,
  45. from /usr/local/include/gtsam/3rdparty/Eigen/Eigen/Dense:1,
  46. from /usr/local/include/gtsam/3rdparty/gtsam_eigen_includes.h:25,
  47. from /usr/local/include/gtsam/base/Vector.h:27,
  48. from /usr/local/include/gtsam/base/Value.h:23,
  49. from /usr/local/include/gtsam/base/DerivedValue.h:20,
  50. from /usr/local/include/gtsam/geometry/Point2.h:22,
  51. from /usr/local/include/gtsam/nonlinear/NonlinearFactorGraph.h:24,
  52. from /root/ws/admm-slam/cpp/src/ADMM.h:4,
  53. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  54. /usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/util/ForwardDeclarations.h:17:29: note: 'Eigen::internal::traits'
  55. template<typename T> struct traits;
  56. ^
  57. In file included from /root/ws/admm-slam/cpp/src/ADMM.h:24:0,
  58. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  59. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:71:15: error: expected primary-expression before '>' token
  60. traits<T>::Print(prior_, " prior mean: ");
  61. ^
  62. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:71:16: error: '::Print' has not been declared
  63. traits<T>::Print(prior_, " prior mean: ");
  64. ^
  65. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h: In member function 'virtual bool gtsam::BiasedPriorFactor<VALUE, BIAS>::equals(const gtsam::NonlinearFactor&, double) const':
  66. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:78:52: error: 'traits' was not declared in this scope
  67. return e != NULL && Base::equals(*e, tol) && traits<T>::Equals(prior_, e->prior_, tol);
  68. ^
  69. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:78:52: note: suggested alternatives:
  70. In file included from /usr/include/boost/serialization/type_info_implementation.hpp:27:0,
  71. from /usr/include/boost/serialization/tracking.hpp:32,
  72. from /usr/include/boost/serialization/nvp.hpp:32,
  73. from /usr/local/include/gtsam/geometry/Point2.h:20,
  74. from /usr/local/include/gtsam/nonlinear/NonlinearFactorGraph.h:24,
  75. from /root/ws/admm-slam/cpp/src/ADMM.h:4,
  76. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  77. /usr/include/boost/serialization/traits.hpp:52:8: note: 'boost::serialization::traits'
  78. struct traits : public basic_traits {
  79. ^
  80. In file included from /usr/local/include/gtsam/3rdparty/Eigen/Eigen/Core:252:0,
  81. from /usr/local/include/gtsam/3rdparty/Eigen/Eigen/Dense:1,
  82. from /usr/local/include/gtsam/3rdparty/gtsam_eigen_includes.h:25,
  83. from /usr/local/include/gtsam/base/Vector.h:27,
  84. from /usr/local/include/gtsam/base/Value.h:23,
  85. from /usr/local/include/gtsam/base/DerivedValue.h:20,
  86. from /usr/local/include/gtsam/geometry/Point2.h:22,
  87. from /usr/local/include/gtsam/nonlinear/NonlinearFactorGraph.h:24,
  88. from /root/ws/admm-slam/cpp/src/ADMM.h:4,
  89. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  90. /usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/util/ForwardDeclarations.h:17:29: note: 'Eigen::internal::traits'
  91. template<typename T> struct traits;
  92. ^
  93. In file included from /root/ws/admm-slam/cpp/src/ADMM.h:24:0,
  94. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  95. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:78:60: error: expected primary-expression before '>' token
  96. return e != NULL && Base::equals(*e, tol) && traits<T>::Equals(prior_, e->prior_, tol);
  97. ^
  98. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:78:61: error: '::Equals' has not been declared
  99. return e != NULL && Base::equals(*e, tol) && traits<T>::Equals(prior_, e->prior_, tol);
  100. ^
  101. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h: In member function 'gtsam::Vector gtsam::BiasedPriorFactor<VALUE, BIAS>::evaluateError(const T&, boost::optional<Eigen::Matrix<double, -1, -1>&>) const':
  102. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:85:25: error: 'traits' was not declared in this scope
  103. if (H) (*H) = eye(traits<T>::GetDimension(p));
  104. ^
  105. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:85:25: note: suggested alternatives:
  106. In file included from /usr/include/boost/serialization/type_info_implementation.hpp:27:0,
  107. from /usr/include/boost/serialization/tracking.hpp:32,
  108. from /usr/include/boost/serialization/nvp.hpp:32,
  109. from /usr/local/include/gtsam/geometry/Point2.h:20,
  110. from /usr/local/include/gtsam/nonlinear/NonlinearFactorGraph.h:24,
  111. from /root/ws/admm-slam/cpp/src/ADMM.h:4,
  112. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  113. /usr/include/boost/serialization/traits.hpp:52:8: note: 'boost::serialization::traits'
  114. struct traits : public basic_traits {
  115. ^
  116. In file included from /usr/local/include/gtsam/3rdparty/Eigen/Eigen/Core:252:0,
  117. from /usr/local/include/gtsam/3rdparty/Eigen/Eigen/Dense:1,
  118. from /usr/local/include/gtsam/3rdparty/gtsam_eigen_includes.h:25,
  119. from /usr/local/include/gtsam/base/Vector.h:27,
  120. from /usr/local/include/gtsam/base/Value.h:23,
  121. from /usr/local/include/gtsam/base/DerivedValue.h:20,
  122. from /usr/local/include/gtsam/geometry/Point2.h:22,
  123. from /usr/local/include/gtsam/nonlinear/NonlinearFactorGraph.h:24,
  124. from /root/ws/admm-slam/cpp/src/ADMM.h:4,
  125. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  126. /usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/util/ForwardDeclarations.h:17:29: note: 'Eigen::internal::traits'
  127. template<typename T> struct traits;
  128. ^
  129. In file included from /root/ws/admm-slam/cpp/src/ADMM.h:24:0,
  130. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  131. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:85:33: error: expected primary-expression before '>' token
  132. if (H) (*H) = eye(traits<T>::GetDimension(p));
  133. ^
  134. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:85:34: error: '::GetDimension' has not been declared
  135. if (H) (*H) = eye(traits<T>::GetDimension(p));
  136. ^
  137. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:88:21: error: 'traits' was not declared in this scope
  138. Vector rval = traits<T>::Local(prior_,p);
  139. ^
  140. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:88:21: note: suggested alternatives:
  141. In file included from /usr/include/boost/serialization/type_info_implementation.hpp:27:0,
  142. from /usr/include/boost/serialization/tracking.hpp:32,
  143. from /usr/include/boost/serialization/nvp.hpp:32,
  144. from /usr/local/include/gtsam/geometry/Point2.h:20,
  145. from /usr/local/include/gtsam/nonlinear/NonlinearFactorGraph.h:24,
  146. from /root/ws/admm-slam/cpp/src/ADMM.h:4,
  147. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  148. /usr/include/boost/serialization/traits.hpp:52:8: note: 'boost::serialization::traits'
  149. struct traits : public basic_traits {
  150. ^
  151. In file included from /usr/local/include/gtsam/3rdparty/Eigen/Eigen/Core:252:0,
  152. from /usr/local/include/gtsam/3rdparty/Eigen/Eigen/Dense:1,
  153. from /usr/local/include/gtsam/3rdparty/gtsam_eigen_includes.h:25,
  154. from /usr/local/include/gtsam/base/Vector.h:27,
  155. from /usr/local/include/gtsam/base/Value.h:23,
  156. from /usr/local/include/gtsam/base/DerivedValue.h:20,
  157. from /usr/local/include/gtsam/geometry/Point2.h:22,
  158. from /usr/local/include/gtsam/nonlinear/NonlinearFactorGraph.h:24,
  159. from /root/ws/admm-slam/cpp/src/ADMM.h:4,
  160. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  161. /usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/util/ForwardDeclarations.h:17:29: note: 'Eigen::internal::traits'
  162. template<typename T> struct traits;
  163. ^
  164. In file included from /root/ws/admm-slam/cpp/src/ADMM.h:24:0,
  165. from /root/ws/admm-slam/cpp/src/ADMM.cpp:1:
  166. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:88:29: error: expected primary-expression before '>' token
  167. Vector rval = traits<T>::Local(prior_,p);
  168. ^
  169. /root/ws/admm-slam/cpp/src/BiasedPriorFactor.h:88:30: error: '::Local' has not been declared
  170. Vector rval = traits<T>::Local(prior_,p);
  171. ^
  172. make[2]: *** [CMakeFiles/admm.dir/src/ADMM.cpp.o] Error 1
  173. make[1]: *** [CMakeFiles/admm.dir/all] Error 2
  174. make: *** [all] Error 2
  175. The command '/bin/sh -c cmake .. && make -j1 && make check && make install && ldconfig' returned a non-zero code: 2
  176. Makefile:13: recipe for target 'build' failed
  177. make: *** [build] Error 2
Advertisement
Add Comment
Please, Sign In to add comment