SFML community forums

Help => System => Topic started by: samknen on January 28, 2015, 04:57:10 pm

Title: SOLVED!!cannot open output file bin\Debug\sfmlMouseEvents.exe Permission denied.
Post by: samknen on January 28, 2015, 04:57:10 pm
Hello
I just started learning sfml 2.0 and got this error from the debugger: "ld.exe||cannot open output file bin\Debug\sfmlMouseEvents.exe Permission denied|". I'm using code blocks and found nowhere a solution for this problem. It happend when I tried to learn how to use mouse events and if I build it in release form it does work but there is no console.
Can anyone help me pls?
And if this is the wrong place on the forum, say it.
Title: AW: ld.exe||cannot open output file bin\Debug\sfmlMouseEvents.exe Permission denied.
Post by: eXpl0it3r on January 28, 2015, 05:43:44 pm
Did you try googling with keywords like "resolve permission denied"......? ::)
Title: Re: ld.exe||cannot open output file bin\Debug\sfmlMouseEvents.exe Permission denied.
Post by: DaveKram on January 29, 2015, 02:15:31 pm
Are you sure you aren't still running your executable? Getting a permission denied like that on the .exe seems like your process from a previous build is still running, and you can't write over/build the new exe because of that.

Check your computers running processes in Task Manager or something similar.
Title: Re: ld.exe||cannot open output file bin\Debug\sfmlMouseEvents.exe Permission denied.
Post by: samknen on January 29, 2015, 09:27:03 pm
Haha. Problem fixed for some weird reason, after 2 days. But thanks for replying.
Title: Re: SOLVED!!cannot open output file bin\Debug\sfmlMouseEvents.exe Permission denied.
Post by: elias gomes on September 19, 2018, 08:04:58 am
did not worked to me , the solution was to save the code again after each modification with a new name as for example arq1.ce at once arq2.c to be able to compile and run, the problem does not have any relation with the anti-virus so you can keep it active, seems that the project folders are for to save the codes after  each modification with a new name to keep the historical evolution of the project, so the IDE does not allow to save the file after modification overwriting an existing file