commandergenius
commandergenius copied to clipboard
Teewords build error
I'm using latest Android SDK and NDK r16b. Tried to build with these commands:
- git submodule update --init project/jni/application/teeworlds/src
- rm project/jni/application/src # ignore the error
- ln -s teeworlds project/jni/application/src
- ./changeAppSettings.sh -a
- android update project -p project # It doesn't work anymore
- ./build.sh
But get an error:
Building teeworlds_srv for armeabi-v7a src/engine/shared/network.cpp In file included from src/base/system.h:11:0, from src/engine/shared/network.cpp:3: src/base/detect.h:88:22: fatal error: endian.h: No such file or directory #include <endian.h> ^ compilation terminated. AndroidPreBuild.sh returned with error
But endian.h file is present on NDK includes folder.