-
-
Notifications
You must be signed in to change notification settings - Fork 55.6k
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
OpenCV 3.2.0 build issue with CUDA 8.0 odometry.cpp:41:45: fatal error: unsupported/Eigen/MatrixFunctions: No such file or directory #8402
Comments
There are several workarounds/options:
BTW, We are able to build OpenCV with Eigen on Ubuntu 16.04 (but Eigen version is 3.2.92) |
I have Eigen v3.3 installed, so I have no idea where cmake is pulling that 3.2.1 from... |
Try to build from scratch (clean build directory) - CMake caches some things. |
That didn't solve my issue, but that's probably on my end. That being said, |
hi cmake -DENABLE_PRECOMPILED_HEADERS=OFF -D CUDA_NVCC_FLAGS='-std=c++11 -ccbin /opt/gcc-5.3.0/bin/g++ -D_FORCE_INLINES -Xcompiler -D__CORRECT_ISO_CPP11_MATH_H_PROTO -Xcompiler -D__CORRECT_ISO_CPP11_MATH_H_PROTO --expt-relaxed-constexpr' .. |
I met this problem and I solved it easily! so with eigen3 we downloaded, (use apt-get, default location is usr/include/eigen3/) there are two folders in eigen3/, 1. Eigen, 2. unsupported. (my Eigen is 3.2.92). Solution: copy both of these folders to /usr/include. (I assume you have already put Eigen in /usr/include, that's what tutorial usually says. leaving unsupported in usr/include/eigen3 folder is like hiding it, system can not find it.) |
I'm using 3.2.0 (on contrib as well) and CUDA 8.0 on 64-bit Ubuntu 16.04. My cmake command is:
Which leads to the error:
I've looked for the fixes on similar issues like #6676, #6500, #6592 etc. and they don't work.
I'm willing to switch to 3.1.0 but that has similar build issues. Eigen (libeigen3-dev) is installed, by the way. Cmake outputs:
Use Eigen: YES (ver 3.2.1)
System information (version)
Output of Cmake:
The text was updated successfully, but these errors were encountered: