I get errors like these :
Code: Select all
In file included from alreverb.c:42:0:
common/alhelpers.h:29:48: erreur: unknown type name ‘LPALISBUFFERFORMATSUPPORTEDSOFT’
alreverb.c:46:1: erreur: unknown type name ‘LPALBUFFERSAMPLESSOFT’
alreverb.c:103:9: note: expected ‘ALfloat *’ but argument is of type ‘const float *’
After the "getting mad" time I found the caudio wrapper and tried to build it as explained :
Code: Select all
cmake ../ -DCAUDIO_DEPENDENCIES_DIR=../Dependencies/
Code: Select all
make -j4
Code: Select all
../../cAudio/libcAudio.so: error: undefined reference to 'pthread_mutexattr_init'
../../cAudio/libcAudio.so: error: undefined reference to 'pthread_mutexattr_settype'
../../cAudio/libcAudio.so: error: undefined reference to 'pthread_mutexattr_destroy'
../../cAudio/libcAudio.so: error: undefined reference to 'dlerror'
../../cAudio/libcAudio.so: error: undefined reference to 'dlclose'
../../cAudio/libcAudio.so: error: undefined reference to 'dlopen'
../../cAudio/libcAudio.so: error: undefined reference to 'dlsym'
../../cAudio/libcAudio.so: error: undefined reference to 'pthread_join'
../../cAudio/libcAudio.so: error: undefined reference to 'pthread_create'
It would spare me a lot of pain if someone knew what (certainly stupid) mistakes I'm doing.
edit : btw I'm on ubuntu 12.04 lts