Public Group

# OpenAL installation

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

## Recommended Posts

Ok ill be blunt. Can anyone help me install the OpenAL lib's, dll's, and headers. I got the SDK, but it has LOADS of directories such as "objfre" or "objchk". All of them have simmilar files, but they are different sizes. I dont know where to put these files, much less which files are right for me. If anyone here uses OpenAL could they help me out, or like tell me where i can get the right files from. I am using Dev-C++ under windows. PS. if anyone wants to mail me the files or something. My email is cwal[delete]kris@hotmail.com. EDIT: Btw, if you think i am crossposting in the music & sound forum, i am not. I deleted the old post as it got no answers.

##### Share on other sites
You can put them wherever you like, as long as you link to them correctly in your code.

For example:

#pragma comment (lib,"C:/OpenAL/Directory/lib/openal.lib")#include "C:/OpenAL/Directory/include/openal.h"

Although your favourite IDE should provide a way of adding to a list directories to look in for things like headers and libraries so you can say something like:

#pragma comment (lib,"openal.lib")#include <openal.h>

In MSVC++6 it's under Tools->Options->Directories.

Hope this helps.

Edit: I used this installer, if that helps.

##### Share on other sites
I know i hav to add iles like alc.lib alut.lib.
but there are over 20 files with those names, and i dont know which one to use.

##### Share on other sites
You would normally only ever use the alut.lib and/or openal32.lib libraries and you would normally only ever include al.h, alc.h and/or alut.h.

The sample project that is bundled with the installer I linked to above should get you going.

##### Share on other sites
Thank u firenet & cheesemonger. Uve been a great help.

*bumps rating*

• 18
• 21
• 12
• 21
• 16