Eclipse:open output file blabla.exe: Permission denied

来源:互联网 发布:龙的传人 王力宏 知乎 编辑:程序博客网 时间:2024/05/22 01:38

Error :open output file blabla.exe: Permission denied

小编打了一段c代码,语法上并没有问题,但却出现了以下错误提示信息:

<span style="font-family:FangSong_GB2312;font-size:12px;"><span style="font-size:14px;"><span style="font-family:Microsoft YaHei;">Building target: Project01Test.exeInvoking: GCC C++ Linkerg++ -oProject01Test.exe ./test.oC:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../mingw32/bin<span style="color: rgb(255, 0, 0);">/ld.exe: cannot         open output file Project01Test.exe: Permission denied</span>collect2: ld returned 1 exit statusmake: *** [Project01Test.exe] Error 1make: Target `all' not remade because of errors.Build complete for project Project01Test</span></span></span>
<span style="font-family:FangSong_GB2312;font-size:12px;"><span style="font-size:14px;"><span style="font-family:Microsoft YaHei;">------------------------</span></span></span>

Answer: Your program may still be running. Try stopping it by using the small red square on the console window (the one for your program). Another way is switching to the "Debug" perspective, selecting your running program, and stopping it there (also the small red square).

嘿嘿,大致翻译一下。主要是说你的程序实际上没有关闭,仍然在运行。你可以点击红色的那个方块按钮停止运行,或者在Debug模式下停止(仍然是点击那个红色小方块)。小编是把Eclipse关闭,又重新粘贴了一遍代码。

0 0
原创粉丝点击