-
OpenAL issues
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.
-
It seems to me that you are not linking with the correct .lib files. If you dont know how to add files to link with please post back with which version of compiler you have (looking at your error I assume it is some version of Visual C++).
-
Yeah i'm retarded... Just needed to pragma comment the libs... I'm good at overlooking little things like that.. lol...