File not recognized: File truncated GCC error

前端 未结 3 1323
误落风尘
误落风尘 2020-12-30 18:21

I\'m trying to compile a simple \"Hello World\" program in Linux using Eclipse, but I always get this:

Building target: hello
Invoking: GCC C++ Linker
g++  -         


        
3条回答
  •  囚心锁ツ
    2020-12-30 18:58

    Just remove the object file.

    This error most likely appeared after the previous build was interrupted and object file was not generated completely.

提交回复
热议问题