Jump to content
  • Advertisement


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


OpenAL setup

This topic is 5443 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 all, firstly I would like to say sorry if I have come to the wrong forum. Recently I have just grabbed the whole OpenAL stuff from creative.com. My problem is that, my MSVC throwed me lots of errors when I tried to compile some OpenAL-based codes: -> 14 errors Unresolved external symbol __alGet.... blah blah things like that. My guess is the compiler is not able to find the included files in the header section. Thank you. p/s: I saw a couple of directories named Lib and Header under the installed OpenAL dir. [edited by - janhouse00 on January 16, 2004 2:22:08 AM]

Share this post

Link to post
Share on other sites
I assume your using MSVC 6.0, try going into
Tools -> Options -> Directories tab and use the drop down lists to set the include and library directories to also point to the location where the OpenAL folders were installed.

the do something like this in your code

#pragma comment(lib, "openal32.lib")
#pragma comment(lib, "alut.lib")

#include <al.h>
#include <alc.h>
#include <alu.h>
#include <alut.h>
#include <alctypes.h>

[edited by - NumberXaero on January 16, 2004 2:34:05 AM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!