CXX和C编译器识别未知

时间:2016-07-05 03:09:48

标签: c++ opencv cmake

我真的被这个错误搞砸了。我正在尝试使用CMake编译OpenCV存储库。我使用最新的Windows安装程序安装了CMake。但是,我仍然无法正确构建OpenCV。我是新手使用OpenCV并使用CMake构建。这是错误日志:

这是我使用的命令:

cmake -DBUILD_SHARED_LIBS=OFF ..

这是之后显示的内容:

-- The CXX compiler identification is unknown
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:68 (project):
No CMAKE_CXX_COMPILER could be found.



CMake Error at CMakeLists.txt:68 (project):
No CMAKE_C_COMPILER could be found.



-- Configuring incomplete, errors occurred!
See also "C:/Users/Jessie James Suarez/Documents/GitHub/Vision/opencv/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Jessie James Suarez/Documents/GitHub/Vision/opencv/build/CMakeFiles/CMakeError.log".

0 个答案:

没有答案