Here is my code:
#include <SFML/Audio.hpp>
int main () {
sf::Music Music;
return 0;
}
I use Windows 8.1, sfml 2.1. Also i tried it on Windows 7.
and whenever I create my music file I get an error in the console window that says
"Failed to open the audio device"
I've added the audio to the linker.
Graphics and stuff work fine. I just started on music today and now I can't figure out the problem.
Help me please!