News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

problem compiling with mingw

Started by 3DModelerMan, November 27, 2008, 05:12:11 PM

Previous topic - Next topic

3DModelerMan

I get these errors when I change something in my 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
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.
That's why I wrote
QuoteOpen the taskmanager and kill it.

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.

3DModelerMan

Alright you were right, that's what it was. I need to change up my cleanup when the exit button is selected.