白0619 2023-07-14 14:55 采纳率: 83.3%
浏览 27
已结题

vscode runcode后出现问题怎么解决

img

[Running] cd "d:\codeProject\vsCode\helloword" && g++ helloWorld.cpp -o helloWorld && "d:\codeProject\vsCode\helloword"helloWorld
D:/codeConfiguration/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file helloWorld.exe: Permission denied
collect2.exe: error: ld returned 1 exit status

[Done] exited with code=1 in 1.036 seconds

[Running] cd "d:\codeProject\vsCode\helloword" && g++ helloWorld.cpp -o helloWorld && "d:\codeProject\vsCode\helloword"helloWorld
D:/codeConfiguration/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file helloWorld.exe: Permission denied
collect2.exe: error: ld returned 1 exit status

[Done] exited with code=1 in 0.157 seconds

  • 写回答

1条回答 默认 最新

报告相同问题?

问题事件

  • 系统已结题 10月27日
  • 已采纳回答 10月19日
  • 创建了问题 7月14日