Jump to content
  • Advertisement
Sign in to follow this  

Having problem with OpenAL

This topic is 2408 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there,

I am making my first steps with OpenAL. I get the following error:

1>AudioManager.obj : error LNK2019: unresolved external symbol __imp__alcOpenDevice referenced in function "public: bool __thiscall AudioManager::initializeAudio(void)" (?initializeAudio@AudioManager@@QAE_NXZ)

I have only put the following code

#include <al.h>
#include <alc.h>


bool AudioManager::initializeAudio()
ALCdevice *dev;
ALCcontext *ctx;
struct stat statbuf;

// Create the device
dev = alcOpenDevice(NULL);
return false;


return false;

Of course, in my VC++ directory - Library file I have included:

C:\Users\Admin\Documents\Visual Studio 2008\librairies\OpenAL 1.1 SDK\libs\Win64

And in my project, I have put in Linker - Input - Additional Dependencies:


But it doesn't seem to work. Any help?


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!