Из-за того, что инструкция avx недоступна в моем процессоре, я использовал копию cpu_extensionavx2.dll
, удаляющую avx2, и копию в папке сборки
Я уже запустил setupvars.bat с помощью команды:
"C:\Program Files (x86)\IntelSWTools\openvino\bin\setupvars.bat"
Работает.
При выполнении cmake
с помощью этой команды:
"C:\Program Files\CMake\bin\cmake.exe" ^
-G "Visual Studio 14 Win64" ^
"C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\inference_engine\samples"
выдает следующую ошибку , даже когда я перешел на visual studio 16 , но выдал ту же ошибку:
(base) C:\Users\ra\build>
(base) C:\Users\ra\build> "C:\Program Files\CMake\bin\cmake.exe" ^
More? -G "Visual Studio 16" ^
More? "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\inferenc
e_engine\samples"
CMake Error at CMakeLists.txt:7 (project):
Generator
Visual Studio 16 2019
could not find any instance of Visual Studio.
-- Configuring incomplete, errors occurred!
See also "C:/Users/ra/build/CMakeFiles/CMakeOutput.log".
, но когда я использовал эту команду:
"C:\Program Files\CMake\bin\cmake.exe" ^
-G "Visual Studio 20" ^
"C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\inferene_engine\samples"
выдает Ошибка генератора as:
e_engine \ samples "Ошибка CMake в CMakeLists.txt: 7 (проект): Генератору
Visual Studio 15 2017
не удалось найти ни одного экземпляра Visual Studio.
- Настройка неполная, произошли ошибки! См. Также "C: / Users / ra / build / CMakeFiles / CMakeOutput.log".
(base) C:\Users\ra\build> "C:\Program Files\CMake\bin\cmake.exe" ^
More? -G "Visual Studio 20" ^
More? "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\inferenc
e_engine\samples"
CMake Error: Could not create named generator Visual Studio 20
Generators
Visual Studio 16 2019 = Generates Visual Studio 2019 project files.
Use -A option to specify architecture.
Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 12 2013 [arch] = Generates Visual Studio 2013 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 11 2012 [arch] = Generates Visual Studio 2012 project files.
Optional [arch] can be "Win64" or "ARM".
Visual Studio 10 2010 [arch] = Generates Visual Studio 2010 project files.
Optional [arch] can be "Win64" or "IA64".
Visual Studio 9 2008 [arch] = Generates Visual Studio 2008 project files.
Optional [arch] can be "Win64" or "IA64".
Borland Makefiles = Generates Borland makefiles.
* NMake Makefiles = Generates NMake makefiles.
NMake Makefiles JOM = Generates JOM makefiles.
MSYS Makefiles = Generates MSYS makefiles.
MinGW Makefiles = Generates a make file for use with
mingw32-make.
Unix Makefiles = Generates standard UNIX makefiles.
Green Hills MULTI = Generates Green Hills MULTI files
(experimental, work-in-progress).
Ninja = Generates build.ninja files.
Watcom WMake = Generates Watcom WMake makefiles.
CodeBlocks - MinGW Makefiles = Generates CodeBlocks project files.
CodeBlocks - NMake Makefiles = Generates CodeBlocks project files.
CodeBlocks - NMake Makefiles JOM
= Generates CodeBlocks project files.
CodeBlocks - Ninja = Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
CodeLite - MinGW Makefiles = Generates CodeLite project files.
CodeLite - NMake Makefiles = Generates CodeLite project files.
CodeLite - Ninja = Generates CodeLite project files.
CodeLite - Unix Makefiles = Generates CodeLite project files.
Sublime Text 2 - MinGW Makefiles
= Generates Sublime Text 2 project files.
Sublime Text 2 - NMake Makefiles
= Generates Sublime Text 2 project files.
Sublime Text 2 - Ninja = Generates Sublime Text 2 project files.
Sublime Text 2 - Unix Makefiles
= Generates Sublime Text 2 project files.
Kate - MinGW Makefiles = Generates Kate project files.
Kate - NMake Makefiles = Generates Kate project files.
Kate - Ninja = Generates Kate project files.
Kate - Unix Makefiles = Generates Kate project files.
Eclipse CDT4 - NMake Makefiles
= Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - MinGW Makefiles
= Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
Я работаю Windows 7 64 -бит, все установлены CMake последней версии. Помогите.