something wrong when I install gtsam

Issue #353 closed
Former user created an issue

when I try to make check, It occured: /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3::Point3(gtsam::Point3&&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const Vector3 {aka const Eigen::Matrix<double, 3, 1>}’ to ‘gtsam::Point3&&’ /home/zss/gtsam/gtsam/geometry/Point3.h: In static member function ‘static gtsam::Point3 gtsam::Point3::Expmap(const Vector3&)’: /home/zss/gtsam/gtsam/geometry/Point3.h:130:61: error: no matching function for call to ‘gtsam::Point3::Point3(const Vector3&)’ /home/zss/gtsam/gtsam/geometry/Point3.h:130:61: note: candidates are: /home/zss/gtsam/gtsam/geometry/Point3.h:56:5: note: gtsam::Point3::Point3() /home/zss/gtsam/gtsam/geometry/Point3.h:56:5: note: candidate expects 0 arguments, 1 provided /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3::Point3(const gtsam::Point3&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const Vector3 {aka const Eigen::Matrix<double, 3, 1>}’ to ‘const gtsam::Point3&’ /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3::Point3(gtsam::Point3&&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const Vector3 {aka const Eigen::Matrix<double, 3, 1>}’ to ‘gtsam::Point3&&’ In file included from /home/zss/gtsam/gtsam/geometry/Rot3.h:25:0, from /home/zss/gtsam/gtsam/geometry/Pose3.h:24, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:23, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Unit3.h: In function ‘gtsam::Point3 gtsam::operator(double, const gtsam::Unit3&)’: /home/zss/gtsam/gtsam/geometry/Unit3.h:141:27: error: no matching function for call to ‘gtsam::Point3::Point3(const ScalarMultipleReturnType)’ /home/zss/gtsam/gtsam/geometry/Unit3.h:141:27: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/Pose3.h:23:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:23, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point3.h:56:5: note: gtsam::Point3::Point3() /home/zss/gtsam/gtsam/geometry/Point3.h:56:5: note: candidate expects 0 arguments, 1 provided /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3::Point3(const gtsam::Point3&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const ScalarMultipleReturnType {aka const Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op, const Eigen::Matrix<double, 3, 1> >}’ to ‘const gtsam::Point3&’ /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3::Point3(gtsam::Point3&&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const ScalarMultipleReturnType {aka const Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op, const Eigen::Matrix<double, 3, 1> >}’ to ‘gtsam::Point3&&’ In file included from /home/zss/gtsam/gtsam/geometry/Pose3.h:24:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:23, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Rot3.h: In static member function ‘static gtsam::Rot3 gtsam::Rot3::AxisAngle(const gtsam::Unit3&, double)’: /home/zss/gtsam/gtsam/geometry/Rot3.h:201:47: error: no matching function for call to ‘gtsam::Rot3::AxisAngle(gtsam::Vector3, double&)’ /home/zss/gtsam/gtsam/geometry/Rot3.h:201:47: note: candidates are: /home/zss/gtsam/gtsam/geometry/Rot3.h:186:17: note: static gtsam::Rot3 gtsam::Rot3::AxisAngle(const gtsam::Point3&, double) /home/zss/gtsam/gtsam/geometry/Rot3.h:186:17: note: no known conversion for argument 1 from ‘gtsam::Vector3 {aka Eigen::Matrix<double, 3, 1>}’ to ‘const gtsam::Point3&’ /home/zss/gtsam/gtsam/geometry/Rot3.h:200:17: note: static gtsam::Rot3 gtsam::Rot3::AxisAngle(const gtsam::Unit3&, double) /home/zss/gtsam/gtsam/geometry/Rot3.h:200:17: note: no known conversion for argument 1 from ‘gtsam::Vector3 {aka Eigen::Matrix<double, 3, 1>}’ to ‘const gtsam::Unit3&’ In file included from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:23:0, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Pose3.h: In constructor ‘gtsam::Pose3::Pose3(const Matrix&)’: /home/zss/gtsam/gtsam/geometry/Pose3.h:73:49: error: no matching function for call to ‘gtsam::Point3::Point3(const double&, const double&, const double&)’ /home/zss/gtsam/gtsam/geometry/Pose3.h:73:49: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/Pose3.h:23:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:23, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point3.h:56:5: note: gtsam::Point3::Point3() /home/zss/gtsam/gtsam/geometry/Point3.h:56:5: note: candidate expects 0 arguments, 3 provided /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3::Point3(const gtsam::Point3&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: candidate expects 1 argument, 3 provided /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3::Point3(gtsam::Point3&&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: candidate expects 1 argument, 3 provided In file included from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:23:0, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Pose3.h: In member function ‘gtsam::Pose3 gtsam::Pose3::operator(const gtsam::Pose3&) const’: /home/zss/gtsam/gtsam/geometry/Pose3.h:113:43: error: no matching function for call to ‘gtsam::Pose3::Pose3(gtsam::Rot3, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 3, 1>, const Eigen::Matrix<double, 3, 1> >)’ /home/zss/gtsam/gtsam/geometry/Pose3.h:113:43: note: candidates are: /home/zss/gtsam/gtsam/geometry/Pose3.h:71:3: note: gtsam::Pose3::Pose3(const Matrix&) /home/zss/gtsam/gtsam/geometry/Pose3.h:71:3: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Pose3.h:68:12: note: gtsam::Pose3::Pose3(const gtsam::Pose2&) /home/zss/gtsam/gtsam/geometry/Pose3.h:68:12: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Pose3.h:63:3: note: gtsam::Pose3::Pose3(const gtsam::Rot3&, const gtsam::Point3&) /home/zss/gtsam/gtsam/geometry/Pose3.h:63:3: note: no known conversion for argument 2 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 3, 1>, const Eigen::Matrix<double, 3, 1> >’ to ‘const gtsam::Point3&’ /home/zss/gtsam/gtsam/geometry/Pose3.h:58:3: note: gtsam::Pose3::Pose3(const gtsam::Pose3&) /home/zss/gtsam/gtsam/geometry/Pose3.h:58:3: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Pose3.h:55:2: note: gtsam::Pose3::Pose3() /home/zss/gtsam/gtsam/geometry/Pose3.h:55:2: note: candidate expects 0 arguments, 2 provided In file included from /home/zss/gtsam/gtsam/geometry/Pose2.h:25:0, from /home/zss/gtsam/gtsam/geometry/triangulation.h:22, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Rot2.h: In member function ‘gtsam::Point2 gtsam::Rot2::unit() const’: /home/zss/gtsam/gtsam/geometry/Rot2.h:169:27: error: no matching function for call to ‘gtsam::Point2::Point2(const double&, const double&)’ /home/zss/gtsam/gtsam/geometry/Rot2.h:169:27: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22:0, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point2.h:63:12: note: gtsam::Point2::Point2(const Vector2&) /home/zss/gtsam/gtsam/geometry/Point2.h:63:12: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Point2.h:51:5: note: gtsam::Point2::Point2() /home/zss/gtsam/gtsam/geometry/Point2.h:51:5: note: candidate expects 0 arguments, 2 provided /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2::Point2(const gtsam::Point2&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2::Point2(gtsam::Point2&&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: candidate expects 1 argument, 2 provided In file included from /home/zss/gtsam/gtsam/geometry/triangulation.h:22:0, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Pose2.h: In constructor ‘gtsam::Pose2::Pose2(double, double, double)’: /home/zss/gtsam/gtsam/geometry/Pose2.h:69:40: error: no matching function for call to ‘gtsam::Point2::Point2(double&, double&)’ /home/zss/gtsam/gtsam/geometry/Pose2.h:69:40: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22:0, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point2.h:63:12: note: gtsam::Point2::Point2(const Vector2&) /home/zss/gtsam/gtsam/geometry/Point2.h:63:12: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Point2.h:51:5: note: gtsam::Point2::Point2() /home/zss/gtsam/gtsam/geometry/Point2.h:51:5: note: candidate expects 0 arguments, 2 provided /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2::Point2(const gtsam::Point2&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2::Point2(gtsam::Point2&&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: candidate expects 1 argument, 2 provided In file included from /home/zss/gtsam/gtsam/geometry/triangulation.h:22:0, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Pose2.h: In constructor ‘gtsam::Pose2::Pose2(const Matrix&)’: /home/zss/gtsam/gtsam/geometry/Pose2.h:82:59: error: no matching function for call to ‘gtsam::Point2::Point2(const double&, const double&)’ /home/zss/gtsam/gtsam/geometry/Pose2.h:82:59: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22:0, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point2.h:63:12: note: gtsam::Point2::Point2(const Vector2&) /home/zss/gtsam/gtsam/geometry/Point2.h:63:12: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Point2.h:51:5: note: gtsam::Point2::Point2() /home/zss/gtsam/gtsam/geometry/Point2.h:51:5: note: candidate expects 0 arguments, 2 provided /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2::Point2(const gtsam::Point2&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2::Point2(gtsam::Point2&&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: candidate expects 1 argument, 2 provided In file included from /home/zss/gtsam/gtsam/geometry/triangulation.h:22:0, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Pose2.h: In member function ‘gtsam::Pose2 gtsam::Pose2::operator(const gtsam::Pose2&) const’: /home/zss/gtsam/gtsam/geometry/Pose2.h:117:43: error: no matching function for call to ‘gtsam::Pose2::Pose2(gtsam::Rot2, const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 2, 1>, const Eigen::Matrix<double, 2, 1> >)’ /home/zss/gtsam/gtsam/geometry/Pose2.h:117:43: note: candidates are: /home/zss/gtsam/gtsam/geometry/Pose2.h:91:3: note: gtsam::Pose2::Pose2(const Vector&) /home/zss/gtsam/gtsam/geometry/Pose2.h:91:3: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Pose2.h:81:3: note: gtsam::Pose2::Pose2(const Matrix&) /home/zss/gtsam/gtsam/geometry/Pose2.h:81:3: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Pose2.h:78:3: note: gtsam::Pose2::Pose2(const gtsam::Rot2&, const gtsam::Point2&) /home/zss/gtsam/gtsam/geometry/Pose2.h:78:3: note: no known conversion for argument 2 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 2, 1>, const Eigen::Matrix<double, 2, 1> >’ to ‘const gtsam::Point2&’ /home/zss/gtsam/gtsam/geometry/Pose2.h:73:3: note: gtsam::Pose2::Pose2(double, const gtsam::Point2&) /home/zss/gtsam/gtsam/geometry/Pose2.h:73:3: note: no known conversion for argument 1 from ‘gtsam::Rot2’ to ‘double’ /home/zss/gtsam/gtsam/geometry/Pose2.h:68:3: note: gtsam::Pose2::Pose2(double, double, double) /home/zss/gtsam/gtsam/geometry/Pose2.h:68:3: note: candidate expects 3 arguments, 2 provided /home/zss/gtsam/gtsam/geometry/Pose2.h:60:3: note: gtsam::Pose2::Pose2(const gtsam::Pose2&) /home/zss/gtsam/gtsam/geometry/Pose2.h:60:3: note: candidate expects 1 argument, 2 provided /home/zss/gtsam/gtsam/geometry/Pose2.h:55:3: note: gtsam::Pose2::Pose2() /home/zss/gtsam/gtsam/geometry/Pose2.h:55:3: note: candidate expects 0 arguments, 2 provided /home/zss/gtsam/gtsam/geometry/triangulation.cpp: In function ‘gtsam::Point3 gtsam::triangulateDLT(const std::vector<Eigen::Matrix<double, 3, 4> >&, const std::vectorgtsam::Point2&, double)’: /home/zss/gtsam/gtsam/geometry/triangulation.cpp:62:35: error: no matching function for call to ‘gtsam::Point3::Point3(const Eigen::CwiseUnaryOp<Eigen::internal::scalar_quotient1_op, const Eigen::Block<Eigen::Matrix<double, 4, 1>, 3, 1, false> >)’ /home/zss/gtsam/gtsam/geometry/triangulation.cpp:62:35: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/Pose3.h:23:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:23, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point3.h:56:5: note: gtsam::Point3::Point3() /home/zss/gtsam/gtsam/geometry/Point3.h:56:5: note: candidate expects 0 arguments, 1 provided /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3::Point3(const gtsam::Point3&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseUnaryOp<Eigen::internal::scalar_quotient1_op, const Eigen::Block<Eigen::Matrix<double, 4, 1>, 3, 1, false> >’ to ‘const gtsam::Point3&’ /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3::Point3(gtsam::Point3&&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseUnaryOp<Eigen::internal::scalar_quotient1_op, const Eigen::Block<Eigen::Matrix<double, 4, 1>, 3, 1, false> >’ to ‘gtsam::Point3&&’ In file included from /home/zss/gtsam/gtsam/geometry/Point2.h:20:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/base/VectorSpace.h: In instantiation of ‘gtsam::internal::HasVectorSpacePrereqs::~HasVectorSpacePrereqs() [with Class = gtsam::Point2]’: /usr/include/boost/concept/detail/general.hpp:38:28: required from ‘static void boost::concepts::requirement<boost::concepts::failed** Model::>::failed() [with Model = gtsam::internal::HasVectorSpacePrereqsgtsam::Point2]’ /home/zss/gtsam/gtsam/base/VectorSpace.h:188:1: required from ‘struct gtsam::internal::VectorSpaceTraitsgtsam::Point2’ /home/zss/gtsam/gtsam/base/VectorSpace.h:207:8: required from ‘struct gtsam::internal::VectorSpacegtsam::Point2’ /home/zss/gtsam/gtsam/geometry/Point2.h:149:42: required from here /home/zss/gtsam/gtsam/base/VectorSpace.h:173:5: error: no match for ‘operator=’ in ‘((gtsam::internal::HasVectorSpacePrereqsgtsam::Point2)this)->gtsam::internal::HasVectorSpacePrereqsgtsam::Point2::q = Eigen::MatrixBase::operator+(const Eigen::MatrixBase&) const with OtherDerived = Eigen::Matrix<double, 2, 1>; Derived = Eigen::Matrix<double, 2, 1>; typename Eigen::internal::traits::Scalar = double’ /home/zss/gtsam/gtsam/base/VectorSpace.h:173:5: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22:0, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2& gtsam::Point2::operator=(const gtsam::Point2&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 2, 1>, const Eigen::Matrix<double, 2, 1> >’ to ‘const gtsam::Point2&’ /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2& gtsam::Point2::operator=(gtsam::Point2&&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 2, 1>, const Eigen::Matrix<double, 2, 1> >’ to ‘gtsam::Point2&&’ In file included from /home/zss/gtsam/gtsam/geometry/Point2.h:20:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/base/VectorSpace.h:174:5: error: no match for ‘operator=’ in ‘((gtsam::internal::HasVectorSpacePrereqsgtsam::Point2)this)->gtsam::internal::HasVectorSpacePrereqsgtsam::Point2::q = Eigen::MatrixBase::operator-(const Eigen::MatrixBase&) const with OtherDerived = Eigen::Matrix<double, 2, 1>; Derived = Eigen::Matrix<double, 2, 1>; typename Eigen::internal::traits::Scalar = double’ /home/zss/gtsam/gtsam/base/VectorSpace.h:174:5: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22:0, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2& gtsam::Point2::operator=(const gtsam::Point2&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op, const Eigen::Matrix<double, 2, 1>, const Eigen::Matrix<double, 2, 1> >’ to ‘const gtsam::Point2&’ /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2& gtsam::Point2::operator=(gtsam::Point2&&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op, const Eigen::Matrix<double, 2, 1>, const Eigen::Matrix<double, 2, 1> >’ to ‘gtsam::Point2&&’ In file included from /home/zss/gtsam/gtsam/geometry/Point2.h:20:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/base/VectorSpace.h:176:5: error: no match for ‘operator=’ in ‘((gtsam::internal::HasVectorSpacePrereqsgtsam::Point2)this)->gtsam::internal::HasVectorSpacePrereqsgtsam::Point2::q = Eigen::MatrixBase::operator+(const Eigen::MatrixBase&) const with OtherDerived = Eigen::Matrix<double, -1, 1>; Derived = Eigen::Matrix<double, 2, 1>; typename Eigen::internal::traits::Scalar = double’ /home/zss/gtsam/gtsam/base/VectorSpace.h:176:5: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22:0, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2& gtsam::Point2::operator=(const gtsam::Point2&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 2, 1>, const Eigen::Matrix<double, -1, 1> >’ to ‘const gtsam::Point2&’ /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: gtsam::Point2& gtsam::Point2::operator=(gtsam::Point2&&) /home/zss/gtsam/gtsam/geometry/Point2.h:40:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 2, 1>, const Eigen::Matrix<double, -1, 1> >’ to ‘gtsam::Point2&&’ In file included from /home/zss/gtsam/gtsam/geometry/Point2.h:20:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/base/VectorSpace.h: In instantiation of ‘gtsam::internal::HasVectorSpacePrereqs::~HasVectorSpacePrereqs() [with Class = gtsam::Point3]’: /usr/include/boost/concept/detail/general.hpp:38:28: required from ‘static void boost::concepts::requirement<boost::concepts::failed* Model::>::failed() [with Model = gtsam::internal::HasVectorSpacePrereqsgtsam::Point3]’ /home/zss/gtsam/gtsam/base/VectorSpace.h:188:1: required from ‘struct gtsam::internal::VectorSpaceTraitsgtsam::Point3’ /home/zss/gtsam/gtsam/base/VectorSpace.h:207:8: required from ‘struct gtsam::internal::VectorSpacegtsam::Point3’ /home/zss/gtsam/gtsam/geometry/Point3.h:151:42: required from here /home/zss/gtsam/gtsam/base/VectorSpace.h:173:5: error: no match for ‘operator=’ in ‘((gtsam::internal::HasVectorSpacePrereqsgtsam::Point3)this)->gtsam::internal::HasVectorSpacePrereqsgtsam::Point3::q = Eigen::MatrixBase::operator+(const Eigen::MatrixBase&) const with OtherDerived = Eigen::Matrix<double, 3, 1>; Derived = Eigen::Matrix<double, 3, 1>; typename Eigen::internal::traits::Scalar = double’ /home/zss/gtsam/gtsam/base/VectorSpace.h:173:5: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/Pose3.h:23:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:23, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3& gtsam::Point3::operator=(const gtsam::Point3&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 3, 1>, const Eigen::Matrix<double, 3, 1> >’ to ‘const gtsam::Point3&’ /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3& gtsam::Point3::operator=(gtsam::Point3&&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 3, 1>, const Eigen::Matrix<double, 3, 1> >’ to ‘gtsam::Point3&&’ In file included from /home/zss/gtsam/gtsam/geometry/Point2.h:20:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/base/VectorSpace.h:174:5: error: no match for ‘operator=’ in ‘((gtsam::internal::HasVectorSpacePrereqsgtsam::Point3)this)->gtsam::internal::HasVectorSpacePrereqsgtsam::Point3::q = Eigen::MatrixBase::operator-(const Eigen::MatrixBase&) const with OtherDerived = Eigen::Matrix<double, 3, 1>; Derived = Eigen::Matrix<double, 3, 1>; typename Eigen::internal::traits::Scalar = double’ /home/zss/gtsam/gtsam/base/VectorSpace.h:174:5: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/Pose3.h:23:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:23, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3& gtsam::Point3::operator=(const gtsam::Point3&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op, const Eigen::Matrix<double, 3, 1>, const Eigen::Matrix<double, 3, 1> >’ to ‘const gtsam::Point3&’ /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3& gtsam::Point3::operator=(gtsam::Point3&&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op, const Eigen::Matrix<double, 3, 1>, const Eigen::Matrix<double, 3, 1> >’ to ‘gtsam::Point3&&’ In file included from /home/zss/gtsam/gtsam/geometry/Point2.h:20:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:22, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/base/VectorSpace.h:176:5: error: no match for ‘operator=’ in ‘((gtsam::internal::HasVectorSpacePrereqsgtsam::Point3)this)->gtsam::internal::HasVectorSpacePrereqsgtsam::Point3::q = Eigen::MatrixBase::operator+(const Eigen::MatrixBase&) const with OtherDerived = Eigen::Matrix<double, -1, 1>; Derived = Eigen::Matrix<double, 3, 1>; typename Eigen::internal::traits::Scalar = double’ /home/zss/gtsam/gtsam/base/VectorSpace.h:176:5: note: candidates are: In file included from /home/zss/gtsam/gtsam/geometry/Pose3.h:23:0, from /home/zss/gtsam/gtsam/geometry/CalibratedCamera.h:23, from /home/zss/gtsam/gtsam/geometry/PinholePose.h:22, from /home/zss/gtsam/gtsam/geometry/PinholeCamera.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.h:21, from /home/zss/gtsam/gtsam/geometry/triangulation.cpp:19: /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3& gtsam::Point3::operator=(const gtsam::Point3&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 3, 1>, const Eigen::Matrix<double, -1, 1> >’ to ‘const gtsam::Point3&’ /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: gtsam::Point3& gtsam::Point3::operator=(gtsam::Point3&&) /home/zss/gtsam/gtsam/geometry/Point3.h:45:20: note: no known conversion for argument 1 from ‘const Eigen::CwiseBinaryOp<Eigen::internal::scalar_sum_op, const Eigen::Matrix<double, 3, 1>, const Eigen::Matrix<double, -1, 1> >’ to ‘gtsam::Point3&&’ /home/zss/gtsam/gtsam/geometry/triangulation.cpp:63:1: warning: control reaches end of non-void function [-Wreturn-type] make[3]: [gtsam/CMakeFiles/gtsam.dir/geometry/triangulation.cpp.o] Error 1 make[2]: [gtsam/CMakeFiles/gtsam.dir/all] Error 2 make[1]: [CMakeFiles/check.dir/rule] Error 2 make: ** [check] Error 2

Comments (3)

  1. Frank Dellaert

    Hi, we will consider Issues that are reproducible, come with some context (such as compiler, platform used, etc), and a guess as to what is going on, and - ideally, a proposed fix :-)

  2. Jing Dong

    Hi please give more information about what OS/compiler/boost/CMake setups, I have not seen this issue on any of our machines.

  3. Log in to comment