cancel
Showing results for 
Search instead for 
Did you mean: 

fatal error: can_appl.h: No such file or directory in STM32CubeIDE

Arrhenius
Associate III

Hi everyone,

I started getting fatal error for the file which is in the project location. I have also added the path in the IDE.

I am attaching the screenshots which might be helpful for you to provide the solution.

Sorry for the rubbish image. Had to do it so for a reason.

0693W00000LvXrkQAF.jpg0693W00000LvXrVQAV.jpg 

Regards

Arrhenius

This discussion is locked. Please start a new topic to ask your question.
6 REPLIES 6
TDK
Super User

Does the file exist? Where? Is that location included in your path?

Could also be an issue with spaces or non ascii characters in path.

If you feel a post has answered your question, please click "Accept as Solution".
Arrhenius
Associate III

Hi @TDK​ ,

Yes the file exist in the project folder.

I have included the path.

I am not using spaces, rather I am using underscores.

Regards

Arrhenius

Do you have any non-ASCII characters in the paths? For example if the username contains non-ASCII characters? Can you access these paths outside of STM32CubeIDE context?

Arrhenius
Associate III

Hi @Markus GIRDLAND​ ,

The path contains only ASCII characters.

Arrhenius
Associate III

Hi @Markus GIRDLAND​ and @TDK​ ,

I found the solution to the problem.

The issue was in the include paths updated in the project properties were not reflected under folder hierarchy.

I used export option and that's all. It started working.

Anyways, thanks for helping me out.

Regards

Arrhenius

hi, can i know how to include the path library? im facing same problem rn