[12/38] Building CXX object internal/c...keFiles/ceres.dir/covariance_impl.cc.o
FAILED: /usr/bin/c++ -DCERES_CXSPARSE_VERSION=\"3.1.2\" -DCERES_SUITESPARSE_VERSION=\"4.2.1\" -DEIGEN_MPL2_ONLY -fopenmp -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -O3 -DNDEBUG -fPIC -Iconfig -I/home/prashant/catkin_ws/src/ceres-solver/include -I/home/prashant/catkin_ws/src/ceres-solver/internal -I/home/prashant/catkin_ws/src/ceres-solver/internal/ceres -isystem /usr/include/eigen3 -I/usr/include/suitesparse -MMD -MT internal/ceres/CMakeFiles/ceres.dir/covariance_impl.cc.o -MF internal/ceres/CMakeFiles/ceres.dir/covariance_impl.cc.o.d -o internal/ceres/CMakeFiles/ceres.dir/covariance_impl.cc.o -c /home/prashant/catkin_ws/src/ceres-solver/internal/ceres/covariance_impl.cc
In file included from /usr/include/eigen3/Eigen/SparseQR:29:0,
from /home/prashant/catkin_ws/src/ceres-solver/internal/ceres/covariance_impl.cc:45:
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h: In member function ‘void Eigen::SparseQR<MatrixType, OrderingType>::factorize(const MatrixType&)’:
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:438:57: error: ‘numext’ has not been declared
for (Index itq = 1; itq < nzcolQ; ++itq) sqrNorm += numext::abs2(tval(Qidx(itq)));
^
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:440:36: error: ‘numext’ has not been declared
if(sqrNorm == RealScalar(0) && numext::imag(c0) == RealScalar(0))
^
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:443:14: error: ‘numext’ has not been declared
beta = numext::real(c0);
^
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:448:24: error: ‘numext’ has not been declared
beta = std::sqrt(numext::abs2(c0) + sqrNorm);
^
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:449:10: error: ‘numext’ has not been declared
if(numext::real(c0) >= RealScalar(0))
^
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:454:13: error: ‘numext’ has not been declared
tau = numext::conj((beta-c0) / beta);
^
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h: In instantiation of ‘void Eigen::SparseQR<MatrixType, OrderingType>::factorize(const MatrixType&) [with _MatrixType = Eigen::SparseMatrix<double, 0>; _OrderingType = Eigen::COLAMDOrdering; Eigen::SparseQR<MatrixType, OrderingType>::MatrixType = Eigen::SparseMatrix<double, 0>]’:
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:87:20: required from ‘void Eigen::SparseQR<MatrixType, OrderingType>::compute(const MatrixType&) [with _MatrixType = Eigen::SparseMatrix<double, 0>; _OrderingType = Eigen::COLAMDOrdering; Eigen::SparseQR<MatrixType, OrderingType>::MatrixType = Eigen::SparseMatrix<double, 0>]’
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:82:18: required from ‘Eigen::SparseQR<MatrixType, OrderingType>::SparseQR(const MatrixType&) [with _MatrixType = Eigen::SparseMatrix<double, 0>; _OrderingType = Eigen::COLAMDOrdering; Eigen::SparseQR<MatrixType, OrderingType>::MatrixType = Eigen::SparseMatrix<double, 0>]’
/home/prashant/catkin_ws/src/ceres-solver/internal/ceres/covariance_impl.cc:842:32: required from here
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:315:3: error: ‘Eigen::SparseQR<Eigen::SparseMatrix<double, 0>, Eigen::COLAMDOrdering >::QRMatrixType’ has no member named ‘uncompress’
m_pmat.uncompress(); // To have the innerNonZeroPtr allocated
^
[12/38] Building CXX object internal/c.../generated/schur_eliminator_2_3_9.cc.o
ninja: build stopped: subcommand failed.
<== Failed to process package 'ceres-solver':
Command '['/home/prashant/catkin_ws/install_isolated/env.sh', 'ninja', '-j8', '-l8']' returned non-zero exit status 1
Reproduce this error by running:
==> cd /home/prashant/catkin_ws/build_isolated/ceres-solver && /home/prashant/catkin_ws/install_isolated/env.sh ninja -j8 -l8
[12/38] Building CXX object internal/c...keFiles/ceres.dir/covariance_impl.cc.o FAILED: /usr/bin/c++ -DCERES_CXSPARSE_VERSION=\"3.1.2\" -DCERES_SUITESPARSE_VERSION=\"4.2.1\" -DEIGEN_MPL2_ONLY -fopenmp -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -O3 -DNDEBUG -fPIC -Iconfig -I/home/prashant/catkin_ws/src/ceres-solver/include -I/home/prashant/catkin_ws/src/ceres-solver/internal -I/home/prashant/catkin_ws/src/ceres-solver/internal/ceres -isystem /usr/include/eigen3 -I/usr/include/suitesparse -MMD -MT internal/ceres/CMakeFiles/ceres.dir/covariance_impl.cc.o -MF internal/ceres/CMakeFiles/ceres.dir/covariance_impl.cc.o.d -o internal/ceres/CMakeFiles/ceres.dir/covariance_impl.cc.o -c /home/prashant/catkin_ws/src/ceres-solver/internal/ceres/covariance_impl.cc In file included from /usr/include/eigen3/Eigen/SparseQR:29:0, from /home/prashant/catkin_ws/src/ceres-solver/internal/ceres/covariance_impl.cc:45: /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h: In member function ‘void Eigen::SparseQR<MatrixType, OrderingType>::factorize(const MatrixType&)’: /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:438:57: error: ‘numext’ has not been declared for (Index itq = 1; itq < nzcolQ; ++itq) sqrNorm += numext::abs2(tval(Qidx(itq))); ^ /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:440:36: error: ‘numext’ has not been declared if(sqrNorm == RealScalar(0) && numext::imag(c0) == RealScalar(0)) ^ /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:443:14: error: ‘numext’ has not been declared beta = numext::real(c0); ^ /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:448:24: error: ‘numext’ has not been declared beta = std::sqrt(numext::abs2(c0) + sqrNorm); ^ /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:449:10: error: ‘numext’ has not been declared if(numext::real(c0) >= RealScalar(0)) ^ /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:454:13: error: ‘numext’ has not been declared tau = numext::conj((beta-c0) / beta); ^ /usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h: In instantiation of ‘void Eigen::SparseQR<MatrixType, OrderingType>::factorize(const MatrixType&) [with _MatrixType = Eigen::SparseMatrix<double, 0>; _OrderingType = Eigen::COLAMDOrdering; Eigen::SparseQR<MatrixType, OrderingType>::MatrixType = Eigen::SparseMatrix<double, 0>]’:
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:87:20: required from ‘void Eigen::SparseQR<MatrixType, OrderingType>::compute(const MatrixType&) [with _MatrixType = Eigen::SparseMatrix<double, 0>; _OrderingType = Eigen::COLAMDOrdering; Eigen::SparseQR<MatrixType, OrderingType>::MatrixType = Eigen::SparseMatrix<double, 0>]’
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:82:18: required from ‘Eigen::SparseQR<MatrixType, OrderingType>::SparseQR(const MatrixType&) [with _MatrixType = Eigen::SparseMatrix<double, 0>; _OrderingType = Eigen::COLAMDOrdering; Eigen::SparseQR<MatrixType, OrderingType>::MatrixType = Eigen::SparseMatrix<double, 0>]’
/home/prashant/catkin_ws/src/ceres-solver/internal/ceres/covariance_impl.cc:842:32: required from here
/usr/include/eigen3/Eigen/src/SparseQR/SparseQR.h:315:3: error: ‘Eigen::SparseQR<Eigen::SparseMatrix<double, 0>, Eigen::COLAMDOrdering >::QRMatrixType’ has no member named ‘uncompress’
m_pmat.uncompress(); // To have the innerNonZeroPtr allocated
^
[12/38] Building CXX object internal/c.../generated/schur_eliminator_2_3_9.cc.o
ninja: build stopped: subcommand failed.
<== Failed to process package 'ceres-solver':
Command '['/home/prashant/catkin_ws/install_isolated/env.sh', 'ninja', '-j8', '-l8']' returned non-zero exit status 1
Reproduce this error by running: ==> cd /home/prashant/catkin_ws/build_isolated/ceres-solver && /home/prashant/catkin_ws/install_isolated/env.sh ninja -j8 -l8
Command failed, exiting.
i am getting this error