Skip to content
Romain Milbert edited this page Nov 24, 2024 · 5 revisions

For the audio module, OpenAL has been chosen. This seemed like the most standard choice, with many tutorials & good documentation materials available.

Windows

Download the most recent version of the OpenAL Soft SDK's Windows binaries here. This alternative version of OpenAL is the most advanced, is cross-platform and includes many extensions.

OpenAL is expected to be found in any of the C:, D: or E: drives, either directly in a directory with a name starting with OpenAL, or preceded by another starting with Lib. This means that any of the following examples will work:

C:/
  OpenAL/
    include/
    lib/

D:/
  Libs/
    OpenAL/
      include/
      lib/

E:/
  Libraries/
    OpenAL SDK X.XX/
      include/
      lib/

Alternatively, the path can be manually set by calling CMake with the argument -DOPENAL_SDK_ROOT=..., specifying the root path to OpenAL. Also, two environment variables OPENALDIR and OPENAL_SDK_PATH can be set to search from.

Linux

OpenAL must be installed with your package manager. There's not much to be said aside from this, it will most likely be instantly found by RaZ.

  • Ubuntu: # apt install libopenal-dev
  • Arch: # pacman -S openal
  • Fedora: # dnf install openal-soft

macOS

Likewise, all it should take under macOS is to install OpenAL's package: brew install openal-soft. You're all set up!

Troubleshooting

This page may not always be up to date. In case finding your OpenAL installation fails, check the FindOpenAL CMake package to check the paths it is searched from.

As always, never hesitate to open an issue or, even better, submit your own changes. That would be a great help!

Clone this wiki locally