1
General / Failed to load Image errors with SFML for Visual Studio C++
« on: November 02, 2015, 07:17:50 am »
I cloned code from here: https://github.com/SVasilev/YuGiOh
I 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.cbp
I 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
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 `
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?
I 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.cbp
I 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
Quote
C:\Users\cyberphoenix\Documents\Visual Studio 2013\Projects\yugioh_sfml\x64\Release, but the error is
Quote
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 `
Quote
C:\Users\cyberphoenix\Documents\Visual Studio 2013\Projects\yugioh_sfml\` , the exact error message is
Quote
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?