When I run the security barrier camera demo (after having installed openVINO). The following error occurs:
Python 3.6.5 ECHO is off. ###############|| Generate VS solution for Inference Engine samples using cmake ||############### Waiting for 0 seconds, press a key to continue ... Creating Visual Studio 2015 (x64) files in C:\Intel\computer_vision_sdk_2018.1.265\deployment_tools\demo\\..\inference_engine\samples\build... "C:\Intel\computer_vision_sdk_2018.1.265\deployment_tools\demo\\..\inference_engine\samples\build" -- Selecting Windows SDK version to target Windows 10.0.14393. CMake Error at CMakeLists.txt:17 (project): Failed to run MSBuild command: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe to get the value of VCTargetsPath: Microsoft (R) Build Engine version 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved. Build started 6/5/2018 1:57:39 PM. Project "C:\Intel\computer_vision_sdk_2018.1.265\deployment_tools\inference_engine\samples\build\CMakeFiles\3.11.3\VCTargetsPath.vcxproj" on node 1 (default targets). C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".
What can I do to fix this?
Yes I have Visual Studio 2015 installed, and I did not receive a warning for lacking that program when I installed openVINO.
Am I doing something wrong by running the demo from the command prompt?
in the log message, it complains that you didn't install window SDK8.1. if you are using visual studio 2015 update3, you need to install it separately. You can reference following to install it.
When you installed VS2015 did you select the c++ package? if you just install VS2015 without customizing your install to select the c++ package then by default it comes without it and you can get such error.
You can try to modify the Installation and add the Visual C++ package. If that doesn't work then you may have to reinstall VS 2015 and select the Visual C++ package as it doesn't come selected by default.