问题

在sublime text中首次编译C++程序时,没有出现问题,当再次编译时,编译通不过,其错误为:
Sublime text C++代码非首次编译出现错误:collect2.exe: error: ld returned 1 exit status

原因

网上查找资料,发现可能是首次编译后生成的可执行文件还在运行中,查找资源监视器如下:
Sublime text C++代码非首次编译出现错误:collect2.exe: error: ld returned 1 exit status

解决方法

在资源监视器中将其进程结束

相关文章:

  • 2021-10-18
  • 2022-12-23
  • 2021-11-28
  • 2021-08-11
  • 2021-12-22
猜你喜欢
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案