Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - SovietShark

Pages: [1]
1
Audio / [SOLVED][2.0 RC][VS2012]Music::openFromFile crashing program
« on: November 03, 2012, 05:09:09 pm »
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.

Pages: [1]