Archived

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

janhouse00

OpenAL setup

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