Skip to main content
Mujtaba
Associate III
February 7, 2020
Question

Can not open source input file: No such file or directory

  • February 7, 2020
  • 1 reply
  • 4616 views

Dear friends,

I get a silly error " No such file or directory " in Keil IDE while I've already added the file path to include path directory of the compiler.

This error happens only when I add lwIP source files to my project.

0690X00000D8VEgQAN.png

0690X00000D8VEqQAN.png

And what's surprising is when I remove the path in include code, the error is gone. For example, when it is written #include "lwip/opt.h" , the compiler take this line as error but I remove "lwip\" from it and write #include "opt.h" there is no problem.

Can anyone help me with this problem?

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    February 7, 2020

    Stop specifying the full path in the "Include Paths". Currently you have it looking for ...\src\include\lwip\lwip\opt.h

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Mujtaba
    MujtabaAuthor
    Associate III
    February 7, 2020

    Thanks for your quick reply.

    The error is gone now. But I face a new error which says " error while writing browse file: No space left on device "

    Could you tell me what this means?

    Tesla DeLorean
    Guru
    February 7, 2020

    The hard drive or temp directory is full? Do you have a small SSD or System Volume?

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..