HI
I'm trying to build sfml for android.
I invoke cmake with the following command:
cmake -DCMAKE_SYSTEM_NAME=Android -DCMAKE_TOOLCHAIN_FILE=/home/stav/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DCMAKE_ANDROID_NDK=/home/stav/Android/Sdk/ndk-bundle/ -DCMAKE_ANDROID_ARCH_ABI=x86 -DCMAKE_ANDROID_STL_TYPE=c++_static -DCMAKE_BUILD_TYPE=Debug ../..
but im getting this error:
CMake Error at /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.12/Modules/FindOpenAL.cmake:96 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/Macros.cmake:398 (find_package)
src/SFML/Audio/CMakeLists.txt:69 (sfml_find_package)
even though i have installed all the dependencies (including OpenAL)
can someone help me?