Error on MSVC Demo

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

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

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

1 Like

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