Skip to main content
Arrhenius
Associate III
March 24, 2022
Question

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

  • March 24, 2022
  • 4 replies
  • 4091 views

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 topic has been closed for replies.

4 replies

TDK
March 24, 2022

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
ArrheniusAuthor
Associate III
March 25, 2022

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

Markus GIRDLAND
ST Employee
March 28, 2022

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
ArrheniusAuthor
Associate III
April 7, 2022

Hi @Markus GIRDLAND​ ,

The path contains only ASCII characters.

Arrhenius
ArrheniusAuthor
Associate III
April 8, 2022

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

Angle
Associate III
January 13, 2023

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