This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Removed .c and .h files from project, but got an error

Hello,

I`ve added the .c with .h files to project. After removed them both from folders. But now got compiler error. Seems compiler still searching for it. How to fix it?

Using Keil uVision

*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'ROOM_LIGHT'
compiling hdc1080.c...
"no source": Error:  #5: cannot open source input file "..\Src\hdc1080.c": No such file or directory
..\Src\hdc1080.c: 0 warnings, 1 error
"ROOM_LIGHT\ROOM_LIGHT.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:00

Parents
  • After removed them both from folders

    What, exactly, do you mean by that ?

    If you've left them listed in the project, but deleted the files from your hard drive - then this is entirely expected behaviour!

    OR

    you're not #including the .c file in another .c file ... ?

Reply
  • After removed them both from folders

    What, exactly, do you mean by that ?

    If you've left them listed in the project, but deleted the files from your hard drive - then this is entirely expected behaviour!

    OR

    you're not #including the .c file in another .c file ... ?

Children