Skip to main content
LeventF16
Associate II
May 22, 2023
Question

STM32CubeIDE doesn't find project header files.

  • May 22, 2023
  • 1 reply
  • 985 views

Hello!

We are trying to add some header files to a project loaded in STM32CubeIDe.

We are setting new files path via this menu - “Project ! Properties ! C/C++ General ! Paths and Symbols ! Library Paths�?

Files are in specified directories but when we try to compile the project compiler couldn't find header files?!

Attached is the output from the compilation.

Would you please advice!

This topic has been closed for replies.

1 reply

Semer CHERNI
ST Employee
June 1, 2023

Hello @Community member​ 

First let me thank you for posting.

Could you check if the includes are well set in the "C/C++ Build/ Settings/ MCU GCC Compiler/ Includes paths"


_legacyfs_online_stmicro_images_0693W00000dJq4EQAS.png 

KR,

Semer.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.