SFML community forums

Help => General => Topic started by: AHeroicBunny on March 03, 2020, 02:25:29 am

Title: .exe being deleted when trying to load a texture
Post by: AHeroicBunny 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.
Title: Re: .exe being deleted when trying to load a texture
Post by: eXpl0it3r on March 03, 2020, 08:05:23 am
Check your anti-virus software and add your build directory as exception.
Title: Re: .exe being deleted when trying to load a texture
Post by: AHeroicBunny on March 04, 2020, 12:23:48 am
Thanks! I disabled ad-aware and it worked like a charm.