visual studio help I'm using SFML in Visual studio 2013 to generate a window with an image. when i execute the .exe by itself everything works but when i run it through VS it generates a window with a black background. Anybody have any ideas why?
Did you install and test SFML as it talks about here? http://www.sfml-dev.org/tutorials/2.2/start-vc.php Because it sounds like the library is on your system, but not like it is really known to VisualStudio.
i found it. VS searches for resources with the .cpp files and not with the .exe. I just had to place the .png with the .cpp files. Extra note, if you are writing a windows program you can switch it to a console program from project properties > linker > system > subsystem
Ah, yes. A path issue. That would certainly do it.
Join our real-time social learning platform and learn together with your friends!