Skip to content

Conversation

@Yugansh5013
Copy link

Description

This PR updates samples/cpp/README.md to include a Windows Troubleshooting section.

Motivation:
When compiling the C++ samples on Windows (Visual Studio 2022), the chat_sample.exe often fails to start with "System Error" or "DLL not found" because the required OpenVINO and TBB libraries are not automatically copied to the Release folder.

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:

  • Tests have been updated or added to cover the new code.
  • This patch fully addresses the ticket.
  • I have made corresponding changes to the documentation.

Copilot AI review requested due to automatic review settings December 13, 2025 10:54
Copy link
Contributor

Copilot AI left a 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.

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\\
Copy link

Copilot AI Dec 13, 2025

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.

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings December 13, 2025 10:58
Copy link
Contributor

Copilot AI left a 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.

Comment on lines +19 to +20
Copy link

Copilot AI Dec 13, 2025

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.

Suggested change

Copilot uses AI. Check for mistakes.
Comment on lines +19 to +20
Copy link

Copilot AI Dec 13, 2025

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.

Suggested change

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant