I cloned code from here:
https://github.com/SVasilev/YuGiOhI am using Visual Studio 2012 to try to carry out the steps given in the cdp file:
https://github.com/SVasilev/YuGiOh/blob/master/proj/YuGiOh.cbpI attempted to follow the instructions at
http://www.sfml-dev.org/tutorials/2.3/start-vc.php to create and configure the project.
The program builds successfully, but when I try to compile it under 'debug', it just crashes saying "program stopped working". I'm able to run the `release` exe from
C:\Users\cyberphoenix\Documents\Visual Studio 2013\Projects\yugioh_sfml\x64\Release
, but the error is
Failed to load image "assets/borders.png". Reason: unable to open file
DEBUG_MESSAGE: Failed to load static overlay texture (assets/borders.png)
I get the similar error for `overlay image` and `assets/backside.png` and `backside texture`
When I then copy/paste the `assets` folder into the directory I just mentioned and also `
C:\Users\cyberphoenix\Documents\Visual Studio 2013\Projects\yugioh_sfml\
` , the exact error message is
Failed to load image "". Reason: Unable to open file
there is no path in the quotes
It fails if I try both `Multi-threaded DLL` and `Multi-threaded`, and even if I use `sfml-graphics-s.lib` instead of `sfml-graphics-s-d.lib` for `release`
Anyone know why?