Jump to content
  • Advertisement
Sign in to follow this  
glJack

openal linux linker question

This topic is 4354 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
Advertisement
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
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!