I'm getting “clang: error: no input files”

后端 未结 10 1308
失恋的感觉
失恋的感觉 2020-12-15 15:51

I had a file which I deleted and replaced with another file, somewhere else, of the same name.

Despite cleaning, and trying this multiple times, I keep getting this

10条回答
  •  甜味超标
    2020-12-15 16:08

    If you are using vs code and facing this issue which says

    clang: error: no such file or directory: 'filename'
    clang: error: no input files
    

    Error while running files:

    error while running files

    I solved this issue by removing the space or replacing the space with underscore(_) in the filename .extension

提交回复
热议问题