User forums > Using Code::Blocks

problem compiling with mingw

(1/2) > >>

3DModelerMan:
I get these errors when I change something in my code

--- Code: ---Linking console executable: data\Debug\bin\Main_game.exe
C:\Program Files\CodeBlocks\MinGW\bin\ld.exe: cannot open output file data\Debug\bin\Main_game.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

--- End code ---
what do these mean?.

3DModelerMan:
Here's a quick update, so far it only does this in debug mode.

Jenna:
If it has worked before it most likely means that an instance of your exe is still running.
Open the taskmanager and kill it.

3DModelerMan:
Really?. I did'nt see it in the windows bar.

Jenna:

--- Quote from: 3DModelerMan on November 27, 2008, 07:59:18 pm ---Really?. I did'nt see it in the windows bar.

--- End quote ---
That's why I wrote

--- Quote ---Open the taskmanager and kill it.
--- End quote ---

There could of course be other reasons, like no write permission, but that should not happen accidently.

You can try to delete the exe-file manually, if windows says another process is using it, it's most likely that the process is still running.

Navigation

[0] Message Index

[#] Next page

Go to full version