# Error on MSVC Demo

**URL:** <https://forums.freertos.org/t/error-on-msvc-demo/24697>\
**Category:** Kernel\
**Created:** [October 31, 2025, 7:43am UTC](https://forums.freertos.org/t/error-on-msvc-demo/24697 "2025-10-31T07:43:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LOR75](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@LOR75](https://forums.freertos.org/u/LOR75)\
**Post date:** [October 31, 2025, 7:43am UTC](https://forums.freertos.org/t/error-on-msvc-demo/24697/1 "2025-10-31T07:43:34Z")

</div>

Hello

I’m trying to use FREERTOS for the first time and I have downloaded FreeRTOSv202411.00.zip with demo for MSVC.

I’ve set

#define mainCREATE\_SIMPLE\_BLINKY\_DEMO\_ONLY 1

but when I compile the demo I get several errors; the translation in english is:

“Impossible to open the error code “….” of the origin file.

Can anyone give me a suggestion how to solve? I have installed Windows SDK 10.0.19041.5609 and WIndows SDK 10.0.26100.6584 like suggested in a post but nothing happens.

I’m using Visual Studio Express 2017 on Windows 11

Best regards

 ![2025-10-31_083626](https://d2v6vdsk2p900z.cloudfront.net/original/2X/b/b9252c0aeec9d5daef8f7368bce98e18b353a26f.jpeg)

---

<div class="post-metadata">

**Author:** ![xuelix](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/xuelix/32/3627_2.png) [@xuelix](https://forums.freertos.org/u/xuelix)\
**Post date:** [October 31, 2025, 9:11pm UTC](https://forums.freertos.org/t/error-on-msvc-demo/24697/2 "2025-10-31T21:11:18Z")

</div>

This sure looks like “Windows SDK is not installed” problem. I was searching online on how this was resolved by others.

This link might help on finding where the VS stuff installed. [Finding installed Visual C++ tools for Visual Studio 2017 - C++ Team Blog](https://devblogs.microsoft.com/cppblog/finding-the-visual-c-compiler-tools-in-visual-studio-2017/)

Towards the end, it showed an example of what should be checked.  
You can give it a try and see if it helps.

---

<div class="post-metadata">

**Author:** ![LOR75](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@LOR75](https://forums.freertos.org/u/LOR75)\
**Post date:** [November 3, 2025, 2:48pm UTC](https://forums.freertos.org/t/error-on-msvc-demo/24697/3 "2025-11-03T14:48:15Z")

</div>

Dear Xuelix,

thanks for your answer. I’ve read your link and probably you are right. Something is missing.

So I have uninstalled Visual Studio Express 2017 and I have Installed Visual Studio 2022 with all workloads and now it works!

Thanks again
