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

Author Topic: openAL32.dll error when using any sfml audio  (Read 5194 times)

0 Members and 1 Guest are viewing this topic.

HammaJamma

  • Newbie
  • *
  • Posts: 12
    • View Profile
openAL32.dll error when using any sfml audio
« on: July 31, 2014, 02:32:00 am »
this code
#include <SFML\Audio.hpp>
int main()
{
        sf::SoundBuffer buffer;
};
produces this error

img

It was originally an openAL32.dll is missing error but I used an openAL installer from here
http://www.openal.org/creative-installers/

here's my system info
(click to show/hide)

I'm using Static SFML 2.1

I checked my Graphics card and audio drivers and both are up to date (now xD)
I have installed libsndfile-1.0.25 x64 and x32 from here
http://www.mega-nerd.com/libsndfile/
I will keep searching for a solution but if anyone has any idea what is causing this I would appreciate the info
« Last Edit: July 31, 2014, 02:47:48 am by HammaJamma »

Strelok

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • GitHub
Re: openAL32.dll error when using any sfml audio
« Reply #1 on: July 31, 2014, 03:21:10 am »
From the docs
Quote
If you are using the sfml-audio module (either statically or dynamically), you must also copy the DLLs of the external libraries needed by it, which are libsndfile-1.dll and OpenAL32.dll.
These files can be found in <sfml-install-path/bin> too.

HammaJamma

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: openAL32.dll error when using any sfml audio
« Reply #2 on: July 31, 2014, 03:35:41 am »
So simple. Thank you very much.

Strelok

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • GitHub
Re: Re: openAL32.dll error when using any sfml audio
« Reply #3 on: July 31, 2014, 04:49:29 am »
So simple. Thank you very much.
You're welcome ^-^