1
General / Re: CMake android build errors
« on: March 22, 2019, 09:34:36 pm »
Ah yes thank you i didn't notice that.
This explains the first error but im still getting the "no toolchain found" error:
Even though there is a folder called arch-x86_64 under {NDK}/platforms/android-28 ?
(As well as that there is also a folder called x86_64-4.9 under {NDK}/toolschains, So i definitely do have the toolchain)
This explains the first error but im still getting the "no toolchain found" error:
Code: [Select]
-- Android: Targeting API '28' with architecture 'x86_64', ABI 'x86_64', and processor 'x86_64'
CMake Error at /usr/share/cmake-3.12/Modules/Platform/Android/Determine-Compiler-NDK.cmake:97 (message):
Android: No toolchain for ABI 'x86_64' found in the NDK:
/home/stav/Android/Sdk/ndk-bundle
Call Stack (most recent call first):
/usr/share/cmake-3.12/Modules/Platform/Android/Determine-Compiler.cmake:39 (include)
/usr/share/cmake-3.12/Modules/Platform/Android-Determine-C.cmake:1 (include)
/usr/share/cmake-3.12/Modules/CMakeDetermineCCompiler.cmake:27 (include)
CMakeLists.txt:45 (project)
Even though there is a folder called arch-x86_64 under {NDK}/platforms/android-28 ?
(As well as that there is also a folder called x86_64-4.9 under {NDK}/toolschains, So i definitely do have the toolchain)