How To Define Project Include Paths for Linked Folder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-24 2:29 PM - edited ‎2025-03-24 2:30 PM
Hi, I am trying to define include paths for an STM32CubeIDE project (IDE version 1.18 )
This project acts as a template and needs to be copied and renamed occasionally with minimal need for reconfiguration within project settings. It also needs to be able to cloned to different computers via git without include paths breaking.
I tried to set this up via workspace paths, which appear like they should work, but then I get a bunch of errors for includes not being found.
The folder I am trying to make these include paths for is a linked source code folder that is shared between all the projects and lives in the parent directory folder for all source code.
Defining workspace paths worked on the old version of the project that was created using a different version of the IDE (1.13 I think).
How do I define these workspace paths properly. It seems like this should just be working as is but whatever link exists between these settings and the compiler is being difficult.
Please advise, thanks!
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-24 2:40 PM
Looks like these include paths are resolving to this under the hood for the compiler which is wrong:
How do I do this correctly so they will resolve to the actual location in the folder structure?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-28 8:05 AM
Bump, can anyone help with this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-28 11:22 AM
linked folder can be used just as you did it is normaly working and get expanded to the rigth absolute folder path
I add them as you did as 'workspace path" .
Are you sure to add it to the right language and configuration ? an option is to select all
