Archived

This topic is now archived and is closed to further replies.

Slyde160

OpenAL issues

Recommended Posts

I''m currently attempting to learn how to use OpenAL. I''m having a problem with the linking. I''ve included the following files: #include <al.h> #include <alc.h> #include <alu.h> #include <alut.h> I''ve made sure that I added the libs and include folders for OpenAL. I can compile the demos that come with OpenAL. Anyone have any ideas to help fix my error? So far the only function call I have for OpenAL is alutInit(0, NULL); This is my error: OpenAL error LNK2019: unresolved external symbol _alutInit referenced in function "public: int __thiscall COpenAL::OpenALInit(void)" (?OpenALInit@COpenAL@@QAEHXZ) Any help would be appreciated. Greg Stambaugh

Share this post


Link to post
Share on other sites
Yeah it was a simple fix that i totally overlooked.... just needed to pragma comment the libs... must not be getting enough sleep or something..

Share this post


Link to post
Share on other sites