cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CUBEIDE include STL header error

IChat.1
Associate

I have created a new C++ project for STM32G473 in STM32CUBEIDE based on an ioc configuration file. The project is generated and builds successfully. However, upon including an STL header in a .cpp file like so:

#include <functional>

The compiler throws the following error:

fatal error: functional: No such file or directory

Same goes for other STL headers (vector etc..).

What do I need to do to be able to import STL headers successfully?

0 REPLIES 0