Skip to main content
Associate
August 17, 2023
Solved

Unresolved includes for C++ CDT standard includes IE etc.

  • August 17, 2023
  • 2 replies
  • 2049 views

I am using the STM32H745 series MCU, with the latest (or very recent, at least) version of CUBE IDE.

I'm having difficulty getting past errors for including CDT list, map etc

IE #include <list> ... doesn't include C++ CDT list and results in errors

Are there any compiler settings, to force inclusion of the full C++ CDT?

Or any middleware/ 3rd party STM32 forks, that I can use?

This topic has been closed for replies.
Best answer by TDK

In project settings -> MCU settings, you can choose the C++ library.

TDK_0-1692282963917.png

Although <list> compiles fine for me with nano, so not sure what would be different.

2 replies

TDK
TDKBest answer
August 17, 2023

In project settings -> MCU settings, you can choose the C++ library.

TDK_0-1692282963917.png

Although <list> compiles fine for me with nano, so not sure what would be different.

"If you feel a post has answered your question, please click ""Accept as Solution""."
MattyBAuthor
Associate
August 17, 2023

Reduced C, standard C++ switch, seems to have taken 190 'unfixable' errors down to 35 'fixable' ones

MattyBAuthor
Associate
August 17, 2023

Thanks