Skip to main content
IChat.1
Visitor II
November 20, 2020
Question

STM32CUBEIDE include STL header error

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?

This topic has been closed for replies.