Error when compiling any project in Code:: Blocks

I installed a new version of Code:: Blocks 12.11; I wanted to run the old project - and then I get an error! At first I didn't understand what was going on, I thought that something was wrong somewhere in the code. I look in the logs - no, the code is fine. Not understanding what was going on, I wrote the simplest code. I run it - it's still an error! With what one and the same!

Here is the Build Log:

Mingw32-g++.exe -o bin\Debug\LOL.exe obj\Debug\main.o c:/program files/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot open output file bin\Debug\LOL.exe: Permission denied collect2.exe: error: ld returned 1 exit status Process terminated with status 1 (0 minutes, 0 seconds) 1 errors, 0 warnings (0 minutes, 0 seconds)

Here is the error text:

Ld.exe||cannot open output file bin\Debug\LOL.exe Permission denied| ||=== Build finished: 1 errors, 0 warnings (0 minutes, 0 seconds) ===|

Who can tell you what the problem is???

I can't start anything!!! We have to sit on VS2012 for now.

Author: hamsternik, 2013-07-20

1 answers

Most likely, you are trying to kill a file that is already running. Check in the process lists in the task manager. If I'm not mistaken, CodeBlocks has such a feature - if you create a console application, and then close it by clicking on the "cross" in the upper right corner, then you may have the problem that you described. Or the most obvious option - you do not have write rights to the folder

 2
Author: DreamChild, 2013-07-20 14:29:32