SFML: "Failed to open the audio device"
3 hours ago, ONOTech said:Try updating GCC. That often fixed a lot of the issues I had when I used SFML w/ Code Blocks.
Edit: Pssh, SFML cannot open .wavs you silly goose. Use .oggs. Then it should work
I highly recommend using VS if you have the computer for it. It's support for SFML is miles better.
Code::Blocks default compiler is only GCC
I got it working. WAV files are supported according to SFML and I got it working with a WAV of Spooky Scary Skeletons so lol
I'm forced to use CB due to this being a school PC.
For those looking to solve this in the future, make sure you actually have the correct DLLs you need. I just so happened to have downloaded a game off Github earlier and saw that it had those DLLs in there and though "hey, why not swap them with the ones I have." Boom, works perfect.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now