cancel
Showing results for 
Search instead for 
Did you mean: 

"No such file or directory" error

PBobo.1
Associate II

I created a new project in STM32CubeIde (STM32F401, USB Host MSC). I haven't added a single line of my code yet. When I try to compile the project, the error appears:

../Middlewares/Third_Party/FatFs/src/option/../ff.h:29:10: fatal error: ffconf.h: No such file or directory

Such errors appear for almost every line of source code starting with "#include".

I've seen similar threads on this forum before, but it's been a few months since then. STM32CubeIde menu structure has changed and the old advice no longer applies. I am asking for help in dealing with this error.

1 ACCEPTED SOLUTION

Accepted Solutions
PBobo.1
Associate II

After I deleted the project two or three times and created it again, it suddenly started compiling successfully. I don't know why this happened.

View solution in original post

1 REPLY 1
PBobo.1
Associate II

After I deleted the project two or three times and created it again, it suddenly started compiling successfully. I don't know why this happened.