kalakris/stomp

Compilation errors

Opened this issue · 4 comments

In file included from /home/zijun/catkin_ws/src/stomp-master/stomp/include/stomp/stomp_constrained.h:2:0,
from /home/zijun/catkin_ws/src/stomp-master/stomp/test/test_distributions.cpp:4:
/usr/include/eigen3/Eigen/Sparse:19:2: error: #error The sparse module API is not stable yet. To use it anyway, please define the EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET preprocessor token.
In file included from /home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:2:0:
/usr/include/eigen3/Eigen/Sparse:19:2: error: #error The sparse module API is not stable yet. To use it anyway, please define the EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET preprocessor token.
[ 51%] Built target rviz
[ 51%] Built target moveit_kinematics_base
[ 51%] Built target moveit_transforms
[ 51%] Built target moveit_distance_field
[ 51%] Built target executable
In file included from /home/zijun/catkin_ws/src/stomp-master/stomp/test/test_distributions.cpp:4:0:
/home/zijun/catkin_ws/src/stomp-master/stomp/include/stomp/stomp_constrained.h:150:3: error: ‘SimplicialLLT’ in namespace ‘Eigen’ does not name a type
In file included from /home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:13:0:
/home/zijun/catkin_ws/src/stomp-master/stomp/include/stomp/stomp_constrained.h:150:3: error: ‘SimplicialLLT’ in namespace ‘Eigen’ does not name a type
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp: In member function ‘void StompConstrained::createDiffMatrices()’:
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:75:103: error: no matching function for call to ‘Eigen::SparseMatrix::reserve(const ConstantReturnType)’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:75:103: note: candidate is:
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrix.h:155:17: note: void Eigen::SparseMatrix<Scalar, Flags, Index>::reserve(Eigen::SparseMatrix<Scalar, Flags, Index>::Index) [with Scalar = double, int Options = 0, Index = int, Eigen::SparseMatrix<Scalar, Flags, Index>::Index = int]
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrix.h:155:17: note: no known conversion for argument 1 from ‘const ConstantReturnType {aka const Eigen::CwiseNullaryOpEigen::internal::scalar_constant_op<int, Eigen::Matrix<int, -0x00000000000000001, 1> >}’ to ‘int’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:76:113: error: no matching function for call to ‘Eigen::SparseMatrix::reserve(const ConstantReturnType)’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:76:113: note: candidate is:
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrix.h:155:17: note: void Eigen::SparseMatrix<Scalar, Flags, Index>::reserve(Eigen::SparseMatrix<Scalar, Flags, Index>::Index) [with Scalar = double, int Options = 0, Index = int, Eigen::SparseMatrix<Scalar, Flags, Index>::Index = int]
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrix.h:155:17: note: no known conversion for argument 1 from ‘const ConstantReturnType {aka const Eigen::CwiseNullaryOpEigen::internal::scalar_constant_op<int, Eigen::Matrix<int, -0x00000000000000001, 1> >}’ to ‘int’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:103:28: error: ‘class Eigen::SparseMatrix’ has no member named ‘makeCompressed’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:104:34: error: ‘class Eigen::SparseMatrix’ has no member named ‘makeCompressed’
[ 65%] Built target default_plugin
[ 65%] /home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp: In member function ‘void StompConstrained::createCostMatrix()’:
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:148:15: error: ‘Triplet’ is not a member of ‘Eigen’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:148:15: error: ‘Triplet’ is not a member of ‘Eigen’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:148:36: error: template argument 1 is invalid
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:148:36: error: template argument 2 is invalid
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:148:38: error: expected unqualified-id before ‘>’ token
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:149:3: error: ‘triplets’ was not declared in this scope
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:158:28: error: ‘Triplet’ is not a member of ‘Eigen’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:158:43: error: expected primary-expression before ‘double’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:162:21: error: ‘class Eigen::SparseMatrix’ has no member named ‘setFromTriplets’
Built target rviz_image_view
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp: In member function ‘void StompConstrained::computeCholeskyFactor()’:
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:186:3: error: ‘sparse_quad_cost_cholesky
’ was not declared in this scope
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp: In member function ‘void StompConstrained::computeMinControlCostTrajectory()’:
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:192:34: error: ‘sparse_quad_cost_cholesky
’ was not declared in this scope
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp: In member function ‘void StompConstrained::computeConstraintProjector()’:
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:214:3: error: ‘sparse_quad_cost_cholesky
’ was not declared in this scope
make[2]: *** [stomp-master/stomp/CMakeFiles/stomp_test_distributions.dir/test/test_distributions.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 65%] Meta target for rviz_sip Python bindings...
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:215:3: error: no match for ‘operator
’ in ‘9.99999999999999954748111825886258685613938723691e-7 * Eigen::MatrixBase::asDiagonal() const with Derived = Eigen::CwiseNullaryOpEigen::internal::scalar_constant_op<double, Eigen::Matrix<double, -0x00000000000000001, 1> >
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:215:3: note: candidates are:
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:390:5: note: template const typename Eigen::DenseSparseProductReturnType<OtherDerived, Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op, const Eigen::SparseSparseProductEigen::SparseMatrix<double, const Eigen::SparseInnerVectorSetEigen::SparseMatrix<double, 1>&> >, Eigen::internal::traits::ColsAtCompileTime>::Type Eigen::operator(const Eigen::MatrixBase&, const Eigen::CwiseUnaryOpEigen::internal::scalar_multiple_op<double, const Eigen::SparseSparseProductEigen::SparseMatrix<double, const Eigen::SparseInnerVectorSetEigen::SparseMatrix<double, 1>&> >&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:384:5: note: template const Eigen::SparseDiagonalProduct<OtherDerived, Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op, const Eigen::SparseSparseProductEigen::SparseMatrix<double, const Eigen::SparseInnerVectorSetEigen::SparseMatrix<double, 1>&> > > Eigen::operator(const Eigen::DiagonalBase&, const Eigen::SparseMatrixBaseEigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<double, const Eigen::SparseSparseProductEigen::SparseMatrix<double, const Eigen::SparseInnerVectorSetEigen::SparseMatrix<double, 1>&> > >&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:390:5: note: template const typename Eigen::DenseSparseProductReturnType<OtherDerived, Eigen::SparseSparseProduct<Eigen::SparseMatrix, const Eigen::SparseInnerVectorSetEigen::SparseMatrix<double, 1>&>, Eigen::internal::traits::ColsAtCompileTime>::Type Eigen::operator(const Eigen::MatrixBase&, const Eigen::SparseSparseProductEigen::SparseMatrix<double, const Eigen::SparseInnerVectorSetEigen::SparseMatrix<double, 1>&>&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:384:5: note: template const Eigen::SparseDiagonalProduct<OtherDerived, Eigen::SparseSparseProduct<Eigen::SparseMatrix, const Eigen::SparseInnerVectorSetEigen::SparseMatrix<double, 1>&> > Eigen::operator(const Eigen::DiagonalBase&, const Eigen::SparseMatrixBaseEigen::SparseSparseProduct<Eigen::SparseMatrix<double, const Eigen::SparseInnerVectorSetEigen::SparseMatrix<double, 1>&> >&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:390:5: note: template const typename Eigen::DenseSparseProductReturnType<OtherDerived, Eigen::SparseInnerVectorSet<Eigen::SparseMatrix, 1>, Eigen::internal::traits::ColsAtCompileTime>::Type Eigen::operator(const Eigen::MatrixBase&, const Eigen::SparseInnerVectorSetEigen::SparseMatrix<double, 1>&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:384:5: note: template const Eigen::SparseDiagonalProduct<OtherDerived, Eigen::SparseInnerVectorSet<Eigen::SparseMatrix, 1> > Eigen::operator(const Eigen::DiagonalBase&, const Eigen::SparseMatrixBaseEigen::SparseInnerVectorSet<Eigen::SparseMatrix<double, 1> >&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:390:5: note: template const typename Eigen::DenseSparseProductReturnType<OtherDerived, Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op, const Eigen::SparseSparseProductEigen::SparseMatrix<double, const Eigen::SparseMatrix&> >, Eigen::internal::traits::ColsAtCompileTime>::Type Eigen::operator(const Eigen::MatrixBase&, const Eigen::CwiseUnaryOpEigen::internal::scalar_multiple_op<double, const Eigen::SparseSparseProductEigen::SparseMatrix<double, const Eigen::SparseMatrix&> >&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:384:5: note: template const Eigen::SparseDiagonalProduct<OtherDerived, Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op, const Eigen::SparseSparseProductEigen::SparseMatrix<double, const Eigen::SparseMatrix&> > > Eigen::operator(const Eigen::DiagonalBase&, const Eigen::SparseMatrixBaseEigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<double, const Eigen::SparseSparseProductEigen::SparseMatrix<double, const Eigen::SparseMatrix&> > >&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:390:5: note: template const typename Eigen::DenseSparseProductReturnType<OtherDerived, Eigen::SparseMatrix<double, 6, int>, Eigen::internal::traits::ColsAtCompileTime>::Type Eigen::operator(const Eigen::MatrixBase&, const Eigen::SparseMatrix<double, 6, int>&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:384:5: note: template const Eigen::SparseDiagonalProduct<OtherDerived, Eigen::SparseMatrix<double, 6, int> > Eigen::operator(const Eigen::DiagonalBase&, const Eigen::SparseMatrixBase<Eigen::SparseMatrix<double, 6, int> >&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:390:5: note: template const typename Eigen::DenseSparseProductReturnType<OtherDerived, Eigen::SparseSparseProduct<Eigen::SparseMatrix, const Eigen::SparseMatrix&>, Eigen::internal::traits::ColsAtCompileTime>::Type Eigen::operator(const Eigen::MatrixBase&, const Eigen::SparseSparseProductEigen::SparseMatrix<double, const Eigen::SparseMatrix&>&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:384:5: note: template const Eigen::SparseDiagonalProduct<OtherDerived, Eigen::SparseSparseProduct<Eigen::SparseMatrix, const Eigen::SparseMatrix&> > Eigen::operator(const Eigen::DiagonalBase&, const Eigen::SparseMatrixBaseEigen::SparseSparseProduct<Eigen::SparseMatrix<double, const Eigen::SparseMatrix&> >&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:390:5: note: template const typename Eigen::DenseSparseProductReturnType<OtherDerived, Eigen::Transpose<Eigen::SparseMatrix >, Eigen::internal::traits::ColsAtCompileTime>::Type Eigen::operator(const Eigen::MatrixBase&, const Eigen::TransposeEigen::SparseMatrix&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:384:5: note: template const Eigen::SparseDiagonalProduct<OtherDerived, Eigen::Transpose<Eigen::SparseMatrix > > Eigen::operator(const Eigen::DiagonalBase&, const Eigen::SparseMatrixBaseEigen::Transpose<Eigen::SparseMatrix >&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:390:5: note: template const typename Eigen::DenseSparseProductReturnType<OtherDerived, Eigen::SparseVector, Eigen::internal::traits::ColsAtCompileTime>::Type Eigen::operator(const Eigen::MatrixBase&, const Eigen::SparseVector&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:384:5: note: template const Eigen::SparseDiagonalProduct<OtherDerived, Eigen::SparseVector > Eigen::operator(const Eigen::DiagonalBase&, const Eigen::SparseMatrixBaseEigen::SparseVector&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:390:5: note: template const typename Eigen::DenseSparseProductReturnType<OtherDerived, Eigen::SparseMatrix, Eigen::internal::traits::ColsAtCompileTime>::Type Eigen::operator(const Eigen::MatrixBase&, const Eigen::SparseMatrix&)
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:384:5: note: template const Eigen::SparseDiagonalProduct<OtherDerived, Eigen::SparseMatrix > Eigen::operator(const Eigen::DiagonalBase&, const Eigen::SparseMatrixBaseEigen::SparseMatrix&)
/usr/include/eigen3/Eigen/src/Core/PermutationMatrix.h:262:33: note: template Eigen::PermutationBaseEigen::PermutationMatrix<-0x00000000000000001 >::PlainPermutationType Eigen::operator(const Eigen::TransposeEigen::PermutationBase&, const Eigen::PermutationBaseEigen::PermutationMatrix<-0x00000000000000001 >&)
/usr/include/eigen3/Eigen/src/Householder/HouseholderSequence.h:399:99: note: template<class OtherDerived, class VectorsType, class CoeffsType, int Side> typename Eigen::internal::matrix_type_times_scalar_type<typename VectorsType::Scalar, OtherDerived>::Type Eigen::operator(const Eigen::MatrixBase&, const Eigen::HouseholderSequence<VectorsType, CoeffsType, Side>&)
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:227:1: note: template<class Derived, class Lhs, class Rhs> typename Eigen::internal::enable_if<(! Eigen::internal::is_same<typename Derived::Scalar, typename Derived::RealScalar>::value), const Eigen::ScaledProduct >::type Eigen::operator_(typename Derived::RealScalar, const Eigen::ProductBase<Derived, Lhs, Rhs>&)
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:221:1: note: template<class Derived, class Lhs, class Rhs> const Eigen::ScaledProduct Eigen::operator
(typename Derived::Scalar, const Eigen::ProductBase<Derived, Lhs, Rhs>&)
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:215:1: note: template<class Derived, class Lhs, class Rhs> typename Eigen::internal::enable_if<(! Eigen::internal::is_same<typename Derived::Scalar, typename Derived::RealScalar>::value), const Eigen::ScaledProduct >::type Eigen::operator
(const Eigen::ProductBase<Derived, Lhs, Rhs>&, typename Derived::RealScalar)
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:209:1: note: template<class Derived, class Lhs, class Rhs> const Eigen::ScaledProduct Eigen::operator
(const Eigen::ProductBase<Derived, Lhs, Rhs>&, typename Derived::Scalar)
/usr/include/eigen3/Eigen/src/Core/Transpositions.h:357:1: note: template<class Derived, class TranspositionDerived> const Eigen::internal::transposition_matrix_product_retval<TranspositionDerived, Derived, 1> Eigen::operator
(const Eigen::TranspositionsBase&, const Eigen::MatrixBase&)
/usr/include/eigen3/Eigen/src/Core/Transpositions.h:344:1: note: template<class Derived, class TranspositionsDerived> const Eigen::internal::transposition_matrix_product_retval<TranspositionsDerived, Derived, 2> Eigen::operator
(const Eigen::MatrixBase&, const Eigen::TranspositionsBase&)
/usr/include/eigen3/Eigen/src/Core/PermutationMatrix.h:534:1: note: template<class Derived, class PermutationDerived> const Eigen::internal::permut_matrix_product_retval<PermutationDerived, Derived, 1> Eigen::operator
(const Eigen::PermutationBase&, const Eigen::MatrixBase&)
/usr/include/eigen3/Eigen/src/Core/PermutationMatrix.h:521:1: note: template<class Derived, class PermutationDerived> const Eigen::internal::permut_matrix_product_retval<PermutationDerived, Derived, 2> Eigen::operator(const Eigen::MatrixBase&, const Eigen::PermutationBase&)
/usr/include/eigen3/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:95:1: note: const Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple2_op<double, std::complex >, const Eigen::CwiseNullaryOpEigen::internal::scalar_constant_op<double, Eigen::Matrix<double, -0x00000000000000001, 1> > > Eigen::operator(const std::complex&, const StorageBaseType&)
/usr/include/eigen3/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:95:1: note: no known conversion for argument 2 from ‘const Eigen::DiagonalWrapper<const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<double, -0x00000000000000001, 1> > >’ to ‘const StorageBaseType& {aka const Eigen::MatrixBaseEigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double, Eigen::Matrix<double, -0x00000000000000001, 1> > >&}’
/usr/include/eigen3/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:91:1: note: const ScalarMultipleReturnType Eigen::operator_(const Scalar&, const StorageBaseType&)
/usr/include/eigen3/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:91:1: note: no known conversion for argument 2 from ‘const Eigen::DiagonalWrapper<const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<double, -0x00000000000000001, 1> > >’ to ‘const StorageBaseType& {aka const Eigen::MatrixBaseEigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double, Eigen::Matrix<double, -0x00000000000000001, 1> > >&}’
/usr/include/eigen3/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:95:1: note: const Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple2_op<double, std::complex >, const Eigen::Matrix<double, -0x00000000000000001, 1> > Eigen::operator_(const std::complex&, const StorageBaseType&)
/usr/include/eigen3/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:95:1: note: no known conversion for argument 2 from ‘const Eigen::DiagonalWrapper<const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<double, -0x00000000000000001, 1> > >’ to ‘const StorageBaseType& {aka const Eigen::MatrixBase<Eigen::Matrix<double, -0x00000000000000001, 1> >&}’
/usr/include/eigen3/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:91:1: note: const ScalarMultipleReturnType Eigen::operator_(const Scalar&, const StorageBaseType&)
/usr/include/eigen3/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h:91:1: note: no known conversion for argument 2 from ‘const Eigen::DiagonalWrapper<const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op, Eigen::Matrix<double, -0x00000000000000001, 1> > >’ to ‘const StorageBaseType& {aka const Eigen::MatrixBase<Eigen::Matrix<double, -0x00000000000000001, 1> >&}’
[ 65%] Built target librviz_sip
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp: In member function ‘void StompConstrained::generateSamples()’:
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:261:38: error: ‘sparse_quad_cost_cholesky_’ was not declared in this scope
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:262:73: error: expected primary-expression before ‘)’ token
[ 67%] Built target moveit_robot_model
[ 67%] Built target moveit_robot_state
[ 69%] Built target rviz_shiboken
[ 69%] Built target moveit_robot_trajectory
[ 69%] Built target moveit_kinematics_metrics
[ 70%] Built target moveit_collision_detection
[ 70%] Built target moveit_dynamics_solver
[ 70%] Built target moveit_trajectory_processing
[ 70%] Built target moveit_collision_detection_fcl
[ 70%] Built target moveit_kinematic_constraints
[ 70%] Built target moveit_planning_interface
[ 70%] Built target moveit_planning_scene
[ 70%] Built target moveit_planning_request_adapter
[ 71%] Built target moveit_constraint_samplers
[ 71%] Built target moveit_point_containment_filter
[ 71%] Built target moveit_occupancy_map_monitor
[ 71%] Built target pr2_moveit_controller_manager
[ 71%] Built target pr2_moveit_arm_kinematics
[ 71%] Built target pr2_moveit_sensor_manager
[ 71%] Built target moveit_occupancy_map_server
[ 71%] Built target moveit_pointcloud_octomap_updater_core
In file included from /usr/include/eigen3/Eigen/Sparse:57:0,
from /home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:2:
/usr/include/eigen3/Eigen/src/Sparse/SparseDenseProduct.h: In member function ‘void Eigen::SparseTimeDenseProduct<Lhs, Rhs>::scaleAndAddTo(Dest&, Eigen::SparseTimeDenseProduct<Lhs, Rhs>::Scalar) const [with Dest = Eigen::SparseMatrix, Lhs = Eigen::SparseMatrix, Rhs = Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>, Eigen::SparseTimeDenseProduct<Lhs, Rhs>::Scalar = double]’:
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:124:63: instantiated from ‘void Eigen::ProductBase<Derived, Lhs, Rhs>::scaleAndAddTo(Dest&, Eigen::ProductBase<Derived, Lhs, Rhs>::Scalar) const [with Dest = Eigen::SparseMatrix, Derived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Lhs = Eigen::SparseMatrix, Rhs = Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>, Eigen::ProductBase<Derived, Lhs, Rhs>::Scalar = double]’
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:115:58: instantiated from ‘void Eigen::ProductBase<Derived, Lhs, Rhs>::evalTo(Dest&) const [with Dest = Eigen::SparseMatrix, Derived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Lhs = Eigen::SparseMatrix, Rhs = Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>]’
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:54:7: instantiated from ‘Derived& Eigen::SparseMatrixBase::operator=(const Eigen::EigenBase&) [with OtherDerived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Derived = Eigen::SparseMatrix]’
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrix.h:464:35: instantiated from ‘Eigen::SparseMatrix<_Scalar, _Flags, _Index>& Eigen::SparseMatrix<_Scalar, _Flags, _Index>::operator=(const Eigen::EigenBase&) [with OtherDerived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, _Scalar = double, int _Options = 0, _Index = int, Eigen::SparseMatrix<_Scalar, _Flags, _Index> = Eigen::SparseMatrix]’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:118:68: instantiated from here
/usr/include/eigen3/Eigen/src/Sparse/SparseDenseProduct.h:173:31: error: no type named ‘RowXpr’ in ‘class Eigen::SparseMatrix’
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:124:63: instantiated from ‘void Eigen::ProductBase<Derived, Lhs, Rhs>::scaleAndAddTo(Dest&, Eigen::ProductBase<Derived, Lhs, Rhs>::Scalar) const [with Dest = Eigen::SparseMatrix, Derived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Lhs = Eigen::SparseMatrix, Rhs = Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>, Eigen::ProductBase<Derived, Lhs, Rhs>::Scalar = double]’
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:115:58: instantiated from ‘void Eigen::ProductBase<Derived, Lhs, Rhs>::evalTo(Dest&) const [with Dest = Eigen::SparseMatrix, Derived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Lhs = Eigen::SparseMatrix, Rhs = Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>]’
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:54:7: instantiated from ‘Derived& Eigen::SparseMatrixBase::operator=(const Eigen::EigenBase&) [with OtherDerived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Derived = Eigen::SparseMatrix]’
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrix.h:464:35: instantiated from ‘Eigen::SparseMatrix<_Scalar, _Flags, _Index>& Eigen::SparseMatrix<_Scalar, _Flags, _Index>::operator=(const Eigen::EigenBase&) [with OtherDerived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, _Scalar = double, int _Options = 0, _Index = int, Eigen::SparseMatrix<_Scalar, _Flags, _Index> = Eigen::SparseMatrix]’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:118:68: instantiated from here
/usr/include/eigen3/Eigen/src/Sparse/SparseDenseProduct.h:173:31: error: no type named ‘RowXpr’ in ‘class Eigen::SparseMatrix’
/usr/include/eigen3/Eigen/src/Sparse/SparseDenseProduct.h:177:47: error: no matching function for call to ‘Eigen::SparseMatrix::coeffRef(Eigen::SparseMatrix::Index)’
/usr/include/eigen3/Eigen/src/Sparse/SparseDenseProduct.h:177:47: note: candidate is:
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrix.h:126:20: note: Eigen::SparseMatrix<_Scalar, _Flags, _Index>::Scalar& Eigen::SparseMatrix<_Scalar, _Flags, _Index>::coeffRef(Eigen::SparseMatrix<_Scalar, _Flags, _Index>::Index, Eigen::SparseMatrix<_Scalar, _Flags, _Index>::Index) [with _Scalar = double, int _Options = 0, _Index = int, Eigen::SparseMatrix<_Scalar, _Flags, _Index>::Scalar = double, Eigen::SparseMatrix<_Scalar, _Flags, _Index>::Index = int]
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrix.h:126:20: note: candidate expects 2 arguments, 1 provided
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:124:63: instantiated from ‘void Eigen::ProductBase<Derived, Lhs, Rhs>::scaleAndAddTo(Dest&, Eigen::ProductBase<Derived, Lhs, Rhs>::Scalar) const [with Dest = Eigen::SparseMatrix, Derived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Lhs = Eigen::SparseMatrix, Rhs = Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>, Eigen::ProductBase<Derived, Lhs, Rhs>::Scalar = double]’
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:115:58: instantiated from ‘void Eigen::ProductBase<Derived, Lhs, Rhs>::evalTo(Dest&) const [with Dest = Eigen::SparseMatrix, Derived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Lhs = Eigen::SparseMatrix, Rhs = Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>]’
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:54:7: instantiated from ‘Derived& Eigen::SparseMatrixBase::operator=(const Eigen::EigenBase&) [with OtherDerived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Derived = Eigen::SparseMatrix]’
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrix.h:464:35: instantiated from ‘Eigen::SparseMatrix<_Scalar, _Flags, _Index>& Eigen::SparseMatrix<_Scalar, _Flags, _Index>::operator=(const Eigen::EigenBase&) [with OtherDerived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, _Scalar = double, int _Options = 0, _Index = int, Eigen::SparseMatrix<_Scalar, _Flags, _Index> = Eigen::SparseMatrix]’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:118:68: instantiated from here
/usr/include/eigen3/Eigen/src/Sparse/SparseDenseProduct.h:178:47: error: no match for ‘operator+=’ in ‘Eigen::SparseMatrixBase::row(Eigen::SparseMatrixBase::Index) [with Derived = Eigen::SparseMatrix, Eigen::SparseMatrixBase::Index = int](it.Eigen::SparseMatrix<_Scalar, _Flags, _Index>::InnerIterator::index [with Scalar = double, int _Options = 0, _Index = int, Eigen::SparseMatrix<Scalar, Flags, Index>::Index = int]%28%29) += Eigen::operator(const Scalar&, const StorageBaseType&)(((const Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>, 1, -0x00000000000000001, false, true> >)(& Eigen::DenseBase::row(Eigen::DenseBase::Index) const with Derived = Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>, Eigen::DenseBase::ConstRowXpr = const Eigen::Block<const Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>, 1, -0x00000000000000001, false, true>, Eigen::DenseBase::Index = int)))’
/usr/include/eigen3/Eigen/src/Sparse/SparseDenseProduct.h:178:47: note: candidate is:
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:335:14: note: template Derived& Eigen::SparseMatrixBase::operator+=(const Eigen::SparseMatrixBase&) [with OtherDerived = OtherDerived, Derived = Eigen::SparseInnerVectorSetEigen::SparseMatrix<double, 1>]
[ 71%] Built target moveit_rdf_loader
[ 72%] Built target moveit_pointcloud_octomap_updater
In file included from /usr/include/eigen3/Eigen/Sparse:47:0,
from /home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:2:
/usr/include/eigen3/Eigen/src/Sparse/SparseBlock.h: In member function ‘Eigen::SparseInnerVectorSet<Derived, 1> Eigen::SparseMatrixBase::row(Eigen::SparseMatrixBase::Index) [with Derived = Eigen::SparseMatrix, Eigen::SparseMatrixBase::Index = int]’:
/usr/include/eigen3/Eigen/src/Sparse/SparseDenseProduct.h:178:47: instantiated from ‘void Eigen::SparseTimeDenseProduct<Lhs, Rhs>::scaleAndAddTo(Dest&, Eigen::SparseTimeDenseProduct<Lhs, Rhs>::Scalar) const [with Dest = Eigen::SparseMatrix, Lhs = Eigen::SparseMatrix, Rhs = Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>, Eigen::SparseTimeDenseProduct<Lhs, Rhs>::Scalar = double]’
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:124:63: instantiated from ‘void Eigen::ProductBase<Derived, Lhs, Rhs>::scaleAndAddTo(Dest&, Eigen::ProductBase<Derived, Lhs, Rhs>::Scalar) const [with Dest = Eigen::SparseMatrix, Derived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Lhs = Eigen::SparseMatrix, Rhs = Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>, Eigen::ProductBase<Derived, Lhs, Rhs>::Scalar = double]’
/usr/include/eigen3/Eigen/src/Core/ProductBase.h:115:58: instantiated from ‘void Eigen::ProductBase<Derived, Lhs, Rhs>::evalTo(Dest&) const [with Dest = Eigen::SparseMatrix, Derived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Lhs = Eigen::SparseMatrix, Rhs = Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001>]’
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrixBase.h:54:7: instantiated from ‘Derived& Eigen::SparseMatrixBase::operator=(const Eigen::EigenBase&) [with OtherDerived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, Derived = Eigen::SparseMatrix]’
/usr/include/eigen3/Eigen/src/Sparse/SparseMatrix.h:464:35: instantiated from ‘Eigen::SparseMatrix<_Scalar, _Flags, _Index>& Eigen::SparseMatrix<_Scalar, _Flags, _Index>::operator=(const Eigen::EigenBase&) [with OtherDerived = Eigen::SparseTimeDenseProductEigen::SparseMatrix<double, Eigen::Matrix<double, -0x00000000000000001, -0x00000000000000001> >, _Scalar = double, int _Options = 0, _Index = int, Eigen::SparseMatrix<_Scalar, _Flags, _Index> = Eigen::SparseMatrix]’
/home/zijun/catkin_ws/src/stomp-master/stomp/src/stomp_constrained.cpp:118:68: instantiated from here
/usr/include/eigen3/Eigen/src/Sparse/SparseBlock.h:371:3: error: ‘THIS_METHOD_IS_ONLY_FOR_ROW_MAJOR_MATRICES’ is not a member of ‘Eigen::internal::static_assertion’
[ 72%] [ 72%] Built target moveit_planning_pipeline
Built target moveit_constraint_sampler_manager_loader
[ 72%] Built target moveit_list_request_adapter_plugins
[ 73%] Built target moveit_default_planning_request_adapter_plugins
[ 73%] Built target moveit_kdl_kinematics_plugin
[ 74%] Built target moveit_kinematics_plugin_loader
[ 75%] Built target moveit_robot_model_loader
[ 75%] Built target moveit_evaluate_state_operations_speed
[ 76%] Built target moveit_planning_scene_monitor
[ 76%] Built target moveit_kinematics_speed_and_validity_evaluator
[ 76%] Built target moveit_print_planning_model_info
[ 76%] Built target moveit_visualize_robot_collision_volume
[ 77%] Built target moveit_trajectory_execution_manager
[ 77%] Built target demo_scene
[ 77%] Built target moveit_display_random_state
[ 77%] Built target moveit_evaluate_collision_checking_speed
[ 77%] Built target test_controller_manager
[ 77%] Built target test_controller_manager_plugin
[ 78%] Built target moveit_plan_execution
[ 79%] Built target list_move_group_capabilities
[ 79%] Built target moveit_move_group_capabilities_base
[ 79%] Built target moveit_robot_interaction
[ 81%] Built target moveit_ompl_interface
[ 82%] Built target moveit_warehouse
[ 82%] Built target move_group
make[2]: *** [stomp-master/stomp/CMakeFiles/stomp_test_distributions.dir/src/stomp_constrained.cpp.o] Error 1
make[1]: *** [stomp-master/stomp/CMakeFiles/stomp_test_distributions.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 82%] Built target moveit_init_demo_warehouse
[ 82%] Built target moveit_pick_place_planner
[ 83%] Built target moveit_move_group_default_capabilities
Linking CXX shared library /home/zijun/catkin_ws/devel/lib/libstomp.so
[ 83%] Built target stomp
make: *** [all] Error 2
Invoking "make" failed

This package is more up to date than stomp_motion_planner_icra2011. The problem here is that it looks like you're using the default system Eigen, while this package requires Eigen 3.2 for its sparse matrix support.

After I install the Eigen 3.2 according to http://eigen.tuxfamily.org/dox/GettingStarted.html, and do catkin_make
it does help to solve the problem.

However, some of other packages cannot be compiled because I replaced the default system Eigen with Eigen 3.2. For example:

In file included from /home/zijun/catkin_ws/src/moveit_planners-groovy-devel/ompl/core/ompl_interface/src/planning_context_manager.cpp:54:0:
/opt/ros/groovy/include/ompl/contrib/rrt_star/RRTstar.h:1:2: warning: #warning "Please include <ompl/geometric/planners/rrt/RRTstar.h> directly" [-Wcpp]
In file included from /opt/ros/groovy/include/pcl-1.6/pcl/point_cloud.h:43:0,
from /home/zijun/catkin_ws/src/moveit_ros-groovy-devel/perception/robot_self_filter/include/moveit/robot_self_filter/self_mask.h:40,
from /home/zijun/catkin_ws/src/moveit_ros-groovy-devel/perception/robot_self_filter/src/self_mask.cpp:30:
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h: In function ‘void pcl::computeRoots(const Matrix&, Roots&)’:
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:168:30: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:168:30: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:183:20: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:183:20: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:184:34: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:184:34: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:185:26: error: ‘cos’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:185:26: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:64:1: note: ‘cos’
/usr/include/c++/4.6/complex:697:5: note: ‘std::cos’
/usr/include/c++/4.6/complex:697:5: note: ‘std::cos’
/usr/include/c++/4.6/complex:697:5: note: ‘std::cos’
/usr/include/c++/4.6/complex:697:5: note: ‘std::cos’
/usr/include/c++/4.6/complex:697:5: note: ‘std::cos’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:44:3: note: ‘Eigen::cos’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:186:26: error: ‘sin’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:186:26: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:66:1: note: ‘sin’
/usr/include/c++/4.6/complex:815:5: note: ‘std::sin’
/usr/include/c++/4.6/complex:815:5: note: ‘std::sin’
/usr/include/c++/4.6/complex:815:5: note: ‘std::sin’
/usr/include/c++/4.6/complex:815:5: note: ‘std::sin’
/usr/include/c++/4.6/complex:815:5: note: ‘std::sin’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:43:3: note: ‘Eigen::sin’
In file included from /opt/ros/groovy/include/pcl-1.6/pcl/point_cloud.h:43:0,
from /home/zijun/catkin_ws/src/moveit_ros-groovy-devel/perception/robot_self_filter/include/moveit/robot_self_filter/self_mask.h:40,
from /home/zijun/catkin_ws/src/moveit_ros-groovy-devel/perception/robot_self_filter/src/self_mask.cpp:30:
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h: In function ‘void pcl::computeCorrespondingEigenVector(const Matrix&, const typename Matrix::Scalar&, Vector&)’:
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:339:28: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:339:28: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:341:28: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:341:28: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:343:28: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:343:28: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h: In function ‘void pcl::eigen33(const Matrix&, typename Matrix::Scalar&, Vector&)’:
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:382:28: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:382:28: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:384:28: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:384:28: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:386:28: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:386:28: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h: In function ‘void pcl::eigen33(const Matrix&, Matrix&, Vector&)’:
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:450:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:450:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:452:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:452:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:454:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:454:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:475:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:475:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:477:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:477:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:479:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:479:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:507:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:507:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:512:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:512:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:517:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:517:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:533:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:533:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:540:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:540:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:547:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:547:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:565:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:565:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:572:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:572:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:579:32: error: ‘sqrt’ is not a member of ‘Eigen::internal’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:579:32: note: suggested alternatives:
/usr/include/i386-linux-gnu/bits/mathcalls.h:158:1: note: ‘sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/c++/4.6/complex:889:5: note: ‘std::sqrt’
/usr/include/eigen3/Eigen/src/Core/GlobalFunctions.h:51:3: note: ‘Eigen::sqrt’
/opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h:96:3: note: ‘pcl::sqrt’

Do you know how to solve this problem? Thanks a lot.

Hi, I have solved the problem by installing Eigen 3.2 (default in Ubuntu 12.04 is 3.01) and doing the following things:

  1. backup the original "eigen3" in /use/include
  2. copy the subdirectory: /Eigen , /unsupported, signature_of_eigen3_matrix_library to replace the old one
  3. modify /opt/ros/groovy/include/pcl-1.6/pcl/common/eigen.h
    replace Eigen::internal::sqrt with std::sqrt
    replace Eigen::internal::sin/cos with Eigen::internal::psin/pcos

Hi , I have a very strange problem with compiling eigen 3 with ROS , so i want to use
<eigen3/Eigen/Sparse>
<eigen3/unsupported/Eigen/SparseExtra>

from eigen .

but in compile process the error is

error: ‘scalar_cmp_op’ is not a member of ‘Eigen::internal’
error: provided for ‘template<class BinaryOp, class Lhs, class Rhs> class Eigen::CwiseBinaryOp’

i can use this classes separately but now with PCL / ROS i have this issue
Any suggestion ? , thanks in advanced ...