Hi, whenever I try to load a music file, my program just crashes. I'm trying to compile under debug mode. I'm using VS2012 under Windows 8 with the SFML 2.0 RC.
'Metroid Walrus.exe' (Win32): Loaded 'C:\Users\Shawn\Documents\Visual Studio 2012\Projects\Metroid Walrus\Debug\Metroid Walrus.exe'. Symbols loaded.
'Metroid Walrus.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
[...] (Basically the same errors but with different DLLs)
'Metroid Walrus.exe' (Win32): Loaded 'C:\Windows\SysWOW64\AudioSes.dll'. Cannot find or open the PDB file.
The thread 0xcdc has exited with code -1 (0xffffffff).
The thread 0x10e8 has exited with code -1 (0xffffffff).
The thread 0xaf0 has exited with code -1 (0xffffffff).
The thread 0x13b8 has exited with code -1 (0xffffffff).
The thread 0xc4c has exited with code -1 (0xffffffff).
The program '[1580] Metroid Walrus.exe' has exited with code -1 (0xffffffff).
This is the offending code. If I comment it out the program proceeds fine.
if( !music.openFromFile( "dbg.ogg" ) )
return -1;
Here are my dependencies in their order (I've tried them in the opposite just in case, too):
sfml-audio-d.lib
sfml-graphics-d.lib
sfml-window-d.lib
sfml-system-d.lib
Any help would be appreciated.