SFML community forums

Help => Audio => Topic started by: DarthBuzzKill on November 17, 2014, 12:49:10 am

Title: The program can't start because OpenAL32.dll is missing from your computer
Post by: DarthBuzzKill on November 17, 2014, 12:49:10 am
Full message as follows:

The program can't start because OpenAL32.dll is missing from your computer. Try reinstalling the program to fix this problem.   

This happened when I included the audio library and correctly setup a sound to play after placing it into my project's folder. Even after removing the audio file from the project folder and the audio library, it still gives me the error. Any suggestions?

I am using SFML 2.1
Title: Re: The program can't start because OpenAL32.dll is missing from your computer
Post by: eXpl0it3r on November 17, 2014, 12:54:55 am
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.

Official VS tutorial (http://sfml-dev.org/tutorials/2.1/start-vc.php) or Official C::B/MinGW tutorial (http://sfml-dev.org/tutorials/2.1/start-cb.php)
Title: Re: The program can't start because OpenAL32.dll is missing from your computer
Post by: DarthBuzzKill on November 17, 2014, 01:13:41 am
Thanks for the link. I actually fixed it anyway since I added to OpenAL32.dll file to the same folder as the .exe.