I'm having a little trouble trying to load a music file (.OGG) into my application. i am using the tutorial source just to try and test the audio, but it cant seem to find the file specified..
#include <SFML/Audio.hpp>
#include <iostream>
int main()
{
sf::Music Music;
if (!Music.OpenFromFile("test.ogg"))
return EXIT_FAILURE;
Music.Play();
while (Music.GetStatus() == sf::Music::Playing)
{
sf::Sleep(0.1f);
}
return EXIT_SUCCESS;
}
i have my IDE (VS 2008) set in debug mode, and i have the audio file (test) in both my debug folder and the directory of my solution. there is no error, i debugged it and Music.OpenFromFile() is returning false... but i can figure out why it cant find it. any help would be greatly appreciated.