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

Author Topic: .exe being deleted when trying to load a texture  (Read 1261 times)

0 Members and 1 Guest are viewing this topic.

AHeroicBunny

  • Newbie
  • *
  • Posts: 2
    • View Profile
.exe being deleted when trying to load a texture
« on: March 03, 2020, 02:25:29 am »
https://imgur.com/a/hWvkQn5

Here are all the pictures of my problem.

I can load the green circle in the tutorial correctly. When I use the example code to load a sprite from a .png the error says "access denied" and the whole .exe is deleted. Even if I try to run a hello world program I cant get visual studio to run it.

Thank you for reading.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: .exe being deleted when trying to load a texture
« Reply #1 on: March 03, 2020, 08:05:23 am »
Check your anti-virus software and add your build directory as exception.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

AHeroicBunny

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: .exe being deleted when trying to load a texture
« Reply #2 on: March 04, 2020, 12:23:48 am »
Thanks! I disabled ad-aware and it worked like a charm.