µ±Ç°Î»ÖãºÊ×Ò³ > ±ÏÒµÉè¼Æ±Ê¼ÇÖ®OpenCV¸÷ÖÖ»·¾³´î½¨by×½²»×¡µÄ÷øÊó
Ñ¡Ôñ±àÒëÆ÷£º
³öÏÖ´íÎó£º
CMake Error: CMake was unable to find a build program corresponding to \CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to \CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Could not find cmake module file:
C:/soft/OpenCV2.4.8/build/x86/mingw/CMakeFiles/3.2.1/CMakeCXXCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is:
CMAKE_C_COMPILER_ENV_VAR CMake Error: Could not find cmake module file: C:/soft/OpenCV2.4.8/build/x86/mingw/CMakeFiles/3.2.1/CMakeCCompiler.cmake Configuring incomplete, errors occurred! ÐèÒªÌí¼ÓMinGWµÄ»·¾³±äÁ¿µ½PATH£º C:\\soft\\QT5.4.1\\Tools\\mingw491_32\\bin
Í˳öºóÔٴδò¿ªCMake£¬Íê³É£º
Ôٴεã»÷configure£¬ºìÉ«Ïûʧ£º
È»ºóµã»÷Generate£º
½øÈëmingwĿ¼£º
ÊäÈëmingw32-make:
ÕâÑù¿ÉÓÃÓÚQTºÍmingw±àÒëÆ÷µÄ¿âÎļþ¾ÍÉú³ÉÁË¡£¶ø¶ÔÓÚLinux£¬Ö»ÐèÒªÈý¾äÃüÁ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .. make
sudo make install Ì«·½±ãÁË£¬ËùÒÔÎұȽÏϲ»¶ÔÚLinux»·¾³Ï±à³Ì¡£ ×öÍêÉÏÃæµÄ²½Ö裬»¹ÒªÌí¼Ó»·¾³±äÁ¿£º C:\\soft\\OpenCV2.4.8\\build\\x86\\mingw\\bin
¹²·ÖÏí92ƪÏà¹ØÎĵµ