assignments:a3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
assignments:a3 [2018/11/05 17:44] – bil | assignments:a3 [2018/11/07 14:10] (current) – bil | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Assignment 3 ==== | ||
+ | |||
+ | {{: | ||
+ | |||
==== Installing OpenAL and alut ==== | ==== Installing OpenAL and alut ==== | ||
Line 7: | Line 11: | ||
To install alut on Windows or Mac: [[https:// | To install alut on Windows or Mac: [[https:// | ||
Follow the cmake instructions, | Follow the cmake instructions, | ||
+ | |||
+ | ==== Visual Studio Project Settings ==== | ||
+ | |||
+ | Open a New Project -> Win32 Console Application | ||
+ | |||
+ | Go to Project ‘Properties’ : | ||
+ | |||
+ | -- Add C:\Program Files\OpenAL 1.1 SDK\include to C++ -> General -> Additional Include Directories | ||
+ | -- Add C:\Program Files\OpenAL 1.1 SDK\libs\Win32 to Linker -> General -> Additional Library Directories | ||
+ | -- Add OpenAL32.lib at the end to Linker -> Input -> Additional Dependencies | ||
+ | |||
+ | In your source code, you'll need | ||
+ | |||
+ | #include " | ||
+ | |||
+ | #include " | ||
+ | |||
+ | For alut, it's best to copy alut.dll in the project directory, and | ||
+ | |||
+ | #include " | ||
+ | |||
+ | If you like, you can start with this {{: | ||
==== Useful links ==== | ==== Useful links ==== | ||
Line 15: | Line 41: | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | [[https:// |
assignments/a3.1541439882.txt.gz · Last modified: 2018/11/05 17:44 by bil