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 - owenisred

Pages: [1]
1
Audio / Any Audio Class Crashes Program
« on: November 02, 2012, 03:54:02 am »
Hi, Im Owen, I'm new here, and Im relatively new to SFML.

Ive been using SFML's Graphics Module to make a game. I recently attempted to add sounds to my project. I am able to include the #include <SFML/Audio.hpp> and It compiles fine (with no audio classes) However when I input anything like

sf::SoundBuffer buffer1

The program will build, but with the following error, when I try to run:

The application was unable to start correctly (0xc000007b). Click OK to close the application.

I am totally at a loss as to what to do! I have downloaded libsndfile.dll and placed it into the project directory. my linker settings are:

-ltgui
-lsfml-audio
-lsfml-graphics
-lsfml-window
-lsfml-system
-lmingw32
-lsdlmain
-lsdl

If anyone could help, that would be fantastic!
Thanks!

Pages: [1]
anything