Reputation: 35
I just started with OpenAL-Soft and tried to compile the code examples, especially the alhrtf.c
file using terminal command as:
g++ alhrtf.c -o hrtf -lalut -lal -lalc -lopenal -std=c++11
I got a bunch of error messages like:
alhrtf.c:161:28: error: ‘ALC_NUM_HRTF_SPECIFIERS_SOFT’ was not declared in this scope
It seems like I need to link the "hrtf" lib.
So my question is, what compiler flags do i have to set?
I'd be very grateful for some help.
Reference:
Upvotes: 2
Views: 552