Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid conversion from ‘int’ to ‘Eigen::ComputationInfo’ [-fpermissive] #39

Open
zhenglongyu opened this issue Apr 24, 2020 · 0 comments

Comments

@zhenglongyu
Copy link

When I compiled efusion using the order: make slambench APPS=efusion, it appears. And I don't know how to resolve it. I have tried different versions of eigen such as 3.3.7,3.3.6 and 3.3.3, but all gets the same error. My system is ubuntu 16.04 and the output is here:
[ 81%] Built target benchmark_loader
make[3]: Entering directory '/home/jade/project/slambench2/build'
make[3]: Leaving directory '/home/jade/project/slambench2/build'
make[3]: Entering directory '/home/jade/project/slambench2/build'
[ 82%] Building CXX object benchmarks/efusion/src/original/CMakeFiles/efusion-cuda.dir/efusion_library.cpp.o
In file included from /usr/include/X11/Xlib.h:44:0,
from /home/jade/project/slambench2/benchmarks/efusion/src/original/context_helper.h:10,
from /home/jade/project/slambench2/benchmarks/efusion/src/original/efusion_library.cpp:19:
/usr/local/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h: In member function ‘Eigen::ComputationInfo Eigen::IdentityPreconditioner::info()’:
/usr/local/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h:221:37: error: invalid conversion from ‘int’ to ‘Eigen::ComputationInfo’ [-fpermissive]
ComputationInfo info() { return Success; }
^
/home/jade/project/slambench2/benchmarks/efusion/src/original/efusion_library.cpp: At global scope:
/home/jade/project/slambench2/benchmarks/efusion/src/original/efusion_library.cpp:275:48: warning: unused parameter ‘slam_settings’ [-Wunused-parameter]
bool sb_update_frame (SLAMBenchLibraryHelper * slam_settings, slambench::io::SL
^
/home/jade/project/slambench2/benchmarks/efusion/src/original/efusion_library.cpp:302:49: warning: unused parameter ‘slam_settings’ [-Wunused-parameter]
bool sb_process_once (SLAMBenchLibraryHelper * slam_settings) {
^
benchmarks/efusion/src/original/CMakeFiles/efusion-cuda.dir/build.make:540: recipe for target 'benchmarks/efusion/src/original/CMakeFiles/efusion-cuda.dir/efusion_library.cpp.o' failed
make[3]: *** [benchmarks/efusion/src/original/CMakeFiles/efusion-cuda.dir/efusion_library.cpp.o] Error 1
make[3]: Leaving directory '/home/jade/project/slambench2/build'
CMakeFiles/Makefile2:1076: recipe for target 'benchmarks/efusion/src/original/CMakeFiles/efusion-cuda.dir/all' failed
make[2]: *** [benchmarks/efusion/src/original/CMakeFiles/efusion-cuda.dir/all] Error 2
make[2]: Leaving directory '/home/jade/project/slambench2/build'
Makefile:127: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/jade/project/slambench2/build'
Makefile:188: recipe for target 'slambench' failed
make: *** [slambench] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant