Hello everyone.
I've got a problem with loading a picture.
loadFromFile always returns "false" (both on Image and Texture) in Debug mode, but works fine in Release.
And this is so on x64 version of library (of course I compile it under x64 platform).
If i take x86 version of sfml, it works fine in both Release and Debug modes.
I've found one topic on another forum, where some guy has got the same trouble, but he didn't get any good explanation. On this forum I didn't find similar questions.
What should I do to make it work in Debug mode?
Win10 x64, VS 2015 x64, SFML 2.3.2 64bit version.
Code is pretty simple:
Texture tileset;
if (tileset.loadFromFile("images/basic.png"))
printf("picture loaded");
else
printf("picture NOT loaded");