openvino_tools visual studio 配置 Installation 1 ---> After anaconda3 2 Cmake 3visual studio 4openvino_toolkit software installation is complete openvino_toolkit all are installed in C: Intel under \ directory python3.6.5/python3.7 VS2015/VS2017 (1) C:\Users\Administrator>cd C:\Intel\openvino_2019.1.148\bin C:\Intel\openvino_2019.1.148\bin> setupvars.bat (2) C:\Intel\openvino_2019.1.148\bin> cd C:\Intel\openvino_2019.1.148\deployment_tools\demo C:\Intel\openvino_2019.1.148\deployment_tools\demo> demo_security_barrier_camera.bat Finally, the success of operating results ###############|| Demo completed successfully ||############### C:\Intel\openvino_2019.1.148\deployment_tools\demo> Configure the development environment 2 ---> 1 Create a new project -> Empty Project -> Project Name (openvino_test the solution and project in the same directory) 2 Solution Explorer -> openvino_test source file -> right (Add, New Item) -> (C ++ file name main.cpp) 3 following selection build and debug Debug and x64 4 View -> Other Windows -> Property Manager (far right openvino_test-> Debug | x64 -> Microsoft.Cpp.x64.user-> Right Properties) 5 VC ++ directory -> 5.1 directory that contains C:\Intel\openvino_2019.1.148\deployment_tools\inference_engine\src\extension C:\Intel\openvino_2019.1.148\deployment_tools\inference_engine\samples\common\format_reader C:\Intel\openvino_2019.1.148\deployment_tools\inference_engine\include C:\Intel\openvino_2019.1.148\opencv\include C:\Intel\openvino_2019.1.148\opencv\include\opencv2 5.2 library catalog C:\Intel\openvino_2019.1.148\opencv\lib C:\Intel\openvino_2019.1.148\deployment_tools\inference_engine\lib\intel64\Debug C:\Users\Administrator\Documents\Intel\OpenVINO\inference_engine_samples_build\intel64\Debug Extension also requires a CPU, Specifically, the following C:\Users\Administrator> cd C:\Intel\openvino_2019.1.148\deployment_tools\inference_engine\samples C:\Intel\openvino_2019.1.148\deployment_tools\inference_engine\samples> build_samples_msvc.bat The result will build into the C: \ Users \ Administrator \ Documents \ Intel \ OpenVINO \ inference_engine_samples_build in Double-click to open a Samples.sln generated by Visual Studio After re-solving (Solution Samples right click -> Build Solution) program Resource Manager The resulting file C: \ Users \ Administrator \ Documents \ Intel \ OpenVINO \ inference_engine_samples_build \ intel64 \ Debug in There cpu_extension.lib very important (for a long time to do this is to cpu_extension.lib file) 5.3 Linker -> Input -> Additional Dependencies added opencv_world410d.lib opencv_pvl410d.lib inference_engined.lib cpu_extension.lib format_reader.lib 6 Configuring System Environment Variables My computer right -> Advanced System Settings -> Environment Variables -> System Variables -> PATH C:\Intel\openvino\opencv\bin C:\Intel\openvino_2019.1.148\deployment_tools\inference_engine\bin\intel64\Debug C:\Intel\openvino_2019.1.148\deployment_tools\inference_engine\bin\intel64\Release C:\Users\Administrator\Documents\Intel\OpenVINO\inference_engine_samples_build\intel64\Debug C:\Users\Administrator\Documents\Intel\OpenVINO\inference_engine_samples_build\intel64\Release 7 Restart Visual Studio2019
openvino environment to build
Guess you like
Origin blog.csdn.net/xsjzdrxsjzdr/article/details/92249610
Recommended
Ranking