Hey.
I'm trying to use OpenAL with my OpenGL app. I have downloaded the latest SDK from the OpenAL website. I compiled a program similar to the one
here and got these errors:
Error 1 error C3861: 'alutLoadWAVFile': identifier not found
e:\uni\2009 01\csp2307 introduction to 3d game programming\assessments\ass2\audio_cache.cpp 95
Error 2 error C3861: 'alutUnloadWAV': identifier not found
e:\uni\2009 01\csp2307 introduction to 3d game programming\assessments\ass2\audio_cache.cpp 117
So I did some googling and realised that I may need the ALUT installation. I downloaded it from the same site and included it in my code, compiled the program again and get these errors:
Warning 1 warning C4996: 'alutLoadWAVFile' was declared deprecated
e:\uni\2009 01\csp2307 introduction to 3d game programming\assessments\ass2\audio_cache.cpp 96
Warning 2 warning C4996: 'alutUnloadWAV' was declared deprecated
e:\uni\2009 01\csp2307 introduction to 3d game programming\assessments\ass2\audio_cache.cpp 117
Error 3 error LNK2019: unresolved external symbol
__imp__alutUnloadWAV referenced in function "private: unsigned int __thiscall Audio_Cache::Load_Audio(char * const)" (?Load_Audio@Audio_Cache@@AAEIQAD@Z) Audio_Cache.obj
Error 4 error LNK2019: unresolved external symbol
__imp__alutLoadWAVFile referenced in function "private: unsigned int __thiscall Audio_Cache::Load_Audio(char * const)" (?Load_Audio@Audio_Cache@@AAEIQAD@Z) Audio_Cache.obj
From more googling, I read that I needed alut.lib, but it didn't come with my OpenAL SDK nor the ALUT installation. I have no idea what to do now...
Does anybody know what's going on here?
Cheers.