Jump to content
  • Advertisement
Sign in to follow this  
Kris2456

OpenAL installation

This topic is 4999 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

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 this post


Link to post
Share on other sites
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.

Share this post


Link to post
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 this post


Link to post
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 this post


Link to post
Share on other sites
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

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!