Problem....
I have it compiling.. but in the tutorial it says...
"Important: for the Debug configuration, you have to link with the debug versions of the libraries, which have the "-d" suffix (sfml-system-d.lib in this case). If you don't, you may get undefined behaviours and crashes. "
But if I change the input thing for "debug" form sfml-system.lib -> sfml-system-d.lib it errors on compile.
http://screencast.com/t/zESVt7Q4fAyIf i remove the dll I get this error...
http://screencast.com/t/wStCvMlKk5rfIf I use the lib with out -d and its corresponding dll it works fine... (I am using the "clock" code in teh "setting up VS" part of tutorial.)
<<---- I still can not get anything to work
I am trying to add music and sound effects... I am running the exact code from the music tutorial downloadable cpp, but replaced it is all going wired....
I added to teh if statment a pause.. so you can read b4 it exits the app on the error...
int main()
{
// Load the music from an OggVorbis file
sf::Music Music;
if (!Music.OpenFromFile("music.ogg")){
std::cout << "Press enter to exit..." << std::endl;
std::cin.ignore(10000, '\n');
return EXIT_FAILURE;}
return EXIT_SUCCESS;
}
This is that the error looks like in the console...
http://screencast.com/t/6zreq0DVI have tried it using a "real" file.. ogg and wav.. same error in the console... I am compiling as release as the -d thing isn't working... and I have also copied the libsndfile-1.dll and openal32.dll into the dir and tried adding sfml-audio.dll to the linker along with system one..
I know I am a beginner and stuff.. but I can not seam to even get the basics functioning... I would really appreciate some help if you get the time..
Thanks in advance