OpenVino cmake error

問題描述:安裝OpenVino後運行Demo時CMake出錯

When I try to run the demo, during the inference engine build, I get an error related to cmake

I installed cmake on windows. I have windows 10 OS and VS 2015. Kindly advice how I can get rid of this error and make progress

"c:\Intel\computer_vision_sdk_2018.1.249\deployment_tools\demo\\..\inference_engine\samples\build"

-- The C compiler identification is unknown

-- The CXX compiler identification is unknown

CMake Error at CMakeLists.txt:17 (project):

  No CMAKE_C_COMPILER could be found.

CMake Error at CMakeLists.txt:17 (project):

  No CMAKE_CXX_COMPILER could be found.

 Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  CL.exe /c /nologo /W0 /WX- /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc140.pdb" /Gd /TC /errorReport:queue CMakeCCompilerId.c

TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. [C:\Intel\computer_vision_sdk_2018.1.249\deployment_tools\inference_engine\samples\build\CMakeFiles\3.11.1\CompilerIdC\CompilerIdC.vcxproj]

解決方案:

原因可能有兩種,

一是VS2015安裝不完整,沒有安裝windows SDK,需要更新安裝;

二是VS2015默認的開發語言不是C++,需要重設下。

重設方法爲:工具---導入和導出設置---重置所有設置---“否,僅重置設置”---選擇自己喜歡的開發環境

參考:https://software.intel.com/zh-cn/node/780454

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章