Sign in to follow this  

openal linux linker question

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

It's a stupid queston... I'm trying to compile some openal code under linux and I don't know what is the library name which I should link my objects with. I tried -lopenal, but it doesn't work. What is the name of the openal lib in linux? Thanx for help

Share this post


Link to post
Share on other sites
Quote:
Original post by glJack
It's a stupid queston... I'm trying to compile some openal code under linux and I don't know what is the library name which I should link my objects with. I tried -lopenal, but it doesn't work. What is the name of the openal lib in linux?

Thanx for help


Perhaps a neat online tutorial is what you need. Unfortunately I dont have a link for you.

Share this post


Link to post
Share on other sites
SiCrane
Yes, I'm sure. I have all include files in /usr/include, I just don't know what are the names of the corresponding compiled objects

Share this post


Link to post
Share on other sites
thanx everyone, -lopenal is fine. I downloaded openal, built and installed it myself and now it works. I don't know what the problem was. I even had libopenal.so.0 in my /usr/lib dir (I have SUSE linux 10.0 and openal is included by default), but the linker didn't see it for some reason.

Dizzy, maybe pkg-config --libs openal would help, but I've allready reinstalled it, so can't try this.

Thanx to all again

Share this post


Link to post
Share on other sites

This topic is 4162 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this