fatal error: no such file or directory. (Include Paths are correct)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

fatal error: no such file or directory. (Include Paths are correct)

跳至解决方案
6,320 次查看
matthiasroedder
Contributor III

Hello everybody,

I always have this "fatal error: ffconf.h: no such file or directory error" 

error.jpg

It doesn't matter if i include it with <> or with "". 

I already included the directory "sd_fatfs", where the header file is located, to the Include paths of the MCU C Compiler and the MCU C++ Compiler.

c_compiler_includes.jpg

c++_compiler_includes.jpg

Now I don't know what to do with this problem. Maybe I overlooked something and you guys can help me. 

Best Regards,

Matthias

0 项奖励
回复
1 解答
6,316 次查看
ErichStyger
Specialist I

Hi @matthiasroedder ,

your fsl_sd_disk.c shows a small 'pin' (Icon Decorator, see https://mcuoneclipse.com/2012/07/30/icon-and-label-decorators-in-eclipse/)

ErichS_0-1605620103572.png

So it seems that you have set special options for that file, and what you show in your screenshot is not what is set for that file. You probably did this by mistake (set options for the file instead for the project).

 

I recommend that you reset the resource configuration for that file (see article mentioned above).

If this does not help: I suggest you can share your project?

 

I hope this helps,

Erich

在原帖中查看解决方案

2 回复数
6,317 次查看
ErichStyger
Specialist I

Hi @matthiasroedder ,

your fsl_sd_disk.c shows a small 'pin' (Icon Decorator, see https://mcuoneclipse.com/2012/07/30/icon-and-label-decorators-in-eclipse/)

ErichS_0-1605620103572.png

So it seems that you have set special options for that file, and what you show in your screenshot is not what is set for that file. You probably did this by mistake (set options for the file instead for the project).

 

I recommend that you reset the resource configuration for that file (see article mentioned above).

If this does not help: I suggest you can share your project?

 

I hope this helps,

Erich

6,314 次查看
matthiasroedder
Contributor III

Hi @ErichStyger ,

oh wow. I didn't even see that. You were absolutely right. This fixed my error and now I'm happy like a little child on Christmas :D.

Thank you very much!!!  

Best Regards,

Matthias

0 项奖励
回复