Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Terminating out of run leaves .exe file busy
Terminating out of run leaves .exe file busy [message #179533] Sat, 11 November 2006 19:35 Go to next message
Eclipse UserFriend
Originally posted by: jcobban.magma.ca

Whenever I prematurely terminate a C++ program that I am executing under
"run" the .exe file is left busy. This means:

1) I cannot rebuild the C++ program because I get the messages:

/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin /bin/ld: cannot
open output file Ged2Html.exe: Device or resource busy

collect2: ld returned 1 exit status

make: *** [Ged2Html.exe] Error 1

make: Target `all' not remade because of errors.

2) I cannot even delete the .exe.

The only workaround I know for this is to shut down and restart Win XP.

Is there any easier way to get around this?

I am running: Version: 3.0.2, Build id: 200503110845
Re: Terminating out of run leaves .exe file busy [message #179560 is a reply to message #179533] Mon, 13 November 2006 20:22 Go to previous message
Leo von Klenze is currently offline Leo von KlenzeFriend
Messages: 9
Registered: July 2009
Junior Member
Looks like the process is still running, even eclipse doesn't show it.

Have you tried to find your program in the task manager?
Maybe you can terminate it with the task manager if it is still running,
and relinking should work.

leo

btw: for a good task manager have a look at the process explorer from
sysinternals (www.sysinternals.com). Its free and very handy

Jim Cobban schrieb:
> Whenever I prematurely terminate a C++ program that I am executing under
> "run" the .exe file is left busy. This means:
>
> 1) I cannot rebuild the C++ program because I get the messages:
>
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin /bin/ld: cannot
> open output file Ged2Html.exe: Device or resource busy
>
> collect2: ld returned 1 exit status
>
> make: *** [Ged2Html.exe] Error 1
>
> make: Target `all' not remade because of errors.
>
> 2) I cannot even delete the .exe.
>
> The only workaround I know for this is to shut down and restart Win XP.
>
> Is there any easier way to get around this?
>
> I am running: Version: 3.0.2, Build id: 200503110845
>
>
>
>
>
Previous Topic:Debug existing C++ executable
Next Topic:standard vs managed make project and gdb differences
Goto Forum:
  


Current Time: Thu Apr 25 23:22:37 GMT 2024

Powered by FUDForum. Page generated in 0.03412 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top