I’ve got stuck trying to build Urho3D on latest Android Studio 2.3. Previous tutorials on how to build for Android are outdated, the command “android update project” is no longer supported. So I’ve imported the project as Eclipse project, then added a cmake step to the gradle script that builds the native library. Couple of problems appear:
CheckCompilerToolchain.cmake - check_extension and check_feature_enabled fail with error “Could not check compiler toolchain as it #does not handle ‘-E -dM’ compiler flags correctly”. If I comment out the FATAL_ERROR message, it compiles just fine. This happens with clang as default compiler, if I specify gcc, I get errors when linking - “relocation overflow in R_ARM_THM_CALL”.
Linker fails with undefined reference to armFuncR0, I turned of AngelScript just for the sake of compiling.
ThirdParty/ik/src/platform/linux/backtrace_linux.cpp can’t find
#include <execinfo.h>. Removing the include compiles fine.
Help much appreciated on bringing this up and running.