zoukankan      html  css  js  c++  java
  • Eclipse : cannot open output file(c++)

    之前电脑卡的时候 强制关闭Eclipse,结果打开再次运行的时候却不能输出了;找了网上的原因,是之前那个进程还未关闭


    开发环境  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:

    <span style="font-size:14px;">Building target: Project01Test.exe
    Invoking: GCC C++ Linker
    g++ -oProject01Test.exe ./test.o
    C:/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 status
    make: *** [Project01Test.exe] Error 1
    make: Target `all' not remade because of errors.
    Build complete for project Project01Test</span>
    <span style="font-size:14px;">------------------------
    </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).

     

     

     

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

     

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

     

    打开任务管理器

     

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


    版权声明:本文为博主原创文章,未经博主允许不得转载。

    today lazy . tomorrow die .
  • 相关阅读:
    华为面试
    多线程下的单例模式
    乐观锁的一种实现方式——CAS
    乐观锁和悲观锁
    数据库行锁,表锁
    常用的设计模式
    grunt-contrib-watch 实时监测文件状态
    grunt-contrib-compass 编译sass
    grunt的安装及使用
    dede 调取二级三级菜单栏目
  • 原文地址:https://www.cnblogs.com/france/p/4808687.html
Copyright © 2011-2022 走看看