I have the Netbeans IDE installed on my Ubuntu machine. I have the libopenal-dev
installed trough the console and I can confirm the header files are in place.
How do I configure Netbeans to build a program with OpenAL? Like do I need to set extra Linker Libraries (which I would expect) and where would those be located?
Its always informative to start off with a new library like openal by compiling manually at the command line. Here is a simple example :
g++ -o play_openal play_openal.cpp -lopenal
Notice the mention of -lopenal to pull in the openal library.
In your IDE add :
openal
to list of Linker Libraries.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.