News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Code::Blocks 10.05 vs Nightly build 7075 Problem

Started by sarun, October 15, 2011, 01:53:18 PM

Previous topic - Next topic

sarun

I've been using Code::Blocks 10.05 for a while, then I switched to Nightly build 7075. (use same MinGW as in 10.05). But when I build a project (in Nightly build), I got this error:

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

and this is the build log:

Quote
-------------- Build: Debug in HelloWorld ---------------

Linking console executable: bin\Debug\HelloWorld.exe
d:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot open output file bin\Debug\HelloWorld.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 2 seconds)
1 errors, 0 warnings (0 minutes, 2 seconds)

But when I use Code::Blocks 10.05, I got no errors.

Why a different version of Code::Blocks give the different results with same MinGW?

Thanks,


PS. I've tried the Nightly build on another computer, it seems to work fine, strange.....

renega_666

"cannot open output file bin\Debug\HelloWorld.exe: Permission denied"
This is your problem. Ensure that you have the permission to write on this file... If you do have the permission, just restart codeblocks and rebuild: the error should go away.

Alpha

You could also look at this thread; multiple ideas were discussed - one of them might be your problem as well.