   OpenAL linker error
  Hi all,I'm in the process of hooking up OpenAL. I've written a basic audio manager that should set up a valid OpenAL context, and included the relevant headers (<al.h> and <alc.h>). I'm running into linker errors however:1>Audio.obj : error LNK2019: unresolved external symbol __imp__alGetError referenced in function "private: enum AudioManager::AudioManagerError __thiscall AudioManager::CreateOpenALContext(void)" (?CreateOpenALContext@AudioManager@@AAE?AW4AudioManagerError@1@XZ)1>Audio.obj : error LNK2019: unresolved external symbol __imp__alcMakeContextCurrent referenced in function "private: enum AudioManager::AudioManagerError __thiscall AudioManager::CreateOpenALContext(void)" (?CreateOpenALContext@AudioManager@@AAE?AW4AudioManagerError@1@XZ)1>Audio.obj : error LNK2019: unresolved external symbol __imp__alcCreateContext referenced in function "private: enum AudioManager::AudioManagerError __thiscall AudioManager::CreateOpenALContext(void)" (?CreateOpenALContext@AudioManager@@AAE?AW4AudioManagerError@1@XZ)1>Audio.obj : error LNK2019: unresolved external symbol __imp__alcOpenDevice referenced in function "private: enum AudioManager::AudioManagerError __thiscall AudioManager::CreateOpenALContext(void)" (?CreateOpenALContext@AudioManager@@AAE?AW4AudioManagerError@1@XZ)1>Audio.obj : error LNK2019: unresolved external symbol __imp__alcCloseDevice referenced in function "private: enum AudioManager::AudioManagerError __thiscall AudioManager::DestroyOpenALContext(void)" (?DestroyOpenALContext@AudioManager@@AAE?AW4AudioManagerError@1@XZ)1>Audio.obj : error LNK2019: unresolved external symbol __imp__alcDestroyContext referenced in function "private: enum AudioManager::AudioManagerError __thiscall AudioManager::DestroyOpenALContext(void)" (?DestroyOpenALContext@AudioManager@@AAE?AW4AudioManagerError@1@XZ)1>Audio.obj : error LNK2019: unresolved external symbol __imp__alcGetContextsDevice referenced in function "private: enum AudioManager::AudioManagerError __thiscall AudioManager::DestroyOpenALContext(void)" (?DestroyOpenALContext@AudioManager@@AAE?AW4AudioManagerError@1@XZ)1>Audio.obj : error LNK2019: unresolved external symbol __imp__alcGetCurrentContext referenced in function "private: enum AudioManager::AudioManagerError __thiscall AudioManager::DestroyOpenALContext(void)" (?DestroyOpenALContext@AudioManager@@AAE?AW4AudioManagerError@1@XZ)I'm not using ALUT, just the basic OpenAL library. I'm running Win32 Vista and using Visual Studio 2005. All of the sources I've looked at indicate that I'm not including the OpenAL library, however as far as I can see I'm including all relevant folders. I've gone to Tools -> Options -> Projects and Solutions -> VC++ Directories. Under the "Include files" option I've added:C:\Program Files\OpenAL 1.1 SDK\includeUnder "Library files" I've added:C:\Program Files\OpenAL 1.1 SDK\libs\Win32What else am I missing?   
  Are you actually linking the library?Right click on the project, select properties and look in linker options.   ;  Yup, that's the step I missed. To clarify, in addition to the steps above:- Right click the project that needs OpenAL, select "Properties".- Go to: Configuration Properties -> Linker -> General- Add "C:\Program Files\OpenAL 1.1 SDK\libs\Win32" (or where ever your openal sdk is installed to) to Additional Library Directories. Note: remember to add the "" around the string.- Go to: Configuration Properties -> Linker -> Input- Add "OpenAL32.lib" to Additional Dependencies. (No "" required this time).Hope this helps someone else one day :) Thanks for your suggestion Dog!   