I just downloaded the OpenAL library using the command sudo apt-get install libopenal1 libopenal-dev
, now I can't find where the library is on my system and how should it be linked with Eclipse. I am new to Ubuntu hence I am not familiar with how Ubuntu's file system works.
Thanks in Advance.
As far as I can tell, the libopenal-dev package installs its headers to /usr/include/AL/ so (since /usr/include is a standard search path) provided you include them as
<AL/whatever.h>
you should not need to do anything else.Similarly, the library goes in /usr/lib/x86_64-linux-gnu/ (or its 32-bit equivalent) so it should just be a matter of adding
openal
to the list of libraries in your project settings.FYI since the package appears to provide a .pc file, you can always run
pkg-config --cflags --libs
on the command line and copy the relevant flags and settings from there.