Loading...
 
Skip to main content

System Workbench for STM32


C++ project

Resolved
The project had both .c and .cpp sources. The main.c had to be changed to main.cpp and then it compiled just fine.


I'm trying to compile a C++ project in which I need to include cstddef header. When compiling I get the error that it cannot find the file. I checked that the include paths are correct and indeed the cstddef header is present in those paths. I can even double click on the cstddef link in the Outline window and it comes right up.

Not sure what to try next.

Rick

Hi Rick, please, may you provide the error logs from the console tab?

Hello,

This issue has been resolved. Please see original post.

Thanks!