Unable to Run OpenVINO™ Sample in Visual Studio* (VS) 2019
Content Type: Troubleshooting | Article ID: 000058525 | Last Reviewed: 01/29/2025
The OpenVINO™ environment variables must be set before running an OpenVINO™ application. Run setupvars.bat in the terminal or environment in which the program will run.
Follow the OpenVINO™ installation guide
There are two options to implement this with VS2019:
Option 1:
VS2019 Developer Powershell
Option 2:
Automate the OpenVINO™ setupvars.bat and VS2019 initialization using batch file