cancel
Showing results for 
Search instead for 
Did you mean: 

How To Define Project Include Paths for Linked Folder

EPala.2
Associate III

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. 

EPala2_0-1742850918403.png

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.

EPala2_1-1742851370281.png

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).  

EPala2_2-1742851676938.png

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!

 

 

1 REPLY 1
EPala.2
Associate III

Looks like these include paths are resolving to this under the hood for the compiler which is wrong:

EPala2_0-1742852378815.png

How do I do this correctly so they will resolve to the actual location in the folder structure?