Open YxjAnly opened 7 years ago
all warnings being treated as errors make
Seems like its related to your compiler configuration. Try to do not treat all warning as errors (check you c).
You can try to compile in release mode.
Add -DCMAKE_BUILD_TYPE=RELEASE
in the cmake command line
Hi! I have some problems when compiling KVLD library. (Ubuntu 14.04, gcc 4.8.4)
Anyone can help me? Thanks a lot!
The errors are as follows.
In file included from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/Core:255:0, from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:19, from /home/yxj/Downloads/KVLD-master/OrsaHomography/libOrsa/homography_model.cpp:19: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/util/Memory.h: In function ‘Index Eigen::internal::first_aligned(const Scalar*, Index)’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/util/Memory.h:441:48: error: typedef ‘Packet’ locally defined but not used [-Werror=unused-local-typedefs] typedef typename packet_traits<Scalar>::type Packet; ^ In file included from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/Core:331:0, from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:19, from /home/yxj/Downloads/KVLD-master/OrsaHomography/libOrsa/homography_model.cpp:19: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/products/SelfadjointMatrixVector.h: In function ‘void Eigen::internal::product_selfadjoint_vector(Index, const Scalar*, Index, const Scalar*, Index, Scalar*, Scalar)’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/products/SelfadjointMatrixVector.h:44:44: error: typedef ‘RealScalar’ locally defined but not used [-Werror=unused-local-typedefs] typedef typename NumTraits<Scalar>::Real RealScalar; ^ In file included from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/Cholesky:25:0, from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/QR:8, from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/SVD:4, from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:20, from /home/yxj/Downloads/KVLD-master/OrsaHomography/libOrsa/homography_model.cpp:19: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Cholesky/LLT.h: In static member function ‘static typename MatrixType::Index Eigen::internal::llt_inplace<1>::unblocked(MatrixType&)’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Cholesky/LLT.h:201:41: error: typedef ‘Scalar’ locally defined but not used [-Werror=unused-local-typedefs] typedef typename MatrixType::Scalar Scalar; ^ In file included from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/QR:28:0, from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/SVD:4, from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:20, from /home/yxj/Downloads/KVLD-master/OrsaHomography/libOrsa/homography_model.cpp:19: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/QR/HouseholderQR.h: In function ‘void Eigen::internal::householder_qr_inplace_blocked(MatrixQR&, HCoeffs&, typename MatrixQR::Index, typename MatrixQR::Scalar*)’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/QR/HouseholderQR.h:248:41: error: typedef ‘RealScalar’ locally defined but not used [-Werror=unused-local-typedefs] typedef typename MatrixQR::RealScalar RealScalar; ^ In file included from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/Core:277:0, from /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:19, from /home/yxj/Downloads/KVLD-master/OrsaHomography/libOrsa/homography_model.cpp:19: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Matrix<double, -1, -1> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, -1, -1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/PlainObjectBase.h:52:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, -1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Matrix.h:140:7: required from ‘class Eigen::Matrix<double, -1, -1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/matConversion.hpp:30:21: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, -1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Matrix<double, -1, -1> >::<anonymous enum>’ [-Werror=enum-compare] InnerSizeAtCompileTime = int(IsVectorAtCompileTime) ? SizeAtCompileTime ^ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Matrix<double, 3, 3> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, 3, 3> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/PlainObjectBase.h:52:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, 3, 3> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Matrix.h:140:7: required from ‘class Eigen::Matrix<double, 3, 3>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:348:41: required from ‘class Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:81:28: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<3, 3>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Matrix<double, 3, 3> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Matrix<double, 3, 1> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, 3, 1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/PlainObjectBase.h:52:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, 3, 1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Matrix.h:140:7: required from ‘class Eigen::Matrix<double, 3, 1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:526:24: required from ‘class Eigen::JacobiSVD<Eigen::Matrix<double, 3, 3> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:81:28: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<3, 1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Matrix<double, 3, 1> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Matrix<double, -1, 1> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, -1, 1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/PlainObjectBase.h:52:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, -1, 1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Matrix.h:140:7: required from ‘class Eigen::Matrix<double, -1, 1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:82:8: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, 1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Matrix<double, -1, 1> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::DiagonalProduct<Eigen::Matrix<double, 3, 3>, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 2> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::DiagonalProduct<Eigen::Matrix<double, 3, 3>, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 2> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DiagonalProduct.h:56:7: required from ‘class Eigen::DiagonalProduct<Eigen::Matrix<double, 3, 3>, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 2>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:83:71: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<3, 3>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::DiagonalProduct<Eigen::Matrix<double, 3, 3>, Eigen::DiagonalWrapper<const Eigen::Matrix<double, -1, 1> >, 2> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Transpose<const Eigen::Matrix<double, 3, 3> > >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Matrix<double, 3, 3> > >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Transpose.h:113:37: required from ‘class Eigen::TransposeImpl<const Eigen::Matrix<double, 3, 3>, Eigen::Dense>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Transpose.h:70:37: required from ‘class Eigen::Transpose<const Eigen::Matrix<double, 3, 3> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:83:71: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<3, 3>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Transpose<const Eigen::Matrix<double, 3, 3> > >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Matrix<double, 3, 3, 1, 3, 3> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, 3, 3, 1, 3, 3> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/PlainObjectBase.h:52:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, 3, 3, 1, 3, 3> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Matrix.h:140:7: required from ‘class Eigen::Matrix<double, 3, 3, 1, 3, 3>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Map.h:86:43: required from ‘struct Eigen::internal::traits<Eigen::Map<Eigen::Matrix<double, 3, 3, 1, 3, 3> > >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/util/ForwardDeclarations.h:46:54: required from ‘struct Eigen::internal::accessors_level<Eigen::Map<Eigen::Matrix<double, 3, 3, 1, 3, 3> > >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/util/ForwardDeclarations.h:123:75: required from ‘class Eigen::Map<Eigen::Matrix<double, 3, 3, 1, 3, 3> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:75:39: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<3, 3>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Matrix<double, 3, 3, 1, 3, 3> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Map<Eigen::Matrix<double, 3, 3, 1, 3, 3> > >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Map<Eigen::Matrix<double, 3, 3, 1, 3, 3> > >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:41:34: required from ‘class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 3, 3, 1, 3, 3> >, 0>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:182:34: required from ‘class Eigen::MapBase<Eigen::Map<Eigen::Matrix<double, 3, 3, 1, 3, 3> >, 1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Map.h:117:79: required from ‘class Eigen::Map<Eigen::Matrix<double, 3, 3, 1, 3, 3> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:75:39: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<3, 3>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Matrix<double, 3, 3, 1, 3, 3> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true, true> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true, true> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:41:34: required from ‘class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true, true>, 0>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Block.h:256:7: required from ‘class Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true, true>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:32:18: required from ‘bool EigenWrapper::Nullspace(TMat*, TVec*, double) [with TMat = Eigen::Matrix<double, -1, -1>; TVec = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:39:62: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, 1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, 1, true, true> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false, true> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false, true> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:41:34: required from ‘class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false, true>, 0>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:182:34: required from ‘class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false, true>, 1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Block.h:256:7: required from ‘class Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false, true>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:40:3: required from ‘bool EigenWrapper::Nullspace(TMat*, TVec*, double) [with TMat = Eigen::Matrix<double, -1, -1>; TVec = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:39:62: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, -1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false, true> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::CoeffBasedProduct<Eigen::Matrix<double, 3, 3>, Eigen::Transpose<const Eigen::Matrix<double, 3, 3> >, 6> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::CoeffBasedProduct<Eigen::Matrix<double, 3, 3>, Eigen::Transpose<const Eigen::Matrix<double, 3, 3> >, 6> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/products/CoeffBasedProduct.h:126:7: required from ‘class Eigen::CoeffBasedProduct<Eigen::Matrix<double, 3, 3>, Eigen::Transpose<const Eigen::Matrix<double, 3, 3> >, 6>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:83:45: required from ‘void EigenWrapper::EnforceRank2_3x3(const TMat&, TMat*) [with TMat = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:57:56: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<3, 3>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::CoeffBasedProduct<Eigen::Matrix<double, 3, 3>, Eigen::Transpose<const Eigen::Matrix<double, 3, 3> >, 6> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true, true> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true, true> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:41:34: required from ‘class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true, true>, 0>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:182:34: required from ‘class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true, true>, 1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Block.h:256:7: required from ‘class Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true, true>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:62:9: required from ‘double EigenWrapper::Nullspace2(TMat*, TVec1*, TVec2*) [with TMat = Eigen::Matrix<double, -1, -1>; TVec1 = Eigen::Matrix<double, -1, -1>; TVec2 = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:70:37: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, 1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true, true> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:41:34: required from ‘class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true>, 0>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Block.h:256:7: required from ‘class Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:601:18: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:418:41: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:31:55: required from ‘bool EigenWrapper::Nullspace(TMat*, TVec*, double) [with TMat = Eigen::Matrix<double, -1, -1>; TVec = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:39:62: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, -1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false, true> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false, true> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:41:34: required from ‘class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false, true>, 0>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:182:34: required from ‘class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false, true>, 1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Block.h:256:7: required from ‘class Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false, true>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/VectorBlock.h:70:47: required from ‘class Eigen::VectorBlock<Eigen::Matrix<double, -1, 1>, -1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:662:93: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:418:41: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:31:55: required from ‘bool EigenWrapper::Nullspace(TMat*, TVec*, double) [with TMat = Eigen::Matrix<double, -1, -1>; TVec = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:39:62: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, 1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false, true> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Block<const Eigen::Matrix<double, 3, 3>, -1, -1, false, true> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Block<const Eigen::Matrix<double, 3, 3>, -1, -1, false, true> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:41:34: required from ‘class Eigen::MapBase<Eigen::Block<const Eigen::Matrix<double, 3, 3>, -1, -1, false, true>, 0>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Block.h:256:7: required from ‘class Eigen::Block<const Eigen::Matrix<double, 3, 3>, -1, -1, false, true>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:601:18: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, 3, 3>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, 3, 3>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:418:41: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, 3, 3>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, 3, 3>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:80:76: required from ‘void EigenWrapper::EnforceRank2_3x3(const TMat&, TMat*) [with TMat = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:57:56: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, -1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Block<const Eigen::Matrix<double, 3, 3>, -1, -1, false, true> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, 3, 3>, 3, 1, true, true> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, 3, 3>, 3, 1, true, true> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:41:34: required from ‘class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, 3, 3>, 3, 1, true, true>, 0>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:182:34: required from ‘class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, 3, 3>, 3, 1, true, true>, 1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Block.h:256:7: required from ‘class Eigen::Block<Eigen::Matrix<double, 3, 3>, 3, 1, true, true>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:653:59: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, 3, 3>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, 3, 3>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:418:41: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, 3, 3>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, 3, 3>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:80:76: required from ‘void EigenWrapper::EnforceRank2_3x3(const TMat&, TMat*) [with TMat = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:57:56: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<3, 1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Block<Eigen::Matrix<double, 3, 3>, 3, 1, true, true> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Block<Eigen::Matrix<double, 3, 1>, -1, 1, false, true> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Block<Eigen::Matrix<double, 3, 1>, -1, 1, false, true> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:41:34: required from ‘class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, 3, 1>, -1, 1, false, true>, 0>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MapBase.h:182:34: required from ‘class Eigen::MapBase<Eigen::Block<Eigen::Matrix<double, 3, 1>, -1, 1, false, true>, 1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Block.h:256:7: required from ‘class Eigen::Block<Eigen::Matrix<double, 3, 1>, -1, 1, false, true>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/VectorBlock.h:70:47: required from ‘class Eigen::VectorBlock<Eigen::Matrix<double, 3, 1>, -1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:662:93: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, 3, 3>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, 3, 3>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:418:41: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, 3, 3>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, 3, 3>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:80:76: required from ‘void EigenWrapper::EnforceRank2_3x3(const TMat&, TMat*) [with TMat = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:57:56: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, 1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Block<Eigen::Matrix<double, 3, 1>, -1, 1, false, true> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Matrix<int, -1, 1> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<int, -1, 1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/PlainObjectBase.h:52:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<int, -1, 1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Matrix.h:140:7: required from ‘class Eigen::Matrix<int, -1, 1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/PermutationMatrix.h:85:13: required from ‘class Eigen::PermutationBase<Eigen::PermutationMatrix<-1, -1, int> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/PermutationMatrix.h:294:7: required from ‘class Eigen::PermutationMatrix<-1, -1, int>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/QR/ColPivHouseholderQR.h:345:21: required from ‘class Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:120:39: required from ‘static bool Eigen::internal::qr_preconditioner_impl<MatrixType, 2, 1, true>::run(Eigen::JacobiSVD<MatrixType, 2>&, const MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:599:130: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:418:41: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:31:55: required from ‘bool EigenWrapper::Nullspace(TMat*, TVec*, double) [with TMat = Eigen::Matrix<double, -1, -1>; TVec = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:39:62: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, 1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Matrix<int, -1, 1> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Matrix<long int, 1, -1, 1, 1, -1> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<long int, 1, -1, 1, 1, -1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/PlainObjectBase.h:52:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<long int, 1, -1, 1, 1, -1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Matrix.h:140:7: required from ‘class Eigen::Matrix<long int, 1, -1, 1, 1, -1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/QR/ColPivHouseholderQR.h:346:22: required from ‘class Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:120:39: required from ‘static bool Eigen::internal::qr_preconditioner_impl<MatrixType, 2, 1, true>::run(Eigen::JacobiSVD<MatrixType, 2>&, const MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:599:130: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:418:41: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:31:55: required from ‘bool EigenWrapper::Nullspace(TMat*, TVec*, double) [with TMat = Eigen::Matrix<double, -1, -1>; TVec = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:39:62: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<1, -1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Matrix<long int, 1, -1, 1, 1, -1> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Matrix<double, 1, -1> >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, 1, -1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/PlainObjectBase.h:52:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, 1, -1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Matrix.h:140:7: required from ‘class Eigen::Matrix<double, 1, -1>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/QR/ColPivHouseholderQR.h:347:19: required from ‘class Eigen::ColPivHouseholderQR<Eigen::Matrix<double, -1, -1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:120:39: required from ‘static bool Eigen::internal::qr_preconditioner_impl<MatrixType, 2, 1, true>::run(Eigen::JacobiSVD<MatrixType, 2>&, const MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:599:130: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:418:41: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:31:55: required from ‘bool EigenWrapper::Nullspace(TMat*, TVec*, double) [with TMat = Eigen::Matrix<double, -1, -1>; TVec = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:39:62: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<1, -1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Matrix<double, 1, -1> >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Transpose.h:113:37: required from ‘class Eigen::TransposeImpl<const Eigen::Matrix<double, -1, -1>, Eigen::Dense>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Transpose.h:70:37: required from ‘class Eigen::Transpose<const Eigen::Matrix<double, -1, -1> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:144:81: required from ‘static bool Eigen::internal::qr_preconditioner_impl<MatrixType, 2, 0, true>::run(Eigen::JacobiSVD<MatrixType, 2>&, const MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:598:130: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:418:41: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:31:55: required from ‘bool EigenWrapper::Nullspace(TMat*, TVec*, double) [with TMat = Eigen::Matrix<double, -1, -1>; TVec = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:39:62: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, -1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Transpose<const Eigen::Matrix<double, -1, -1> > >::<anonymous enum>’ [-Werror=enum-compare] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true> > >’: /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true> > >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Transpose.h:113:37: required from ‘class Eigen::TransposeImpl<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true>, Eigen::Dense>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/Transpose.h:70:37: required from ‘class Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/TriangularMatrix.h:157:44: required from ‘struct Eigen::internal::traits<Eigen::TriangularView<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true> >, 1u> >’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/EigenBase.h:44:59: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/TriangularMatrix.h:171:58: required from ‘class Eigen::TriangularView<const Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true> >, 1u>’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:145:24: required from ‘static bool Eigen::internal::qr_preconditioner_impl<MatrixType, 2, 0, true>::run(Eigen::JacobiSVD<MatrixType, 2>&, const MatrixType&) [with MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:598:130: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>& Eigen::JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/SVD/JacobiSVD.h:418:41: required from ‘Eigen::JacobiSVD<MatrixType, QRPreconditioner>::JacobiSVD(const MatrixType&, unsigned int) [with _MatrixType = Eigen::Matrix<double, -1, -1>; int QRPreconditioner = 2; Eigen::JacobiSVD<MatrixType, QRPreconditioner>::MatrixType = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/eigenWrapper.hpp:31:55: required from ‘bool EigenWrapper::Nullspace(TMat*, TVec*, double) [with TMat = Eigen::Matrix<double, -1, -1>; TVec = Eigen::Matrix<double, -1, -1>]’ /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/svd/svd.hpp:39:62: required from here /home/yxj/Downloads/KVLD-master/OrsaHomography/./third_party/Eigen/src/Core/DenseBase.h:172:59: error: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<-1, -1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Transpose<const Eigen::Block<const Eigen::Matrix<double, -1, -1>, -1, -1, false, true> > >::<anonymous enum>’ [-Werror=enum-compare] cc1plus: all warnings being treated as errors make[2]: *** [OrsaHomography/libOrsa/CMakeFiles/Orsa.dir/homography_model.cpp.o] Error 1 make[1]: *** [OrsaHomography/libOrsa/CMakeFiles/Orsa.dir/all] Error 2 make: *** [all] Error 2