openal-soft icon indicating copy to clipboard operation
openal-soft copied to clipboard

How to compile OpenAL32.dll and OpenAL64.dll?

Open usergithub64 opened this issue 1 year ago • 1 comments

Where can I get detailed step-by-step instructions on how to compile OpenAL32.dll and OpenAL64.dll under Windows 10 x64 ? The instructions on Github (Like How to Build) are too confusing and incomprehensible. What exactly needs to be downloaded, what programs to download for this, etc.? I need to compile OpenAL32.dll and OpenAL64.dll latest version 1.23.1 to copy them into the game folder.

usergithub64 avatar Sep 23 '23 14:09 usergithub64

There are prebuilt binaries here: https://openal-soft.org/openal-binaries/ You don't normally need to build them yourself. The 32-bit and 64-bit libraries are bin/Win32/soft_oal.dll and bin/Win64/soft_oal.dll respectively. You can copy and rename them to wherever and whatever you need.

If you need or still want to build them, then on Windows you'll need Visual Studio. Once installed, you can download and extract the source for the latest OpenAL Soft release from here: https://openal-soft.org/openal-releases/

You can then follow these instructions to load up the project https://learn.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio

Once loaded, you should be able to build it like any other Visual Studio project (I don't know the exact procedure since I don't use Visual Studio).

kcat avatar Sep 23 '23 17:09 kcat