Omnimapper make errors
LiliMeng opened this issue · 42 comments
Hi,
Thanks for contributing omnimapper! There are some following compiling errors. Could anyone provide some suggestions? Many thanks in advance!
make[2]: *** [CMakeFiles/omnimapper.dir/plugins/src/icp_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/omnimapper.dir/all] Error 2
make: *** [all] Error 2
Hi Lili, was there any additional output from the compiler? If so, could you please post it here?
Thanks a lot! I followed the instructions and compiled it from both my laptop and desktop. The following are the output of executing $make -j4.
from /usr/local/include/pcl-1.8/pcl/sample_consensus/eigen.h:48,
from /usr/local/include/pcl-1.8/pcl/sample_consensus/sac_model_registration.h:44,
from /usr/local/include/pcl-1.8/pcl/registration/icp.h:46,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: At global scope:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:89:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:89:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:100:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:100:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:105:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:105:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: In constructor ‘Eigen::LevenbergMarquardt<FunctorType, Scalar>::Parameters::Parameters()’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:72:20: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:72:20: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:73:20: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:73:20: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
In file included from /usr/include/eigen3/unsupported/Eigen/NonLinearOptimization:148:0,
from /usr/local/include/pcl-1.8/pcl/sample_consensus/eigen.h:48,
from /usr/local/include/pcl-1.8/pcl/sample_consensus/sac_model_registration.h:44,
from /usr/local/include/pcl-1.8/pcl/registration/icp.h:46,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: In member function ‘Eigen::LevenbergMarquardtSpace::Status Eigen::LevenbergMarquardt<FunctorType, Scalar>::minimizeOneStep(Eigen::LevenbergMarquardt<FunctorType, Scalar>::FVectorType&)’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:266:43: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:266:43: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:299:27: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:299:27: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:304:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:304:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:343:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:343:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:345:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:345:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:353:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:353:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: In member function ‘Eigen::LevenbergMarquardtSpace::Status Eigen::LevenbergMarquardt<FunctorType, Scalar>::minimizeOptimumStorageOneStep(Eigen::LevenbergMarquardt<FunctorType, Scalar>::FVectorType&)’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:513:43: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:513:43: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:546:27: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:546:27: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:551:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:551:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:590:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:590:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:592:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:592:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:600:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:600:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
In file included from /usr/include/eigen3/unsupported/Eigen/Polynomials:35:0,
from /usr/local/include/pcl-1.8/pcl/registration/eigen.h:49,
from /usr/local/include/pcl-1.8/pcl/registration/impl/correspondence_types.hpp:44,
from /usr/local/include/pcl-1.8/pcl/registration/correspondence_types.h:77,
from /usr/local/include/pcl-1.8/pcl/registration/transformation_estimation.h:45,
from /usr/local/include/pcl-1.8/pcl/registration/registration.h:51,
from /usr/local/include/pcl-1.8/pcl/registration/icp.h:47,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h: In function ‘T Eigen::poly_eval(const Polynomials&, const T&)’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:63:7: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:63:7: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h: In function ‘typename Eigen::NumTraits::Real Eigen::cauchy_max_bound(const Polynomial&)’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:98:11: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:98:11: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/flann/algorithms/dist.h:51:10: note: ‘flann::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h: In function ‘typename Eigen::NumTraits::Real Eigen::cauchy_min_bound(const Polynomial&)’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:123:11: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:123:11: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/flann/algorithms/dist.h:51:10: note: ‘flann::abs’
In file included from /usr/include/eigen3/unsupported/Eigen/Polynomials:37:0,
from /usr/local/include/pcl-1.8/pcl/registration/eigen.h:49,
from /usr/local/include/pcl-1.8/pcl/registration/impl/correspondence_types.hpp:44,
from /usr/local/include/pcl-1.8/pcl/registration/correspondence_types.h:77,
from /usr/local/include/pcl-1.8/pcl/registration/transformation_estimation.h:45,
from /usr/local/include/pcl-1.8/pcl/registration/registration.h:51,
from /usr/local/include/pcl-1.8/pcl/registration/icp.h:47,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘void Eigen::PolynomialSolverBase<_Scalar, _Deg>::realRoots(Stl_back_insertion_sequence&, const RealScalar&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:88:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:88:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/flann/algorithms/dist.h:51:10: note: ‘flann::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘const RootType& Eigen::PolynomialSolverBase<_Scalar, _Deg>::selectComplexRoot_withRespectToNorm(squaredNormBinaryPredicate&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:98:26: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:98:26: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:101:38: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:101:38: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘const RealScalar& Eigen::PolynomialSolverBase<_Scalar, _Deg>::selectRealRoot_withRespectToAbsRealPart(squaredRealPartBinaryPredicate&, bool&, const RealScalar&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:140:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:140:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/flann/algorithms/dist.h:51:10: note: ‘flann::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:15: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:15: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/flann/algorithms/dist.h:51:10: note: ‘flann::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:52: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:52: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/flann/algorithms/dist.h:51:10: note: ‘flann::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:164:14: error: ‘real_ref’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:164:14: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:569:48: note: ‘Eigen::numext::real_ref’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘const RealScalar& Eigen::PolynomialSolverBase<_Scalar, _Deg>::selectRealRoot_withRespectToRealPart(RealPartBinaryPredicate&, bool&, const RealScalar&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:180:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:180:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/flann/algorithms/dist.h:51:10: note: ‘flann::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:15: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:15: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/flann/algorithms/dist.h:51:10: note: ‘flann::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:52: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:52: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/flann/algorithms/dist.h:51:10: note: ‘flann::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:204:14: error: ‘real_ref’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:204:14: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:569:48: note: ‘Eigen::numext::real_ref’
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::registerClouds(omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudPtr&, Eigen::Matrix4f&, double&) [with PointT = pcl::PointXYZ, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >, omnimapper::ICPPoseMeasurementPlugin::CloudPtr = boost::shared_ptrpcl::PointCloud<pcl::PointXYZ >, Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:411:7: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ, PointTarget = pcl::PointXYZ, pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >]’ is deprecated (declared at /usr/local/include/pcl-1.8/pcl/registration/impl/gicp.hpp:48): [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:425:7: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ, PointTarget = pcl::PointXYZ, Scalar = float, pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >]’ is deprecated (declared at /usr/local/include/pcl-1.8/pcl/registration/impl/registration.hpp:43): [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::tryLoopClosure(gtsam::Symbol) [with PointT = pcl::PointXYZ]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:487:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::ready() [with PointT = pcl::PointXYZ]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:531:7: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘int’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::registerClouds(omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudPtr&, Eigen::Matrix4f&, double&) [with PointT = pcl::PointXYZRGBA, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >, omnimapper::ICPPoseMeasurementPlugin::CloudPtr = boost::shared_ptrpcl::PointCloud<pcl::PointXYZRGBA >, Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:411:7: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZRGBA, PointTarget = pcl::PointXYZRGBA, pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >]’ is deprecated (declared at /usr/local/include/pcl-1.8/pcl/registration/impl/gicp.hpp:48): [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:425:7: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZRGBA, PointTarget = pcl::PointXYZRGBA, Scalar = float, pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >]’ is deprecated (declared at /usr/local/include/pcl-1.8/pcl/registration/impl/registration.hpp:43): [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::tryLoopClosure(gtsam::Symbol) [with PointT = pcl::PointXYZRGBA]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:487:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::ready() [with PointT = pcl::PointXYZRGBA]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:531:7: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘int’ [-Wformat]
make[2]: *** [CMakeFiles/omnimapper.dir/plugins/src/icp_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/omnimapper.dir/all] Error 2
make: *** [all] Error 2
Hi Alex, could you please post the output of your compile process, so that I can compare it and see what the problem is. Thanks
cc1plus: error: unrecognized command line option ‘-std=c++11’
make[2]: *** [organized_segmentation_tools_dev/CMakeFiles/organized_segmentation_tools.dir/src/organized_segmentation_tbb.cpp.o] Error 1
make[1]: *** [organized_segmentation_tools_dev/CMakeFiles/organized_segmentation_tools.dir/all] Error 2
OmniMapper has not yet bene updated for use with PCL-1.8. You need to use PCL-1.7 —Henrik
--
Henrik Christensen, Ph.D., Dr. Techn. h.c., KUKA Chair of Robotics,
Executive Director, Institute for Robotics and Intelligent Machines,
Distinguished Professor, Interactive Computing, College of Computing
Georgia Tech, 801 Atlantic Dr, Atlanta, GA 30332-0280, USA
Tel: +1 404-385-7480 | Mobile: +1 404-889-2500 | Home: +1 404 824 7584
http://www.cc.gatech.edu/~hic | Twitter | Linkedin | About Me
Assistant: Nina White - 404 385 3300 - nwhite@cc.gatech.edu
On October 29, 2014 at 9:20:45 PM, LiliMeng (notifications@github.com) wrote:
cc1plus: error: unrecognized command line option ‘-std=c++11’
make[2]: *** [organized_segmentation_tools_dev/CMakeFiles/organized_segmentation_tools.dir/src/organized_segmentation_tbb.cpp.o] Error 1
make[1]: *** [organized_segmentation_tools_dev/CMakeFiles/organized_segmentation_tools.dir/all] Error 2
—
Reply to this email directly or view it on GitHub.
Hi Lili,
The error is also caused due the conflict between the Eigen versions used by PCL and GTSAM. To resolve this you have to recompile PCL using GTSAM's Eigen.
This can be done by running the following commands in PCL build directory:
cmake -DEIGEN_INCLUDE_DIR="PATH_TO_GTSAM/gtsam/3rdparty/Eigen" ..
make -j4
sudo make install
The same has to be done while compiling omnimapper too in order to make sure that all the components use the same Eigen version. This is a temporary Eigen issue which we hope will get resolved soon.
Let us know if you are still unable to compile it.
Thanks a lot for all your kind suggestions!
I am trying to unintall pcl 1.8 and reinstall pcl1.7 now:)
It's better to change the Dependences&Installation document ( https://github.com/CognitiveRobotics/omnimapper/wiki/Dependencies-&-Installation) As if execute $ git clone https://github.com/PointCloudLibrary/pcl.git The default version is PCL 1.8.
It seems that pcl version is changed to 1.7 and the cmake path, it still existis problem. Thanks for your time and help!
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:532:17: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:532:17: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
In file included from /usr/include/eigen3/unsupported/Eigen/NonLinearOptimization:148:0,
from /usr/include/pcl-1.7/pcl/sample_consensus/eigen.h:48,
from /usr/include/pcl-1.7/pcl/sample_consensus/sac_model_registration.h:44,
from /usr/include/pcl-1.7/pcl/registration/icp.h:46,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: At global scope:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:89:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:89:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:100:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:100:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:105:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:105:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: In constructor ‘Eigen::LevenbergMarquardt<FunctorType, Scalar>::Parameters::Parameters()’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:72:20: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:72:20: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:73:20: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:73:20: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
In file included from /usr/include/eigen3/unsupported/Eigen/NonLinearOptimization:148:0,
from /usr/include/pcl-1.7/pcl/sample_consensus/eigen.h:48,
from /usr/include/pcl-1.7/pcl/sample_consensus/sac_model_registration.h:44,
from /usr/include/pcl-1.7/pcl/registration/icp.h:46,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: In member function ‘Eigen::LevenbergMarquardtSpace::Status Eigen::LevenbergMarquardt<FunctorType, Scalar>::minimizeOneStep(Eigen::LevenbergMarquardt<FunctorType, Scalar>::FVectorType&)’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:266:43: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:266:43: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:299:27: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:299:27: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:304:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:304:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:343:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:343:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:345:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:345:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:353:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:353:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: In member function ‘Eigen::LevenbergMarquardtSpace::Status Eigen::LevenbergMarquardt<FunctorType, Scalar>::minimizeOptimumStorageOneStep(Eigen::LevenbergMarquardt<FunctorType, Scalar>::FVectorType&)’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:513:43: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:513:43: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:546:27: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:546:27: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:551:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:551:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:590:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:590:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:592:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:592:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:600:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:600:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
In file included from /usr/include/eigen3/unsupported/Eigen/Polynomials:35:0,
from /usr/include/pcl-1.7/pcl/registration/eigen.h:49,
from /usr/include/pcl-1.7/pcl/registration/impl/correspondence_types.hpp:44,
from /usr/include/pcl-1.7/pcl/registration/correspondence_types.h:77,
from /usr/include/pcl-1.7/pcl/registration/transformation_estimation.h:45,
from /usr/include/pcl-1.7/pcl/registration/registration.h:51,
from /usr/include/pcl-1.7/pcl/registration/icp.h:47,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h: In function ‘T Eigen::poly_eval(const Polynomials&, const T&)’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:63:7: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:63:7: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h: In function ‘typename Eigen::NumTraits::Real Eigen::cauchy_max_bound(const Polynomial&)’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:98:11: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:98:11: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h: In function ‘typename Eigen::NumTraits::Real Eigen::cauchy_min_bound(const Polynomial&)’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:123:11: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:123:11: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
In file included from /usr/include/eigen3/unsupported/Eigen/Polynomials:37:0,
from /usr/include/pcl-1.7/pcl/registration/eigen.h:49,
from /usr/include/pcl-1.7/pcl/registration/impl/correspondence_types.hpp:44,
from /usr/include/pcl-1.7/pcl/registration/correspondence_types.h:77,
from /usr/include/pcl-1.7/pcl/registration/transformation_estimation.h:45,
from /usr/include/pcl-1.7/pcl/registration/registration.h:51,
from /usr/include/pcl-1.7/pcl/registration/icp.h:47,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘void Eigen::PolynomialSolverBase<_Scalar, _Deg>::realRoots(Stl_back_insertion_sequence&, const RealScalar&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:88:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:88:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘const RootType& Eigen::PolynomialSolverBase<_Scalar, _Deg>::selectComplexRoot_withRespectToNorm(squaredNormBinaryPredicate&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:98:26: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:98:26: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:101:38: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:101:38: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘const RealScalar& Eigen::PolynomialSolverBase<_Scalar, _Deg>::selectRealRoot_withRespectToAbsRealPart(squaredRealPartBinaryPredicate&, bool&, const RealScalar&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:140:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:140:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:15: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:15: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:52: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:52: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:164:14: error: ‘real_ref’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:164:14: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:569:48: note: ‘Eigen::numext::real_ref’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘const RealScalar& Eigen::PolynomialSolverBase<_Scalar, _Deg>::selectRealRoot_withRespectToRealPart(RealPartBinaryPredicate&, bool&, const RealScalar&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:180:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:180:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:15: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:15: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:52: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:52: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:204:14: error: ‘real_ref’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:204:14: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:569:48: note: ‘Eigen::numext::real_ref’
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::registerClouds(omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudPtr&, Eigen::Matrix4f&, double&) [with PointT = pcl::PointXYZ, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >, omnimapper::ICPPoseMeasurementPlugin::CloudPtr = boost::shared_ptrpcl::PointCloud<pcl::PointXYZ >, Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:411:7: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ, PointTarget = pcl::PointXYZ, pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >]’ is deprecated (declared at /usr/include/pcl-1.7/pcl/registration/impl/gicp.hpp:48): [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:425:7: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ, PointTarget = pcl::PointXYZ, Scalar = float, pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >]’ is deprecated (declared at /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43): [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::tryLoopClosure(gtsam::Symbol) [with PointT = pcl::PointXYZ]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:487:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::ready() [with PointT = pcl::PointXYZ]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:531:7: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘int’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::registerClouds(omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudPtr&, Eigen::Matrix4f&, double&) [with PointT = pcl::PointXYZRGBA, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >, omnimapper::ICPPoseMeasurementPlugin::CloudPtr = boost::shared_ptrpcl::PointCloud<pcl::PointXYZRGBA >, Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:411:7: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZRGBA, PointTarget = pcl::PointXYZRGBA, pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >]’ is deprecated (declared at /usr/include/pcl-1.7/pcl/registration/impl/gicp.hpp:48): [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:425:7: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZRGBA, PointTarget = pcl::PointXYZRGBA, Scalar = float, pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >]’ is deprecated (declared at /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43): [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::tryLoopClosure(gtsam::Symbol) [with PointT = pcl::PointXYZRGBA]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:487:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::ready() [with PointT = pcl::PointXYZRGBA]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:531:7: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘int’ [-Wformat]
make[2]: *** [CMakeFiles/omnimapper.dir/plugins/src/icp_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/omnimapper.dir/all] Error 2
make: *** [all] Error 2
Hi Lili, The above pasted lines contain only warnings. Can you paste the actual errors it produced? Thanks.
Thanks a lot!
I only find some Eigen errors, and cannot find this error (make[2]: *** [CMakeFiles/omnimapper.dir/plugins/src/icp_plugin.cpp.o] Error 1)
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:52: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:204:14: error: ‘real_ref’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:101:38: error: ‘abs2’ is not a member of ‘Eigen::internal’
Sorry but I'm not able to determine whether it was PCL or Omnimapper which caused these Eigen errors. Can you post the complete output of the compilation process? Thanks.
[ 14%] [ 28%] [ 42%] Building CXX object organized_segmentation_tools_dev/CMakeFiles/organized_segmentation_tools.dir/src/organized_segmentation_tbb.cpp.o
Building CXX object CMakeFiles/omnimapper.dir/base/src/time.cpp.o
[ 57%] cc1plus: error: unrecognized command line option ‘-std=c++11’
make[2]: *** [organized_segmentation_tools_dev/CMakeFiles/organized_segmentation_tools.dir/src/organized_segmentation_tbb.cpp.o] Error 1
make[1]: *** [organized_segmentation_tools_dev/CMakeFiles/organized_segmentation_tools.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Building CXX object CMakeFiles/omnimapper.dir/plugins/src/icp_plugin.cpp.o
Building CXX object CMakeFiles/omnimapper.dir/plugins/src/no_motion_pose_plugin.cpp.o
/home/meng/workspace/omnimapper-master/base/src/time.cpp: In function ‘boost::posix_time::ptime omnimapper::stamp2ptime(uint64_t)’:
/home/meng/workspace/omnimapper-master/base/src/time.cpp:26:44: error: ‘printf’ was not declared in this scope
make[2]: *** [CMakeFiles/omnimapper.dir/base/src/time.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/meng/workspace/omnimapper-master/plugins/include/omnimapper/no_motion_pose_plugin.h:6:0,
from /home/meng/workspace/omnimapper-master/plugins/src/no_motion_pose_plugin.cpp:1:
/home/meng/workspace/omnimapper-master/base/include/omnimapper/pose_plugin.h:21:86: error: ‘boost::posix_time’ has not been declared
/home/meng/workspace/omnimapper-master/base/include/omnimapper/pose_plugin.h:21:104: error: expected ‘,’ or ‘...’ before ‘t1’
/home/meng/workspace/omnimapper-master/plugins/src/no_motion_pose_plugin.cpp: In member function ‘gtsam::BetweenFactorgtsam::Pose3::shared_ptr omnimapper::NoMotionPosePlugin::addRelativePose(boost::posix_time::ptime, gtsam::Symbol, boost::posix_time::ptime, gtsam::Symbol)’:
/home/meng/workspace/omnimapper-master/plugins/src/no_motion_pose_plugin.cpp:16:98: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/no_motion_pose_plugin.cpp:16:98: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::size_t {aka long unsigned int}’ [-Wformat]
In file included from /home/meng/workspace/omnimapper-master/plugins/include/omnimapper/icp_plugin.h:41:0,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:39:
/home/meng/workspace/omnimapper-master/base/include/omnimapper/pose_plugin.h:21:86: error: ‘boost::posix_time’ has not been declared
/home/meng/workspace/omnimapper-master/base/include/omnimapper/pose_plugin.h:21:104: error: expected ‘,’ or ‘...’ before ‘t1’
make[2]: *** [CMakeFiles/omnimapper.dir/plugins/src/no_motion_pose_plugin.cpp.o] Error 1
In file included from /usr/include/eigen3/unsupported/Eigen/NumericalDiff:64:0,
from /usr/include/eigen3/unsupported/Eigen/NonLinearOptimization:33,
from /usr/include/pcl-1.7/pcl/sample_consensus/eigen.h:48,
from /usr/include/pcl-1.7/pcl/sample_consensus/sac_model_registration.h:44,
from /usr/include/pcl-1.7/pcl/registration/icp.h:46,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h: In member function ‘int Eigen::NumericalDiff<_Functor, mode>::df(const InputType&, Eigen::NumericalDiff<_Functor, mode>::JacobianType&) const’:
/usr/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h:83:28: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h:83:28: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h:105:23: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h:105:23: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
In file included from /usr/include/eigen3/unsupported/Eigen/NonLinearOptimization:147:0,
from /usr/include/pcl-1.7/pcl/sample_consensus/eigen.h:48,
from /usr/include/pcl-1.7/pcl/sample_consensus/sac_model_registration.h:44,
from /usr/include/pcl-1.7/pcl/registration/icp.h:46,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h: At global scope:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:86:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:86:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:95:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:95:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h: In constructor ‘Eigen::HybridNonLinearSolver<FunctorType, Scalar>::Parameters::Parameters()’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:68:20: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:68:20: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
In file included from /usr/include/eigen3/unsupported/Eigen/NonLinearOptimization:147:0,
from /usr/include/pcl-1.7/pcl/sample_consensus/eigen.h:48,
from /usr/include/pcl-1.7/pcl/sample_consensus/sac_model_registration.h:44,
from /usr/include/pcl-1.7/pcl/registration/icp.h:46,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h: In member function ‘Eigen::HybridNonLinearSolverSpace::Status Eigen::HybridNonLinearSolver<FunctorType, Scalar>::solveOneStep(Eigen::HybridNonLinearSolver<FunctorType, Scalar>::FVectorType&)’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:268:27: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:268:27: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:275:27: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:275:27: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:292:17: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:292:17: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h: In member function ‘Eigen::HybridNonLinearSolverSpace::Status Eigen::HybridNonLinearSolver<FunctorType, Scalar>::solveNumericalDiffOneStep(Eigen::HybridNonLinearSolver<FunctorType, Scalar>::FVectorType&)’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:508:27: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:508:27: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:515:27: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:515:27: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:532:17: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h:532:17: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
In file included from /usr/include/eigen3/unsupported/Eigen/NonLinearOptimization:148:0,
from /usr/include/pcl-1.7/pcl/sample_consensus/eigen.h:48,
from /usr/include/pcl-1.7/pcl/sample_consensus/sac_model_registration.h:44,
from /usr/include/pcl-1.7/pcl/registration/icp.h:46,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: At global scope:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:89:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:89:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:100:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:100:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:105:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:105:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: In constructor ‘Eigen::LevenbergMarquardt<FunctorType, Scalar>::Parameters::Parameters()’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:72:20: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:72:20: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:73:20: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:73:20: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
In file included from /usr/include/eigen3/unsupported/Eigen/NonLinearOptimization:148:0,
from /usr/include/pcl-1.7/pcl/sample_consensus/eigen.h:48,
from /usr/include/pcl-1.7/pcl/sample_consensus/sac_model_registration.h:44,
from /usr/include/pcl-1.7/pcl/registration/icp.h:46,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: In member function ‘Eigen::LevenbergMarquardtSpace::Status Eigen::LevenbergMarquardt<FunctorType, Scalar>::minimizeOneStep(Eigen::LevenbergMarquardt<FunctorType, Scalar>::FVectorType&)’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:266:43: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:266:43: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:299:27: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:299:27: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:304:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:304:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:305:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:343:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:343:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:345:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:345:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:353:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:353:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h: In member function ‘Eigen::LevenbergMarquardtSpace::Status Eigen::LevenbergMarquardt<FunctorType, Scalar>::minimizeOptimumStorageOneStep(Eigen::LevenbergMarquardt<FunctorType, Scalar>::FVectorType&)’:
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:513:43: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:513:43: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:546:27: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:546:27: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:551:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:551:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:17: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:17: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:552:32: note: suggested alternatives:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/bits/valarray_after.h:456:5: note: ‘std::sqrt’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:590:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:590:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:592:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:592:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:600:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h:600:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
In file included from /usr/include/eigen3/unsupported/Eigen/Polynomials:35:0,
from /usr/include/pcl-1.7/pcl/registration/eigen.h:49,
from /usr/include/pcl-1.7/pcl/registration/impl/correspondence_types.hpp:44,
from /usr/include/pcl-1.7/pcl/registration/correspondence_types.h:77,
from /usr/include/pcl-1.7/pcl/registration/transformation_estimation.h:45,
from /usr/include/pcl-1.7/pcl/registration/registration.h:51,
from /usr/include/pcl-1.7/pcl/registration/icp.h:47,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h: In function ‘T Eigen::poly_eval(const Polynomials&, const T&)’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:63:7: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:63:7: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h: In function ‘typename Eigen::NumTraits::Real Eigen::cauchy_max_bound(const Polynomial&)’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:98:11: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:98:11: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h: In function ‘typename Eigen::NumTraits::Real Eigen::cauchy_min_bound(const Polynomial&)’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:123:11: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h:123:11: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
In file included from /usr/include/eigen3/unsupported/Eigen/Polynomials:37:0,
from /usr/include/pcl-1.7/pcl/registration/eigen.h:49,
from /usr/include/pcl-1.7/pcl/registration/impl/correspondence_types.hpp:44,
from /usr/include/pcl-1.7/pcl/registration/correspondence_types.h:77,
from /usr/include/pcl-1.7/pcl/registration/transformation_estimation.h:45,
from /usr/include/pcl-1.7/pcl/registration/registration.h:51,
from /usr/include/pcl-1.7/pcl/registration/icp.h:47,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:43:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘void Eigen::PolynomialSolverBase<_Scalar, _Deg>::realRoots(Stl_back_insertion_sequence&, const RealScalar&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:88:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:88:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘const RootType& Eigen::PolynomialSolverBase<_Scalar, _Deg>::selectComplexRoot_withRespectToNorm(squaredNormBinaryPredicate&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:98:26: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:98:26: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:101:38: error: ‘abs2’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:101:38: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:599:44: note: ‘Eigen::numext::abs2’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘const RealScalar& Eigen::PolynomialSolverBase<_Scalar, _Deg>::selectRealRoot_withRespectToAbsRealPart(squaredRealPartBinaryPredicate&, bool&, const RealScalar&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:140:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:140:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:15: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:15: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:52: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:160:52: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:164:14: error: ‘real_ref’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:164:14: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:569:48: note: ‘Eigen::numext::real_ref’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h: In member function ‘const RealScalar& Eigen::PolynomialSolverBase<_Scalar, _Deg>::selectRealRoot_withRespectToRealPart(RealPartBinaryPredicate&, bool&, const RealScalar&) const’:
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:180:13: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:180:13: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:15: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:15: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:52: error: ‘abs’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:200:52: note: suggested alternatives:
/usr/include/stdlib.h:771:12: note: ‘abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/cstdlib:173:3: note: ‘__gnu_cxx::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/include/c++/4.6/bits/valarray_after.h:443:5: note: ‘std::abs’
/usr/local/include/gtsam/base/Vector.h:251:21: note: ‘gtsam::abs’
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/GlobalFunctions.h:50:3: note: ‘Eigen::abs’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:204:14: error: ‘real_ref’ is not a member of ‘Eigen::internal’
/usr/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h:204:14: note: suggested alternative:
/usr/local/include/gtsam/3rdparty/Eigen/Eigen/src/Core/MathFunctions.h:569:48: note: ‘Eigen::numext::real_ref’
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::registerClouds(omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudPtr&, Eigen::Matrix4f&, double&) [with PointT = pcl::PointXYZ, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >, omnimapper::ICPPoseMeasurementPlugin::CloudPtr = boost::shared_ptrpcl::PointCloud<pcl::PointXYZ >, Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:411:7: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ, PointTarget = pcl::PointXYZ, pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >]’ is deprecated (declared at /usr/include/pcl-1.7/pcl/registration/impl/gicp.hpp:48): [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:425:7: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ, PointTarget = pcl::PointXYZ, Scalar = float, pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >]’ is deprecated (declared at /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43): [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::tryLoopClosure(gtsam::Symbol) [with PointT = pcl::PointXYZ]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:487:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::ready() [with PointT = pcl::PointXYZ]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:531:7: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘int’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::registerClouds(omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudPtr&, Eigen::Matrix4f&, double&) [with PointT = pcl::PointXYZRGBA, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >, omnimapper::ICPPoseMeasurementPlugin::CloudPtr = boost::shared_ptrpcl::PointCloud<pcl::PointXYZRGBA >, Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:411:7: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZRGBA, PointTarget = pcl::PointXYZRGBA, pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >]’ is deprecated (declared at /usr/include/pcl-1.7/pcl/registration/impl/gicp.hpp:48): [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:425:7: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZRGBA, PointTarget = pcl::PointXYZRGBA, Scalar = float, pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >]’ is deprecated (declared at /usr/include/pcl-1.7/pcl/registration/impl/registration.hpp:43): [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::tryLoopClosure(gtsam::Symbol) [with PointT = pcl::PointXYZRGBA]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:487:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::ready() [with PointT = pcl::PointXYZRGBA]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:531:7: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘int’ [-Wformat]
make[2]: *** [CMakeFiles/omnimapper.dir/plugins/src/icp_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/omnimapper.dir/all] Error 2
make: *** [all] Error 2
Hi Lili,
It seems omnimapper is linked against the system install of Eigen. Can you make sure that you're linking against GTSAM's Eigen by using the following commands in omnimapper build directory:
cmake -DEIGEN_INCLUDE_DIR="PATH_TO_GTSAM/gtsam/3rdparty/Eigen" ..
make -j4
You can also verify the linked version of Eigen by using ccmake ..
in the build directory and checking the value of EIGEN_INCLUDE_DIR
Thanks,
Thanks, I think the problem is the previous installed EIGEN_INCLUDE_DIR
As if run $ccmake .. it shows that
EIGEN_INCLUDE_DIRS /usr/include/eigen3
Although I did $cmake -DEIGEN_INCLUDE_DIR="PATH_TO_GTSAM/gtsam/3rdparty/Eigen" .. in omnimapper build directory
How to change this EIGEN_INCLUDE_DIR ?
Thanks a lot.
You can change it inside ccmake itself. Just press Enter key when your cursor points to EIGEN_INCLUDE_DIRS and write down the path to GTSAM's Eigen directory. Press Enter
again followed by pressing c
key and g
key.
You can again verify by looking at the value of EIGEN_INCLUDE_DIR
I double checked the GTSAM installation procedure. The default installation path is /usr/local, (actually it's /usr/local/include), not the path where the gtsam is downloaded and stored.
The Eigen install directory of GTSAM is /usr/local/include/gtsam/3rdparty/Eigen, not the path where the gtsam is downloaded in /home/meng/workspace/gtsam-3.1.0/gtsam/3rdparty/Eigen .
Currently I have changed the pcl cmake and omnimapper cmake to $cmake -DEIGEN_INCLUDE_DIR="/usr/local/include/gtsam/3rdparty/Eigen" ..
It works for the Eigen errors! ! !
Many thanks!:)
The Eigen errors have been solved, but the following errors still exist:
cc1plus: error: unrecognized command line option ‘-std=c++11’
[ 57%] make[2]: *** [organized_segmentation_tools_dev/CMakeFiles/organized_segmentation_tools.dir/src/organized_segmentation_tbb.cpp.o] Error 1
make[1]: *** [organized_segmentation_tools_dev/CMakeFiles/organized_segmentation_tools.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Building CXX object CMakeFiles/omnimapper.dir/base/src/omnimapper_base.cpp.o
[ 71%] Building CXX object CMakeFiles/omnimapper.dir/base/src/transform_tools.cpp.o
Building CXX object CMakeFiles/omnimapper.dir/plugins/src/icp_plugin.cpp.o
/home/meng/workspace/omnimapper-master/base/src/time.cpp: In function ‘boost::posix_time::ptime omnimapper::stamp2ptime(uint64_t)’:
/home/meng/workspace/omnimapper-master/base/src/time.cpp:26:44: error: ‘printf’ was not declared in this scope
make[2]: *** [CMakeFiles/omnimapper.dir/base/src/time.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/meng/workspace/omnimapper-master/plugins/include/omnimapper/icp_plugin.h:41:0,
from /home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:39:
/home/meng/workspace/omnimapper-master/base/include/omnimapper/pose_plugin.h:21:86: error: ‘boost::posix_time’ has not been declared
/home/meng/workspace/omnimapper-master/base/include/omnimapper/pose_plugin.h:21:104: error: expected ‘,’ or ‘...’ before ‘t1’
/home/meng/workspace/omnimapper-master/base/src/omnimapper_base.cpp: In member function ‘bool omnimapper::OmniMapperBase::commitNextPoseNode()’:
/home/meng/workspace/omnimapper-master/base/src/omnimapper_base.cpp:85:112: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/base/src/omnimapper_base.cpp:85:112: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘omnimapper::PoseChainNode::Time {aka boost::posix_time::ptime}’ [-Wformat]
/home/meng/workspace/omnimapper-master/base/src/omnimapper_base.cpp:96:108: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/base/src/omnimapper_base.cpp:97:87: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/base/src/omnimapper_base.cpp:186:68: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘std::vectorboost::shared_ptr<gtsam::NonlinearFactor, std::allocatorboost::shared_ptr<gtsam::NonlinearFactor > >::size_type {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/base/src/omnimapper_base.cpp: In member function ‘boost::optionalgtsam::Pose3 omnimapper::OmniMapperBase::predictPose(gtsam::Symbol&)’:
/home/meng/workspace/omnimapper-master/base/src/omnimapper_base.cpp:596:75: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/base/src/omnimapper_base.cpp:599:21: warning: unknown escape sequence: '\N' [enabled by default]
/home/meng/workspace/omnimapper-master/base/src/omnimapper_base.cpp: In member function ‘void omnimapper::OmniMapperBase::updateOutputPlugins()’:
/home/meng/workspace/omnimapper-master/base/src/omnimapper_base.cpp:704:76: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘std::size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::registerClouds(omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudPtr&, Eigen::Matrix4f&, double&) [with PointT = pcl::PointXYZ, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >, omnimapper::ICPPoseMeasurementPlugin::CloudPtr = boost::shared_ptrpcl::PointCloud<pcl::PointXYZ >, Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:411:7: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ, PointTarget = pcl::PointXYZ, pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >]’ is deprecated (declared at /usr/local/include/pcl-1.7/pcl/registration/impl/gicp.hpp:48): [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:425:7: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ, PointTarget = pcl::PointXYZ, Scalar = float, pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZ >]’ is deprecated (declared at /usr/local/include/pcl-1.7/pcl/registration/impl/registration.hpp:43): [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::tryLoopClosure(gtsam::Symbol) [with PointT = pcl::PointXYZ]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:487:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::ready() [with PointT = pcl::PointXYZ]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:613:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:531:7: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘int’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::registerClouds(omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr&, omnimapper::ICPPoseMeasurementPlugin::CloudPtr&, Eigen::Matrix4f&, double&) [with PointT = pcl::PointXYZRGBA, omnimapper::ICPPoseMeasurementPlugin::CloudConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >, omnimapper::ICPPoseMeasurementPlugin::CloudPtr = boost::shared_ptrpcl::PointCloud<pcl::PointXYZRGBA >, Eigen::Matrix4f = Eigen::Matrix<float, 4, 4>]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:411:7: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZRGBA, PointTarget = pcl::PointXYZRGBA, pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >]’ is deprecated (declared at /usr/local/include/pcl-1.7/pcl/registration/impl/gicp.hpp:48): [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:425:7: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZRGBA, PointTarget = pcl::PointXYZRGBA, Scalar = float, pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloudpcl::PointXYZRGBA >]’ is deprecated (declared at /usr/local/include/pcl-1.7/pcl/registration/impl/registration.hpp:43): [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::tryLoopClosure(gtsam::Symbol) [with PointT = pcl::PointXYZRGBA]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:487:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::size_t {aka long unsigned int}’ [-Wformat]
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp: In member function ‘bool omnimapper::ICPPoseMeasurementPlugin::ready() [with PointT = pcl::PointXYZRGBA]’:
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:615:28: instantiated from here
/home/meng/workspace/omnimapper-master/plugins/src/icp_plugin.cpp:531:7: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘int’ [-Wformat]
make[2]: *** [CMakeFiles/omnimapper.dir/plugins/src/icp_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/omnimapper.dir/all] Error 2
make: *** [all] Error 2
Thanks a lot!
Which version of boost do you have?
Version: 1.48.0.2 (The version of libboost on my 12.04 system is 1.48.0.2, I double checked it using dpkg -s libboost-dev | grep 'Version')
When I run $ cat /usr/include/boost/version.hpp | grep "BOOST_LIB_VERSION"
It showed:
// BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
#define BOOST_LIB_VERSION "1_46_1"
Can you build orgainzed_segmentation_tools_dev
directory separately and post its output? The instructions to build it are at https://github.com/CognitiveRobotics/omnimapper/tree/master/organized_segmentation_tools_dev
Output of building orgainzed_segmentation_tools_dev separately:
cc1plus: error: unrecognized command line option ‘-std=c++11’
make[2]: *** [CMakeFiles/organized_segmentation_tools.dir/src/organized_segmentation_tbb.cpp.o] Error 1
make[1]: *** [CMakeFiles/organized_segmentation_tools.dir/all] Error 2
make: *** [all] Error 2
Thanks a lot!
What is your g++ version? g++ --version
gcc version 4.6.3
Can you change the flag -std=c++11 with -std=c++0x in CMakeLists.txt. -std=c++11 flag is only supported after 4.7.
Thanks a lot! I have updated the gcc to 4.7, it still has some errors from the output of building orgainzed_segmentation_tools_dev .
[ 50%] Building CXX object CMakeFiles/organized_segmentation_tools.dir/src/organized_segmentation_tbb.cpp.o
In file included from /usr/local/include/pcl-1.7/pcl/io/openni_camera/openni_driver.h:45:0,
from /usr/local/include/pcl-1.7/pcl/io/openni_grabber.h:48,
from /home/meng/workspace/omnimapper-master/organized_segmentation_tools_dev/include/organized_segmentation_tools/organized_segmentation_tbb.h:44,
from /home/meng/workspace/omnimapper-master/organized_segmentation_tools_dev/src/organized_segmentation_tbb.cpp:39:
/usr/local/include/pcl-1.7/pcl/io/openni_camera/openni.h:47:18: fatal error: XnOS.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/organized_segmentation_tools.dir/src/organized_segmentation_tbb.cpp.o] Error 1
make[1]: *** [CMakeFiles/organized_segmentation_tools.dir/all] Error 2
make: *** [all] Error 2
Can you locate XnOS.h manually?
sudo updatedb
locate XnOS.h
It's in the directory /usr/include/openni/XnOS.h
Actually there is no XnOS.h file in /usr/include/openni, so I downloaded from source and move it to /usr/include/openni
I think the main problem is the conflict between Boost_lib versions. It seems that there exists two Boost version 1.48 and 1.46 at the same time, so I purged boost1.46
It successfully compiled after many manually debugging! Thanks so much! I think the conflict of boost and boost_lib version was a main problem!
Thanks so much for all your kind and patient help!!! :)
It seems that if install ros-hydro-openni-launch and ros-hydro-openni-camera, the libboost 1.46 is default installed, as it needs libboost 1.46. Currently I am purging boost 1.48 and reinstall 1.46
Some ROS hydro packages have some conflict on boost 1.48
But the following packages depend on boost 1.48, so boost 1.48 cannot be removed.
libboost-all-dev* libboost-date-time-dev* libboost-date-time1.46-dev*
libboost-dev* libboost-filesystem-dev* libboost-filesystem1.46-dev*
libboost-graph-dev* libboost-graph-parallel-dev*
libboost-graph-parallel1.46-dev* libboost-graph1.46-dev*
libboost-iostreams-dev* libboost-iostreams1.46-dev* libboost-math-dev*
libboost-math1.46-dev* libboost-mpi-dev* libboost-mpi-python-dev*
libboost-mpi-python1.46-dev* libboost-mpi1.46-dev*
libboost-program-options-dev* libboost-program-options1.46-dev*
libboost-python-dev* libboost-python1.46-dev* libboost-random1.46-dev*
libboost-regex-dev* libboost-regex1.46-dev* libboost-serialization-dev*
libboost-serialization1.46-dev* libboost-signals-dev*
libboost-signals1.46-dev* libboost-system-dev* libboost-system1.46-dev*
libboost-test-dev* libboost-test1.46-dev* libboost-thread-dev*
libboost-thread1.46-dev* libboost-wave-dev* libboost-wave1.46-dev*
libboost1.46-all-dev* libboost1.46-dev* ros-hydro-bond* ros-hydro-bondcpp*
ros-hydro-camera-calibration-parsers* ros-hydro-camera-info-manager*
ros-hydro-class-loader* ros-hydro-console-bridge* ros-hydro-cpp-common*
ros-hydro-dynamic-reconfigure* ros-hydro-geometry-msgs*
ros-hydro-image-transport* ros-hydro-message-filters*
ros-hydro-message-runtime* ros-hydro-nodelet* ros-hydro-openni-camera*
ros-hydro-pluginlib* ros-hydro-rosbag* ros-hydro-rosbag-storage*
ros-hydro-rosbuild* ros-hydro-rosconsole* ros-hydro-roscpp*
ros-hydro-roscpp-serialization* ros-hydro-roscpp-traits*
ros-hydro-rosgraph-msgs* ros-hydro-roslib* ros-hydro-rosmsg*
ros-hydro-rospack* ros-hydro-rospy* ros-hydro-rosservice* ros-hydro-rostime*
ros-hydro-sensor-msgs* ros-hydro-std-msgs* ros-hydro-topic-tools*
ros-hydro-xmlrpcpp*
using $dpkg -s libboost-dev | grep 'Version'
It displays the libboost version is Version: 1.48.0.2
But if using $cat /usr/include/boost/version.hpp | grep "BOOST_LIB_VERSION"
It dispalys: the boost_lib_version is 1.46
But for compiling omnimapper, boost_lib_version shall be the same. How could you solve this kind of problem?
Here are similar questions from ROS answers (http://answers.ros.org/question/170406/ros-hydro-and-boost-148/)
The omnimapper failed if using boost 1.46, it seems that omnimapper can only be built using boost 1.48. But ROS hydro mainly uses 1.46... It has some boost version conflict...
If we would like to use Kinect, the ros-hydro-openni-launch shall be installed, but at the same time libboost1.48-all-dev will be automatically removed
Hi Lili, we don't support ubuntu 12.04 -- you'll likely need to build everything (boost, openni, ros, etc) from source instead of using the package manager if you want to use that OS version. The instructions on our wiki are for ubuntu 13.04, but we'll soon be posting instructions for 14.04 LTS. I recommend upgrading to 14.04 if possible.
Thanks a lot! :) It's better to post it on the Dependencies&Installation part that omnimapper doesn't support Ubuntu12.04 :)
Does it support 14.04 now? If it is, Ubuntu 12.04 could be upgraded to 14.04 very conveniently.
But Ubuntu14.04 doesn't support hydro, if this is the case, many hydro packages cannot be used.
Thanks!
I think it's better to support ubuntu 12.04 and ros hydro. As I have tried many versions of ROS, hydro is the best compromise. Fuerte is too old and indigo is too new, you have to install many packages from source if use other versions. I tried upgrading to ubuntu 14.04 and indigo, but many of the packages have to be installed from source and it's a lot of work so i downgrade back.
Thanks a lot! :)
@itzsid Thank you for your email on posting the errors of using Boost1.46! It seems that omnimapper could be compiled with Boost 1.48 and 1.46 today. As I used $sudo apt-get purge libboost_1.48_ and $sudo apt-get install libboost1.46-all-dev this morning, the omnimapper could be compiled successfully! But when I check Synaptic Package manager, both Boost 1.46 and 1.48 are still there.(although I purged 1.48)
To double check current boost version I used two methods:
1.$ dpkg -s libboost-dev | grep 'Version'
It displays:
Package `libboost-dev' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
- $cat /usr/include/boost/version.hpp | grep "BOOST_LIB_VERSION"
It displays:
// BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
#define BOOST_LIB_VERSION "1_46_1"
It seems that omnimapper ruined ROS hydro after it can successfully compiled by either boost 1.48 or 1.46. So I intended to install ROS hydro again, it displayed:
The following packages have unmet dependencies:
ros-hydro-desktop-full : Depends: ros-hydro-mobile but it is not going to be installed
Depends: ros-hydro-perception but it is not going to be installed
Depends: ros-hydro-simulators but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The ROS hydro cannot compile from source either.
I would suggest cleaning up the existing ROS and boost installations and doing a fresh install of ROS Hydro and using the default boost version which ROS Hydro uses. Let me know if the error still exists.
Thanks a lot. I have already removed ROS by using $sudo apt-get remove ros-*
and libboost by using $sudo apt-get remove libboost*, but ROS hydro cannot be installed following the instructions (http://wiki.ros.org/hydro/Installation/Ubuntu)
The errors are:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
ros-hydro-desktop-full : Depends: ros-hydro-mobile but it is not going to be installed
Depends: ros-hydro-perception but it is not going to be installed
Depends: ros-hydro-simulators but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
After failing to install using $sudo apt-get, I tried to install ROS from source following the instructions(http://wiki.ros.org/hydro/Installation/Source), it shows the following errors:
The following packages have unmet dependencies:
libpcl-1.7-all-dev : Depends: libpcl-apps-1.7-dev but it is not going to be installed
Depends: libpcl-io-1.7-dev but it is not going to be installed
Depends: libpcl-outofcore-1.7-dev but it is not going to be installed
Depends: libpcl-people-1.7-dev but it is not going to be installed
Depends: libpcl-recognition-1.7-dev but it is not going to be installed
Depends: libpcl-visualization-1.7-dev but it is not going to be installed
libpcl-1.7-bin : Depends: libpcl-io-1.7 but it is not going to be installed
Depends: libpcl-visualization-1.7 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
After these errors, I tried to install libpcl by using $sudo apt-get install libpcl-all-dev, but there were other unmet dependencies...
When ROS hydro compile from source, it seems that Gazebo cannot be compiled.
CMake Error at /home/meng/ros_catkin_ws/install_isolated/share/catkin/cmake/catkin_package.cmake:159 (message):
catkin_package() DEPENDS on 'gazebo' which must be find_package()-ed
before. If it is a catkin package it can be declared as CATKIN_DEPENDS
instead without find_package()-ing it.
Call Stack (most recent call first):
/home/meng/ros_catkin_ws/install_isolated/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
CMakeLists.txt:72 (catkin_package)
-- Configuring incomplete, errors occurred!
<== Failed to process package 'gazebo_plugins':
Command '/home/meng/ros_catkin_ws/install_isolated/env.sh cmake /home/meng/ros_catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins -DCATKIN_DEVEL_PREFIX=/home/meng/ros_catkin_ws/devel_isolated/gazebo_plugins -DCMAKE_INSTALL_PREFIX=/home/meng/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release' returned non-zero exit status 1
Reproduce this error by running:
==> cd /home/meng/ros_catkin_ws/build_isolated/gazebo_plugins && /home/meng/ros_catkin_ws/install_isolated/env.sh cmake /home/meng/ros_catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins -DCATKIN_DEVEL_PREFIX=/home/meng/ros_catkin_ws/devel_isolated/gazebo_plugins -DCMAKE_INSTALL_PREFIX=/home/meng/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release
Command failed, exiting.
But it seems that these errors are just minor errors on gazebo and libpcl, other packages could be used smoothly :)
After installing ROS hydro from source, it seems that installing some other packages using $sudo apt-get will install boost1.48. And any other ROS packages have to be installed from source too... it's very inconvenient... As installing ROS hydro from source lacks of many useful packages such as
ros-hydro-console-bridge* ros-hydro-cpp-common* ros-hydro-message-runtime*
ros-hydro-rosbag-storage* ros-hydro-rosbuild* ros-hydro-rosconsole* ros-hydro-roscpp* ros-hydro-roscpp-serialization* ros-hydro-roscpp-traits* ros-hydro-rosgraph-msgs* ros-hydro-roslib*
ros-hydro-rospack* ros-hydro-rospy* ros-hydro-rostime* ros-hydro-std-msgs* ros-hydro-topic-tools* ros-hydro-xmlrpcpp*
Lili, the wiki has been updated with instructions for Ubuntu 14.04 LTS and ROS Indigo. I've just performed a clean install of the OS and followed these instructions, so they are definitely up-to-date and working. The updated wiki is here: https://github.com/CognitiveRobotics/omnimapper/wiki/Installation-&-Dependencies . I'll close this issue, but please open a new one if you have problems installing on 14.04.