码迷,mamicode.com
首页 > 其他好文 > 详细

C入门问题

时间:2016-07-15 17:04:54      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:

开发环境  Eclipse  for C/C++  &  MinGW

Error 1, open output file blabla.exe: Permission denied

Every time I start Eclipse on my laptop, I can only compile and run a program once. After that it asks if I want to run it with errors every time. The compiler says this:

Building target: Project01Test.exe
Invoking: GCC C++ Linker
g++ -oProject01Test.exe ./test.o
C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../mingw32/bin/ld.exe: cannot         
open output file Project01Test.exe: Permission denied
collect2: ld returned 1 exit status
make: *** [Project01Test.exe] Error 1
make: Target `all‘ not remade because of errors.
Build complete for project Project01Test
------------------------

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).

 

 

 

==========================

 

以上摘自网络 http://max.berger.name/howto/cdt/ar01s05.jsp

 

打开任务管理器

 

杀死 xxx.exe 的进程  。。 问题解决

C入门问题

标签:

原文地址:http://www.cnblogs.com/july2015/p/5674037.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!