1
General / Re: 64bit make in Android fails
« on: April 12, 2019, 09:55:29 am »
Please any update on this? Since August 2019 cannot be published any android application without included 64bit binaries...
I face similar problem :
-- Android: Targeting API '21' with architecture 'arm64', ABI 'arm64-v8a', and processor 'aarch64'
-- Android: Selected GCC toolchain 'aarch64-linux-android-4.9'
-- The C compiler identification is GNU 4.9.0
-- The CXX compiler identification is GNU 4.9.0
-- Check for working C compiler: /home/UX/PCux/workspace/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-gcc
-- Check for working C compiler: /home/UX/PCux/workspace/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/UX/PCux/workspace/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++
-- Check for working CXX compiler: /home/UX/PCux/workspace/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenAL (missing: OPENAL_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.14/Modules/FindOpenAL.cmake:97 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/Macros.cmake:398 (find_package)
src/SFML/Audio/CMakeLists.txt:69 (sfml_find_package)
EDIT : I made 64bit arm build without audio, just now I do not need it. For graphics I needed libfreetypefont.a which I found here :
https://github.com/fan-ADN/nendSDK-cocos2d-x/blob/master/CocosNendSample/cocos2d/external/freetype2/prebuilt/android/arm64-v8a/libfreetype.a
I created new folder arm64_v8a in ths folder and placed there libfreetype.a
https://github.com/SFML/SFML/tree/master/extlibs/libs-android/
Then I was able build arm8, now I will go to try it, hope it will not crash
I face similar problem :
-- Android: Targeting API '21' with architecture 'arm64', ABI 'arm64-v8a', and processor 'aarch64'
-- Android: Selected GCC toolchain 'aarch64-linux-android-4.9'
-- The C compiler identification is GNU 4.9.0
-- The CXX compiler identification is GNU 4.9.0
-- Check for working C compiler: /home/UX/PCux/workspace/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-gcc
-- Check for working C compiler: /home/UX/PCux/workspace/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/UX/PCux/workspace/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++
-- Check for working CXX compiler: /home/UX/PCux/workspace/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenAL (missing: OPENAL_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.14/Modules/FindOpenAL.cmake:97 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/Macros.cmake:398 (find_package)
src/SFML/Audio/CMakeLists.txt:69 (sfml_find_package)
EDIT : I made 64bit arm build without audio, just now I do not need it. For graphics I needed libfreetypefont.a which I found here :
https://github.com/fan-ADN/nendSDK-cocos2d-x/blob/master/CocosNendSample/cocos2d/external/freetype2/prebuilt/android/arm64-v8a/libfreetype.a
I created new folder arm64_v8a in ths folder and placed there libfreetype.a
https://github.com/SFML/SFML/tree/master/extlibs/libs-android/
Then I was able build arm8, now I will go to try it, hope it will not crash