User Tools

Site Tools


assignments:a3

This is an old revision of the document!


Installing OpenAL and alut

To install OpenAL on Windows: Installer

To install OpenAL on Mac: Github

To install alut on Windows or Mac: Github Follow the cmake instructions, the VisualStudio ones seem obsolete.

Visual Studio Project Settings

Open a New Project → Win32 Console Application

Go to Project ‘Properties’ :

  1. - add

C:\Program Files\OpenAL 1.1 SDK\include to

C++ -> General -> Additional Include Directories
  1. - add C:\Program Files\OpenAL 1.1 SDK\libs\Win32

to Linker → General → Additional Library Directories

  1. - add OpenAL32.lib at the end to

Linker → Input → Additional Dependencies

In your source code, you'll need

#include “al.h” #include “alc.h”

For alut, it's best to copy alut.dll in the project directory

assignments/a3.1541451794.txt.gz · Last modified: 2018/11/05 21:03 by bil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki