News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Why Is the Compiler Denied Permission To The .exe File?

Started by F6|Zman, March 16, 2013, 03:19:12 PM

Previous topic - Next topic

F6|Zman

Here is the error I keep getting:

Linking executable: ..\..\bin\sauerbraten.exe
c:/mingw/bin/../lib/gcc/mingw32/4.7.0/../../../../mingw32/bin/ld.exe: cannot open output file ..\..\bin\sauerbraten.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings

How do I change my permission settings? or...?

stahta01

Most common cause is the exe is currently running.
If this, close the exe.

Possible anti-virus software issue.

Possible file security issue.

Please learn to post in the correct sub-forum; you might get more replies!

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]