SFML community forums
Help => General => Topic started by: Abakada on June 24, 2010, 11:17:46 pm
-
I have tried to "install" the extlibs by copying the *.dll files of the bin folder to windows/system32, copying the *.lib files to the lib folder, and copying the entire headers folder to the include folder.... (that's a lot of copying...! lol...)
However, with this piece of code...
// Load a music to play
sf::Music Music;
if (!Music.OpenFromFile("Kalimba.mp3"))
return EXIT_FAILURE;
// Play the music
Music.Play();
It gives me "Failed to open "Kalimba.mp3" for reading" in the black screen.
The Kalimba.mp3 is with the main.cpp...
Did I do it right..? (of course not....:?) What are my mistakes..?
Thanks for the help :D
-
Currently there is only ogg and wav support
MP3 is a requested feature that will probably be implemented with a sound plug-in system in the future.
-
Currently there is only ogg and wav support
Although these are the most common ones, a lot of other formats are supported, so it's probably better if you say "Currently there is no support for MP3" ;)
-
Currently there is only ogg and wav support
Although these are the most common ones, a lot of other formats are supported, so it's probably better if you say "Currently there is no support for MP3" ;)
Good point.
Here is the list of formats in the faq--I don't know if there are any more:
ogg, wav, flac, aiff, au, raw, paf, svx, nist, voc, ircam, w64, mat4, mat5 pvf, htk, sds, avr, sd2, caf, wve, mpc2k, rf64
-
So actually, i did "install" it properly..! That's a 110% fluke..! SCORE...!
Thanks..!