SFML community forums
Help => Audio => Topic started by: Drak on April 28, 2011, 08:33:03 pm
-
I've read other people have had this problem. But I can't seem to fix mine.
VS2008
Release mode - dynamic linking / libs.
SFML 1.6
All the proper dlls are located within the program folder. (From extlibs)
The code is the code from the tutorial section of SFML 1.6 - playing a sound.
I tried debug / release (with the proper -d libs) and still nothing. Playing music works fine. But I can't get it to load anytime of .wav.
-
Make sure that the wav file is in the current working directory. This is the executable's directory if you run the app from the explorer, but it may be the project directory if you run it from your IDE.
-
Running from the explorer, so it's located inside the same folder of the exe.
-
Is it the wav file that is provided with the SFML SDK?