My program is executed successfully but the music doesn't play.
This are message I copy from console:
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
libGL error: failed to load driver: vboxvideo
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Failed to load image "ksk.jpg". Reason : Unable to open file
AL lib: (EE) ALSAProc: Wait timeout... buffer size too low?
AL lib: (EE) ALSAProc: Wait timeout... buffer size too low?
AL lib: (EE) ALSAProc: Wait timeout... buffer size too low?
and the code I use to play music:
sf::Music music;
if(!music.openFromFile("heroes.ogg"))
return EXIT_FAILURE;
music.play();
The program is compiled and executed on arch-linux 64bit installed under virtual-box.
(This is the first time I post question. If there is any information I forgot to provide please tell me, thanks.)