readthefuckingmanual.net

[SOLVED] There was an error opening the ALC device

Error added: 2006-11-08T17:22:08Z

2 people waiting for the answer...

3 answers found.

Answer 1884 (100.0% helpful)

On Win7/64-bit trying to run C# app linked against OpenAL I was getting this error for alut.alutinit(). (Error 519).

Go to http://connect.creativelabs.com/openal/default.aspx and click on Downloads.

I downloaded and installed oalinst. 

I also had to grab freealut-1.1.0-bin.zip from the ALUT "subdir" which contains alut.dll and al.h.
Permalink

Answer 1885 (100.0% helpful)

Re: 1884

Date of solution 10/20/2011.
Permalink

Answer 1208 (0.0% helpful)

OpenAL is not correctly installed on your system. If you are on Vista/Win 7, you cannot use the Creative version of OpenAL32. Remove all traces of it from your system. (AL dynamically links against it). Grab openal-soft-1.10.622-bin from
http://connect.creativelabs.com/openal/Downloads/Forms/AllItems.aspx
and link against that. 

Consider downloading dependencywalker to check your dependencies and make sure all referrences to OpenAL32 are the opeanal-soft version and not the creative version. 

You may need to link against the March09 version of directx (for direct sound), as at the time of writing the August09 requires sal.h, which won\'t be present unless you have visual studio installed and are including its header files.

HTH!
-BlueNovember
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: