ApolloAuto / apollo-platform

Collections of Apollo Platform Software
736 stars 389 forks source link

ros ./build.sh build failed #68

Open guchaojie opened 6 years ago

guchaojie commented 6 years ago

my compiler log is: In file included from /usr/include/eigen3/Eigen/Core:254:0, from /disk9/charles.gcj/third_party/apollo-platform/ros/geometry/eigen_conversions/include/eigen_conversions/eigen_msg.h:46, from /disk9/charles.gcj/third_party/apollo-platform/ros/geometry/eigen_conversions/src/eigen_msg.cpp:31: /usr/include/eigen3/Eigen/src/Geometry/Transform.h: In instantiation of ‘Eigen::Transform<Scalar, Dim, Mode, _Options>::Transform(const Eigen::Transform<_Scalar, Dim, OtherMode, OtherOptions>&) [with int OtherMode = 2; int OtherOptions = 0; _Scalar = double; int _Dim = 3; int _Mode = 1; int _Options = 0]’: /disk9/charles.gcj/third_party/apollo-platform/ros/geometry/eigen_conversions/src/eigen_msg.cpp:53:7: required from ‘void tf::{anonymous}::poseMsgToEigenImpl(const Pose&, T&) [with T = Eigen::Transform<double, 3, 1>; geometry_msgs::Pose = geometrymsgs::Pose<std::allocator >]’ /disk9/charles.gcj/third_party/apollo-platform/ros/geometry/eigen_conversions/src/eigen_msg.cpp:120:26: required from here /usr/include/eigen3/Eigen/src/Geometry/Transform.h:313:5: error: ‘YOU_PERFORMED_AN_INVALID_TRANSFORMATION_CONVERSION’ is not a member of ‘Eigen::internal::static_assertion’ EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(OtherMode==int(Affine)||OtherMode==int(AffineCompact), Mode!=int(Isometry)), ^ make[2]: [CMakeFiles/eigen_conversions.dir/src/eigen_msg.cpp.o] Error 1 make[1]: [CMakeFiles/eigen_conversions.dir/all] Error 2 make: *** [all] Error 2 <== Failed to process package 'eigen_conversions': Command '['/disk9/charles.gcj/third_party/apollo-platform/ros/install/ros_x86_64/env.sh', 'make', '-j24', '-l24']' returned non-zero exit status 2

and i installed ii libeigen3-dev 3.0.5-1 lightweight C++ template library for linear algebra