Skip to main content
Senior
Feb 2, 2026 9:38 PM UTC
Solved

Issues with Include Paths After Importing IOC into STM32CubeIDE

I’m working with TouchGFX in STM32CubeIDE. After creating a new project and copying over the IOC file and pin configuration from the verified design used for my custom PCB, I’m now running into errors. Some components fail to build, and I’m getting “file not found” errors for certain header files—even though the files clearly exist and I can open them in the IDE.

Do you have any suggestions for fixing include paths or linker settings to resolve this?

 

 

AEng7Best answer
Senior
Feb 3, 2026 2:18 PM UTC

Hey thanks for getting back to me.

I solved this by importing the IOC file when creating a new project, instead of copying the IOC and generating the files.

2 replies

Karl Yamashita
Super User
Feb 3, 2026 12:49 AM UTC

Attach your ioc file, the output messages with errors, and screen shot of your project tree showing the relevant folders/files.

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
AEng7AuthorBest answer
Senior
Feb 3, 2026 2:18 PM UTC

Hey thanks for getting back to me.

I solved this by importing the IOC file when creating a new project, instead of copying the IOC and generating the files.