cancel
Showing results for 
Search instead for 
Did you mean: 

include path don't work

guillaumefaye
Associate III

Hello, I recently had a compilation error with STM32CubeIDE 1.14.0. A json.h file is not found by the compiler, yet I have included the path in the project properties, as shown in the photo.

The file is present in the project/drivers/JSON directory. If I move the file to project/core/inc, the compilation works.

Another oddity, I can't find where the paths to project/drivers/NTC and project/drivers/OLED are registered? Yet the compilation works (without json.h).

 

Thank you.

error.jpg

21 REPLIES 21

The key icone in driver folder.

Again, you need to set it to be a Source Folder - so it should have the 'C' icon