2015-02-09

I swear, no matter what I do, no matter where I place the dammed libraries, it just won't f-ing work!!!  If there's one platform I absolutely HATE dev'ing for, it's Android!

Okay, I'm trying to link OpenAL-Soft with my game.  I have the libraries all setup in the appropriate directories (in my project's directory) and they just won't link.  This is my Android.mk file so far:

I've been at this for weeks, and nothing I try works.  Why do such simple tasks have to be unbearable when dealing with Android?  For crying out loud, even iOS, WP8 AND Blackberry are less painful than this!  I'm sorry, but this is really irritating, and I have far too many Android users to disappoint.

If it helps, I attached the OpenAL-soft headers and library files I'm using.  There's two different ones, but neither of them are working.

Shogun.

EDIT2: Forgot the actual error messages:

error: cannot find -lopenal Looptil C/C++ Problem

Member 'timer' was not initialized in this constructor game.h /Looptil/source line 289 Code Analysis Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::uninit():jni/../../../../source/aldrv.cpp:82: error: undefined reference to 'alcDestroyContext' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::uninit():jni/../../../../source/aldrv.cpp:90: error: undefined reference to 'alcCloseDevice' LooptilC/C++ Problem

unused parameter 'size' [-Wunused-parameter] aldrv.cpp /Looptil/source line 149 C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::init():jni/../../../../source/aldrv.cpp:71: error: undefined reference to 'alGetError' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::uninit():jni/../../../../source/aldrv.cpp:81: error: undefined reference to 'alcMakeContextCurrent' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::init():jni/../../../../source/aldrv.cpp:58: error: undefined reference to 'alcCloseDevice' LooptilC/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::init():jni/../../../../source/aldrv.cpp:64: error: undefined reference to 'alcMakeContextCurrent' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::init():jni/../../../../source/aldrv.cpp:47: error: undefined reference to 'alcOpenDevice' LooptilC/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::init():jni/../../../../source/aldrv.cpp:55: error: undefined reference to 'alcCreateContext' LooptilC/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::create_sound_wav_from_memory(unsigned char*, long, sound_t**):jni/../../../../source/aldrv.cpp:323: error: undefined reference to 'alSourcefv' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::create_sound_wav_from_memory(unsigned char*, long, sound_t**):jni/../../../../source/aldrv.cpp:324: error: undefined reference to 'alSourcefv' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::create_sound_wav_from_memory(unsigned char*, long, sound_t**):jni/../../../../source/aldrv.cpp:321: error: undefined reference to 'alSourcef' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::create_sound_wav_from_memory(unsigned char*, long, sound_t**):jni/../../../../source/aldrv.cpp:322: error: undefined reference to 'alSourcef' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::create_sound_wav_from_memory(unsigned char*, long, sound_t**):jni/../../../../source/aldrv.cpp:308: error: undefined reference to 'alBufferData' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::create_sound_wav_from_memory(unsigned char*, long, sound_t**):jni/../../../../source/aldrv.cpp:320: error: undefined reference to 'alSourcei' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::create_sound_wav_from_memory(unsigned char*, long, sound_t**):jni/../../../../source/aldrv.cpp:165: error: undefined reference to 'alGenBuffers' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::create_sound_wav_from_memory(unsigned char*, long, sound_t**):jni/../../../../source/aldrv.cpp:169: error: undefined reference to 'alGenSources' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_open:jni/../../../../source/wavstream.c:131: error: undefined reference to 'alBufferData' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_open:jni/../../../../source/wavstream.c:129: error: undefined reference to 'alBufferData' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_open:jni/../../../../source/wavstream.c:127: error: undefined reference to 'alBufferData' Looptil C/C++ Problem

Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details. AndroidManifest.xml /Looptil line 7 Android Lint Problem

when initialized here [-Wreorder] game.cpp /Looptil/source line 318 C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_open:jni/../../../../source/wavstream.c:59: error: undefined reference to 'alDeleteBuffers' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_open:jni/../../../../source/wavstream.c:58: error: undefined reference to 'alDeleteSources' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_open:jni/../../../../source/wavstream.c:28: error: undefined reference to 'alGenSources' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_open:jni/../../../../source/wavstream.c:27: error: undefined reference to 'alGenBuffers' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/aldrv.o: in function aldrv_t::create_sound_wav_from_memory(unsigned char*, long, sound_t**):jni/../../../../source/aldrv.cpp:325: error: undefined reference to 'alSourcei' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_update:jni/../../../../source/wavstream.c:261: error: undefined reference to 'alSourceUnqueueBuffers' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_update:jni/../../../../source/wavstream.c:249: error: undefined reference to 'alGetSourcei' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_close:jni/../../../../source/wavstream.c:182: error: undefined reference to 'alDeleteBuffers' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_close:jni/../../../../source/wavstream.c:181: error: undefined reference to 'alDeleteSources' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_close:jni/../../../../source/wavstream.c:178: error: undefined reference to 'alGetSourcei' Looptil C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_open:jni/../../../../source/wavstream.c:138: error: undefined reference to 'alDeleteBuffers' Looptil C/C++ Problem

unused parameter 'fullscreen' [-Wunused-parameter] game.cpp /Looptil/source line 221 C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_open:jni/../../../../source/wavstream.c:137: error: undefined reference to 'alDeleteSources' Looptil C/C++ Problem

unused parameter 'touch' [-Wunused-parameter] game.cpp /Looptil/source line 214 C/C++ Problem

./obj/local/armeabi-v7a/objs/Looptil/__/__/__/__/source/wavstream.o: in function wavestream_open:jni/../../../../source/wavstream.c:134: error: undefined reference to 'alGetError' Looptil C/C++ Problem

Show more