/usr/bin/ld:无法打开输出文件 -std=c++11:权限不够
collect2: error: ld returned 1 exit status
The terminal process terminated with exit code: 1

终端上出现这个报错,说权限不够

Linux下VScdoe在debug时出现这个The preLaunchTask 'build' terminated with exit code 1.报错

是这两个顺序不对

"-std=c++11",

"${fileDirname}/${fileBasenameNoExtension}"

交换一下就可以了

"${fileDirname}/${fileBasenameNoExtension}",

"-std=c++11" 

 

相关文章:

  • 2022-12-23
  • 2021-05-25
  • 2021-05-23
  • 2022-12-23
  • 2021-08-08
  • 2021-10-18
猜你喜欢
  • 2021-12-03
  • 2022-12-23
  • 2021-06-21
  • 2021-06-22
  • 2021-11-28
  • 2021-09-03
相关资源
相似解决方案