Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SOLVED!!cannot open output file bin\Debug\sfmlMouseEvents.exe Permission denied.  (Read 19708 times)

0 Members and 1 Guest are viewing this topic.

samknen

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
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.
« Last Edit: January 29, 2015, 09:28:34 pm by samknen »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
Did you try googling with keywords like "resolve permission denied"......? ::)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

DaveKram

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
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.

samknen

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Haha. Problem fixed for some weird reason, after 2 days. But thanks for replying.

elias gomes

  • Newbie
  • *
  • Posts: 1
    • View Profile
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

 

anything