为什么我的dev-c ++“无法打开输出文件”? [英] Why my dev-c++ "can't open output file"?

查看:2954
本文介绍了为什么我的dev-c ++“无法打开输出文件”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我重新编译一个.cpp文件崩溃后,我的编译器告诉我这个。

When I re-complied a .cpp file after crashing, my compiler told me this.

g:/程序文件(x86)/ dev-cpp / mingw64 / bin /../ lib / gcc / mingw32 / 4.8.1 /../ /../../mingw32/bin/ld.exe:无法打开输出文件C:\Users\chanson\Desktop\quickSort.exe:权限被拒绝

g:/program files (x86)/dev-cpp/mingw64/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot open output file C:\Users\chanson\Desktop\quickSort.exe: Permission denied

collect2.exe:错误:ld退回1个退出状态

collect2.exe: error: ld returned 1 exit status

编译失败,错误时间为1.00秒

Compilation failed after 1.00 seconds with errors

我的系统是win8.1,编译器是TDM-GCC 4.8.1 64位版本。我认为这是我的操作系统的问题,但我如何解决这个问题?非常感谢!

My system is win8.1, compiler is TDM-GCC 4.8.1 64-bit Release. I think it's the problem of my OS, but how can I fix this problem? Thanks a lot!

推荐答案

通常,权限被拒绝是因为您的程序的实例

Usually the "permission denied" is because an instance of your program is still running.

您可以使用任务管理器杀掉它。

You can use Task Manager to kill it.

Ctrl + Shift + Esc 以运行任务管理器,转到选项卡进程,找到您的进程,杀死它,但小心。 :)

Ctrl+Shift+Esc to run Task Manager, go to tab "Processes", find your process, kill it, but be careful. :)

实用提示:

Ctrl + Break

这篇关于为什么我的dev-c ++“无法打开输出文件”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆