rvtests icon indicating copy to clipboard operation
rvtests copied to clipboard

installation issue

Open gpcr opened this issue 6 years ago • 1 comments

installation : error message:

/usr/include/c++/5/backward/binders.h:108:11: note: declared here
     class binder1st
           ^
ConjugateGradientSolver.cpp: In function 'int conjugateEigen(const MatrixXf&, const MatrixXf&, double, Eigen::MatrixXf*)':
ConjugateGradientSolver.cpp:72:3: error: 'ConjugateGradient' is not a member of 'Eigen'
   Eigen::ConjugateGradient<Eigen::MatrixXf, Eigen::Lower | Eigen::Upper> cg;
   ^
ConjugateGradientSolver.cpp:72:43: error: expected primary-expression before ',' token
   Eigen::ConjugateGradient<Eigen::MatrixXf, Eigen::Lower | Eigen::Upper> cg;
                                           ^
ConjugateGradientSolver.cpp:72:74: error: 'cg' was not declared in this scope
   Eigen::ConjugateGradient<Eigen::MatrixXf, Eigen::Lower | Eigen::Upper> cg;
                                                                          ^
Makefile:70: recipe for target 'ConjugateGradientSolver.o' failed
make[1]: *** [ConjugateGradientSolver.o] Error 1
make[1]: Leaving directory '/home/user1/git/rvtests/regression'
Makefile.lib:42: recipe for target '/home/user1/git/rvtests/regression/lib-regression.a' failed
make: *** [/home/user1/git/rvtests/regression/lib-regression.a] Error 2

Can you help us with this Thanks

gpcr avatar Feb 01 '18 14:02 gpcr

Can you first try make deepclean and then make?

If it still failed, can you please let me know the version of your gcc compiler (gcc --version) , kernel version (uname -a) and the Linux distribution you are using?

zhanxw avatar Dec 06 '18 06:12 zhanxw