1
Graphics / Re: Loading png files in visual studio. Can't find the file
« on: July 14, 2012, 08:59:25 pm »
Thank you for your tip. Of course the location was wrong, I should have seen that but I guess I was a bit dull today. I tried with an absolute path (got the inspiration from your reply):
And it worked, so now I knew it actually DID load the image, finding out where was was easy. For future reference, images for SFML in MVS projects are placed...
CORRECTLY
INCORRECTLY
And it worked, so now I knew it actually DID load the image, finding out where was was easy. For future reference, images for SFML in MVS projects are placed...
CORRECTLY
- In the root directory of the project
INCORRECTLY
- In the root directory of the solution
- In the output directory
- In the intermediate directory