Hello everyone.
This is the first time I’m using FreeRTOS and I’m trying to install and configure everything to get started. Hope I’m writing this message in the right page of this forum.
Unfortunately I’m not even able to build the starting main_blinky demo example on Windows (by setting mainCREATE_SIMPLE_BLINKY_DEMO_ONLY to 1).
ENVIRONMENT DETAILS
OS: Windows 11 Home, 64 bits
Visual Studio Code version: 1.98.2
Downloaded FreeRTOS folder: git cloned from here —> githubDOTcom/FreeRTOS/FreeRTOS?tab=readme-ov-file
ISSUE
When I try to build the project (I never used dotnet before, I just ran both “dotnet build WIN32.sln” command from terminal and build it from the Solution Explorer within Visual Studio Code), the output error message that you can see in the below attachment is returned.
TRIED SOLUTIONS
I found these solutions on the internet and tried them (none of them worked):
- downgrade Visual Studio Code to version 1.17.2
- add the Windows Registry Keys "VCTargetsPath REG_SZ $(MSBuildExtensionsPath32)\Microsoft.Cpp\v4.0" to both these paths:
- Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0
- Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\MSBuild\ToolsVersions\4.0
Other solutions were found, but I wasn’t too much confident about them. I’m wondering if something is missing in the whole configuration needed to build everything.
Feel free to reach me out if more details are needed to better understand the issue.
Thank you in advance. Best regards !
Lorenzo