-
Notifications
You must be signed in to change notification settings - Fork 310
Docs/windows troubleshooting #3114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Docs/windows troubleshooting #3114
Conversation
Cleaned up formatting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a Windows Troubleshooting section to the C++ samples README to help users resolve common DLL loading issues when running compiled samples on Windows with Visual Studio 2022.
Key changes:
- Added a new "Windows Troubleshooting" section with guidance for resolving "System Error" or "DLL not found" errors
- Provided example commands for copying required OpenVINO and TBB DLLs to the executable directory
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
samples/cpp/README.md
Outdated
| copy <path_to_venv>\Lib\site-packages\openvino\libs\*.dll <path_to_build>\Release\ | ||
| copy <path_to_venv>\Lib\site-packages\openvino\libs\tbb\*.dll <path_to_build>\Release\ | ||
| copy <path\_to\_venv>\\Lib\\site-packages\\openvino\\libs\\tbb\\\*.dll <path\_to\_build>\\Release\\ |
Copilot
AI
Dec 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a missing closing line for the code block. A code block started at line 19 with triple backticks should be closed with triple backticks after the last command.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot
AI
Dec 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code block is not properly closed. A closing triple backtick is missing after the command examples.
Copilot
AI
Dec 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are excessive blank lines at the end of the file. Consider removing these trailing blank lines to maintain cleaner documentation.
Description
This PR updates
samples/cpp/README.mdto include a Windows Troubleshooting section.Motivation:
When compiling the C++ samples on Windows (Visual Studio 2022), the
chat_sample.exeoften fails to start with "System Error" or "DLL not found" because the required OpenVINO and TBB libraries are not automatically copied to theReleasefolder.Context:
The new section provides explicit commands for users to manually copy the missing DLLs from their Python/OpenVINO installation, ensuring the sample runs correctly after compilation.
Tests:
N/A - This is a documentation-only update.
Checklist: