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

Author Topic: [SFML 2] OpenAL32.dll is missing  (Read 8136 times)

0 Members and 1 Guest are viewing this topic.

Tweezy

  • Newbie
  • *
  • Posts: 43
    • View Profile
[SFML 2] OpenAL32.dll is missing
« 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
« Last Edit: March 06, 2013, 01:28:42 am by Tweezy »

io

  • Jr. Member
  • **
  • Posts: 52
  • z/OS by day, SFML by night
    • View Profile
Re: [SFML 2] OpenAL32.dll is missing
« Reply #1 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.
« Last Edit: March 06, 2013, 02:33:11 am by io »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11027
    • View Profile
    • development blog
    • Email
AW: [SFML 2] OpenAL32.dll is missing
« Reply #2 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Tweezy

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: AW: [SFML 2] OpenAL32.dll is missing
« Reply #3 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?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11027
    • View Profile
    • development blog
    • Email
Re: AW: [SFML 2] OpenAL32.dll is missing
« Reply #4 on: March 06, 2013, 01:08:33 pm »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Tweezy

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: AW: [SFML 2] OpenAL32.dll is missing
« Reply #5 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
« Last Edit: March 06, 2013, 01:13:47 pm by Tweezy »

 

anything