2020-12-28 06:53 AM
Hi
I am trying to include the standard C++ libraries in my STM32CubeIDE code, however I am getting an "Unresolved inclusion" Error.
This project is configured as a C++ program, as the project drop down menu only allows me to convert this project to a C program - which implies that the current project is configured as a C++ project. e.g.
Is anyone familiar with this issue and know how to resolve this ?
a swift reply is much appreciated :)
Thanks
Solved! Go to Solution.
2020-12-28 09:20 PM
2020-12-28 07:33 AM
Is the filename you're editing a C (*.c) or C++ (*.cpp) file? Needs to be *.cpp to include C++ headers.
2020-12-28 09:05 PM
it is a .c file , any ideas on how to convert this file to a .cpp ? Or am is my only option to create a new cpp project, and copy over the code. Thanks
2020-12-28 09:20 PM
2020-12-28 10:17 PM
Yup , the problem is solved now thanks for the quick and accurate support