Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion samples/cpp/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
Please refer to the following blogs for the setup instructions.
Please refer to the following blogs for the setup instructions.

https://medium.com/openvino-toolkit/how-to-build-openvino-genai-app-in-c-32dcbe42fa67

## Windows Troubleshooting

### "System Error" or "DLL not found" after compilation

If `chat_sample.exe` fails to start despite a successful build, it may be unable to locate the OpenVINO or TBB libraries. This is common when building with Visual Studio.

**Solution:**

Ensure the required DLLs are present in the executable directory (`Release` or `Debug`). You can copy them from your OpenVINO installation or Python environment:

```cmd
rem Example for copying TBB and OpenVINO libraries
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\
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.