OpenAL installation

Started by
4 comments, last by Kris2456 19 years, 6 months ago
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.
------------ "Here lies a toppled God,His fall was not a small one,We but built his pedastle,A narrow, and a tall one" Frank Herbert (Dune:Messiah)
Advertisement
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.
- CheeseMonger
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.
------------ "Here lies a toppled God,His fall was not a small one,We but built his pedastle,A narrow, and a tall one" Frank Herbert (Dune:Messiah)
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.
- CheeseMonger
Some google searches [smile]

http://www.google.com/search?hl=en&lr=&safe=off&q=Using+OpenAL+with+DevC%2B%2B&btnG=Search

http://www.google.com/search?hl=en&q=OpenAl+tutorials&btnG=Google+Search

http://www.google.com/search?hl=en&lr=&safe=off&q=DevC%2B%2B+OpenAL+&btnG=Search
______________________________________________________________________________________________________
[AirBash.com]
Thank u firenet & cheesemonger. Uve been a great help.

*bumps rating*
------------ "Here lies a toppled God,His fall was not a small one,We but built his pedastle,A narrow, and a tall one" Frank Herbert (Dune:Messiah)

This topic is closed to new replies.

Advertisement