Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv 3.0 build error

Hi, all,

I had downloaded opencv 3.0 master branch. (Before I had installed basic required packages for installing opencv)

After cmake it, and make, I came across the following build error :

==================================================================

[ 61%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/posit.cpp.o

[ 61%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/homography_decomp.cpp.o

[ 61%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/p3p.cpp.o

[ 61%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/ptsetreg.cpp.o

[ 61%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/dls.cpp.o

/root/Downloads/opencv-3.0/modules/calib3d/src/dls.cpp:11:31: fatal error: Eigen/Eigenvalues: No such file or directory

compilation terminated.

make[2]: * [modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/dls.cpp.o] Error 1

make[1]: * [modules/calib3d/CMakeFiles/opencv_calib3d.dir/all] Error 2

make: * [all] Error 2

root@ubuntu:~/Downloads/opencv-3.0/release#

==================================================================

It seems that the package cannot find "Eigen/Eigenvalues". Does it mean that I missed some prerequisites in my system? Hope someone could give me some suggestion to fix it?

P.S. My system is Ubuntu 12.04

Best regards,

Milton