cmake из командной строки сработал идеально. make постоянно генерирует ошибку. Может у меня правда не хватает С++ библиотек??? Вот листинг:
[ 42%] Building C object 3rdparty/lapack/CMakeFiles/opencv_lapack.dir/dsyrk.o
[ 43%] Building C object 3rdparty/lapack/CMakeFiles/opencv_lapack.dir/slasd3.o
[ 43%] Building C object 3rdparty/lapack/CMakeFiles/opencv_lapack.dir/dlamrg.o
[ 43%] Building C object 3rdparty/lapack/CMakeFiles/opencv_lapack.dir/drot.o
[ 43%] Building C object 3rdparty/lapack/CMakeFiles/opencv_lapack.dir/slasdq.o
[ 43%] Building C object 3rdparty/lapack/CMakeFiles/opencv_lapack.dir/slarre.o
[ 43%] Building C object 3rdparty/lapack/CMakeFiles/opencv_lapack.dir/xerbla.o
[ 43%] Building C object 3rdparty/lapack/CMakeFiles/opencv_lapack.dir/dlasdq.o
[ 43%] Building C object 3rdparty/lapack/CMakeFiles/opencv_lapack.dir/dlasda.o
Linking C static library ../lib/libopencv_lapack.a
[ 43%] Built target opencv_lapack
Scanning dependencies of target opencv_core_pch_dephelp
[ 43%] Building CXX object modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.o
Linking CXX static library ../../lib/libopencv_core_pch_dephelp.a
[ 43%] Built target opencv_core_pch_dephelp
Scanning dependencies of target pch_Generate_opencv_core
[ 43%] Generating precomp.hpp
[ 43%] Generating precomp.hpp.gch/opencv_core_RELEASE.gch
i586-alt-linux-g++: COM/OpenCV/OpenCV-2.2.0/.: Нет такого файла или каталога
i586-alt-linux-g++: COM/OpenCV/OpenCV-2.2.0/release: Нет такого файла или каталога
i586-alt-linux-g++: COM/OpenCV/OpenCV-2.2.0/include: Нет такого файла или каталога
i586-alt-linux-g++: COM/OpenCV/OpenCV-2.2.0/include/opencv: Нет такого файла или каталога
i586-alt-linux-g++: COM/OpenCV/OpenCV-2.2.0/modules/core/../../3rdparty/include: Нет такого файла или каталога
i586-alt-linux-g++: COM/OpenCV/OpenCV-2.2.0/modules/core/include: Нет такого файла или каталога
i586-alt-linux-g++: COM/OpenCV/OpenCV-2.2.0/modules/core/src: Нет такого файла или каталога
i586-alt-linux-g++: COM/OpenCV/OpenCV-2.2.0/release/modules/core: Нет такого файла или каталога
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:52:23: error: cvconfig.h: Нет такого файла или каталога
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:55:33: error: opencv2/core/core.hpp: Нет такого файла или каталога
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:56:33: error: opencv2/core/core_c.h: Нет такого файла или каталога
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:57:37: error: opencv2/core/internal.hpp: Нет такого файла или каталога
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:148: error: ‘uchar’ does not name a type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:153: error: ISO C++ forbids declaration of ‘Mat’ with no type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:153: error: expected ‘,’ or ‘...’ before ‘&’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: In function ‘void (* cv::getCopyMaskFunc(int))(int)’:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:159: error: ‘CV_Assert’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: In member function ‘T3 cv::OpAdd<T1, T2, T3>::operator()(T1, T2) const’:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:176: error: ‘saturate_cast’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:176: error: expected primary-expression before ‘>’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: In member function ‘T3 cv::OpSub<T1, T2, T3>::operator()(T1, T2) const’:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:184: error: ‘saturate_cast’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:184: error: expected primary-expression before ‘>’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: In member function ‘T3 cv::OpRSub<T1, T2, T3>::operator()(T1, T2) const’:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:192: error: ‘saturate_cast’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:192: error: expected primary-expression before ‘>’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: In member function ‘T3 cv::OpMul<T1, T2, T3>::operator()(T1, T2) const’:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:200: error: ‘saturate_cast’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:200: error: expected primary-expression before ‘>’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: In member function ‘T3 cv::OpDiv<T1, T2, T3>::operator()(T1, T2) const’:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:208: error: ‘saturate_cast’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:208: error: expected primary-expression before ‘>’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: In member function ‘T cv::OpMin<T>::operator()(T, T) const’:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:216: error: ‘min’ is not a member of ‘std’
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: In member function ‘T cv::OpMax<T>::operator()(T, T) const’:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:224: error: ‘max’ is not a member of ‘std’
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: At global scope:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:227: error: ‘Size’ does not name a type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:233: error: ‘Size’ does not name a type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:239: error: ‘Size’ does not name a type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:246: error: ‘Size’ does not name a type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:254: error: ‘Size’ does not name a type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:269: error: ISO C++ forbids declaration of ‘Mat’ with no type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:269: error: expected ‘,’ or ‘...’ before ‘&’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: In function ‘void cv::binaryOpC1_(int)’:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:276: error: ‘srcmat1’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:277: error: ‘srcmat2’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:278: error: ‘dstmat’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:282: error: ‘Size’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:282: error: expected ‘;’ before ‘size’
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:284: error: ‘size’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:291: error: ‘size’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: At global scope:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:312: error: ISO C++ forbids declaration of ‘Mat’ with no type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:312: error: expected ‘,’ or ‘...’ before ‘&’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:315: error: ISO C++ forbids declaration of ‘Mat’ with no type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:315: error: expected ‘,’ or ‘...’ before ‘&’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: In function ‘void cv::binarySOpCn_(int)’:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:321: error: ‘srcmat’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:322: error: ‘dstmat’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:326: error: ‘Size’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:326: error: expected ‘;’ before ‘size’
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:328: error: ‘_scalar’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:328: error: ‘DataType’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:328: error: expected primary-expression before ‘>’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:328: error: ‘::depth’ has not been declared
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:328: error: there are no arguments to ‘CV_MAKETYPE’ that depend on a template parameter, so a declaration of ‘CV_MAKETYPE’ must be available
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:328: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:330: error: ‘size’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: At global scope:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:369: error: ISO C++ forbids declaration of ‘Mat’ with no type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:369: error: expected ‘,’ or ‘...’ before ‘&’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: In function ‘void cv::binarySOpC1_(int)’:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:375: error: ‘saturate_cast’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:375: error: expected primary-expression before ‘>’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:375: error: ‘_scalar’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:376: error: ‘srcmat’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:377: error: ‘dstmat’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:380: error: ‘Size’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:380: error: expected ‘;’ before ‘size’
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:382: error: ‘size’ was not declared in this scope
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp: At global scope:
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:409: error: ISO C++ forbids declaration of ‘Mat’ with no type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:409: error: expected ‘,’ or ‘...’ before ‘&’ token
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:410: error: ISO C++ forbids declaration of ‘Mat’ with no type
/home/cool/Documents/temp/Linux COM/OpenCV/OpenCV-2.2.0/release/modules/core/precomp.hpp:410: error: expected ‘,’ or ‘...’ before ‘&’ token
make[2]: *** [modules/core/precomp.hpp.gch/opencv_core_RELEASE.gch] Ошибка 1
make[1]: *** [modules/core/CMakeFiles/pch_Generate_opencv_core.dir/all] Ошибка 2
make: *** [all] Ошибка 2
[cool@comp-Atom-CPU-5a6253 release]$
Попробую на другой машине установить.