You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i cannot build g2o with eigen-3.2.3 on OS X due to:
no viable conversion from 'Scalar' (aka 'double') to
'Eigen::Rotation2D'
[ 41%] Building CXX object g2o/types/slam2d/CMakeFiles/types_slam2d.dir/edge_se2.cpp.o
In file included from /Users/tatsch/g2o/g2o/types/slam2d/edge_se2.cpp:27:
In file included from /Users/tatsch/g2o/g2o/types/slam2d/edge_se2.h:30:
In file included from /Users/tatsch/g2o/g2o/types/slam2d/vertex_se2.h:30:
In file included from /Users/tatsch/g2o/build/g2o/config.h:18:
In file included from /Users/tatsch/g2o/g2o/core/eigen_types.h:31:
In file included from /usr/local/include/eigen3/Eigen/Geometry:39:
/usr/local/include/eigen3/Eigen/src/Geometry/Rotation2D.h:74:46: error: no viable conversion from 'Scalar' (aka 'double') to
'Eigen::Rotation2D'
inline Rotation2D inverse() const { return -m_angle; }
^~~~~~~~
/Users/tatsch/g2o/g2o/types/slam2d/se2.h:84:19: note: in instantiation of member function 'Eigen::Rotation2D::inverse' requested here
ret._R=_R.inverse();
^
/usr/local/include/eigen3/Eigen/src/Geometry/Rotation2D.h:41:7: note: candidate constructor (the implicit copy constructor) not viable: no known
conversion from 'Scalar' (aka 'double') to 'const Eigen::Rotation2D &' for 1st argument
class Rotation2D : public RotationBase<Rotation2D<_Scalar>,2>
^
/usr/local/include/eigen3/Eigen/src/Geometry/Rotation2D.h:41:7: note: candidate constructor (the implicit move constructor) not viable: no known
conversion from 'Scalar' (aka 'double') to 'Eigen::Rotation2D &&' for 1st argument
class Rotation2D : public RotationBase<Rotation2D<_Scalar>,2>
^
1 error generated.
make[2]: *** [g2o/types/slam2d/CMakeFiles/types_slam2d.dir/edge_se2.cpp.o] Error 1
make[1]: *** [g2o/types/slam2d/CMakeFiles/types_slam2d.dir/all] Error 2
make: *** [all] Error 2
Can you check if you can still compile with eigen-3.2.3?
The text was updated successfully, but these errors were encountered:
Hi,
i cannot build g2o with eigen-3.2.3 on OS X due to:
no viable conversion from 'Scalar' (aka 'double') to
'Eigen::Rotation2D'
[ 41%] Building CXX object g2o/types/slam2d/CMakeFiles/types_slam2d.dir/edge_se2.cpp.o
In file included from /Users/tatsch/g2o/g2o/types/slam2d/edge_se2.cpp:27:
In file included from /Users/tatsch/g2o/g2o/types/slam2d/edge_se2.h:30:
In file included from /Users/tatsch/g2o/g2o/types/slam2d/vertex_se2.h:30:
In file included from /Users/tatsch/g2o/build/g2o/config.h:18:
In file included from /Users/tatsch/g2o/g2o/core/eigen_types.h:31:
In file included from /usr/local/include/eigen3/Eigen/Geometry:39:
/usr/local/include/eigen3/Eigen/src/Geometry/Rotation2D.h:74:46: error: no viable conversion from 'Scalar' (aka 'double') to
'Eigen::Rotation2D'
inline Rotation2D inverse() const { return -m_angle; }
^~~~~~~~
/Users/tatsch/g2o/g2o/types/slam2d/se2.h:84:19: note: in instantiation of member function 'Eigen::Rotation2D::inverse' requested here
ret._R=_R.inverse();
^
/usr/local/include/eigen3/Eigen/src/Geometry/Rotation2D.h:41:7: note: candidate constructor (the implicit copy constructor) not viable: no known
conversion from 'Scalar' (aka 'double') to 'const Eigen::Rotation2D &' for 1st argument
class Rotation2D : public RotationBase<Rotation2D<_Scalar>,2>
^
/usr/local/include/eigen3/Eigen/src/Geometry/Rotation2D.h:41:7: note: candidate constructor (the implicit move constructor) not viable: no known
conversion from 'Scalar' (aka 'double') to 'Eigen::Rotation2D &&' for 1st argument
class Rotation2D : public RotationBase<Rotation2D<_Scalar>,2>
^
1 error generated.
make[2]: *** [g2o/types/slam2d/CMakeFiles/types_slam2d.dir/edge_se2.cpp.o] Error 1
make[1]: *** [g2o/types/slam2d/CMakeFiles/types_slam2d.dir/all] Error 2
make: *** [all] Error 2
Can you check if you can still compile with eigen-3.2.3?
The text was updated successfully, but these errors were encountered: