Author Topic: Why Is the Compiler Denied Permission To The .exe File?  (Read 9946 times)

Offline F6|Zman

  • Single posting newcomer
  • *
  • Posts: 6
Why Is the Compiler Denied Permission To The .exe File?
« on: March 16, 2013, 03:19:12 pm »
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...?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7790
    • My Best Post
Re: Why Is the Compiler Denied Permission To The .exe File?
« Reply #1 on: March 16, 2013, 10:49:13 pm »
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++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org