SFML community forums

Help => Audio => Topic started by: Tweezy on March 06, 2013, 01:25:29 am

Title: [SFML 2] OpenAL32.dll is missing
Post by: Tweezy on March 06, 2013, 01:25:29 am
I was trying to test out a sound being played when left click on mouse is activated, I ran into this error:

Code: [Select]
The program can't start because OpenAL32.dll is missing from your computer. Try reinstalling the program to fix this issue
OpenAL32.dll is in my SFML2\bin2 directory. Why am I getting this error?

Thanks
Title: Re: [SFML 2] OpenAL32.dll is missing
Post by: io on March 06, 2013, 02:30:30 am
Have you tried including the DLL in the folder your exe is made?

I think you need both

OpenAL32.dll and libsndfile-1.dll

in the directory.
Title: AW: [SFML 2] OpenAL32.dll is missing
Post by: eXpl0it3r on March 06, 2013, 07:09:48 am
How do you think will your application find the dll that's 'somewhere' on your PC?
It needs to be able to find it in the working directory or the directory with the dll has to be added to the PATH enviroment variable.
Title: Re: AW: [SFML 2] OpenAL32.dll is missing
Post by: Tweezy on March 06, 2013, 01:02:54 pm
How do you think will your application find the dll that's 'somewhere' on your PC?
It needs to be able to find it in the working directory or the directory with the dll has to be added to the PATH enviroment variable.

What do you exactly mean by the path environment variable?
Title: Re: AW: [SFML 2] OpenAL32.dll is missing
Post by: eXpl0it3r on March 06, 2013, 01:08:33 pm
What do you exactly mean by the path environment variable?
http://lmgtfy.com/?q=PATH+environment+variable
Title: Re: AW: [SFML 2] OpenAL32.dll is missing
Post by: Tweezy on March 06, 2013, 01:10:34 pm
What do you exactly mean by the path environment variable?
http://lmgtfy.com/?q=PATH+environment+variable

I know what it is, but how do I go about changing it for SFML. Just an FYI, I have tried putting all the dll in my debug folder where the exe is - still doesn't work. (First thing I tried)

NVM I fixed it