Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
export NDEBUG=; \
export BUILD_TYPE=debug; \
make apk
make[1]: Entering directory '/home/hello/minetest/build/android'
changed timestamp for freetype detected building...
/bin/sh: 15: /ndk-build: not found
Makefile:402: recipe for target '/home/hello/minetest/build/android/deps/freetype2-android//Android/obj/local/armeabi-v7a/libfreetype2-static.a' failed
make[1]: *** [/home/hello/minetest/build/android/deps/freetype2-android//Android/obj/local/armeabi-v7a/libfreetype2-static.a] Error 1
make[1]: Leaving directory '/home/hello/minetest/build/android'
Makefile:157: recipe for target 'debug' failed
make: *** [debug] Error 2
:(
I think the problem is that it can't find the ndk, I can't figure out how to re-enter the path to the ndk (which I did do the first time, perhaps incorrectly.) And it looks like some file failed to build for some obscure reason that is beyond my comprehension. Anyways it would be great if someone could help me figure this stuff out for me, otherwise my few hours of work on this will all be moot.
Edit: I re-cloned the git and then ran the make command, it currently is building right now (It's taking forever).
Edit: done building, got this error
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
jni/../jni/src/guiFormSpecMenu.cpp:3034: error: undefined reference to 'JoystickController::handleEvent(irr::SEvent::SJoystickEvent const&)'
jni/src/game.h:106: error: undefined reference to 'JoystickController::JoystickController()'
jni/src/client/inputhandler.h:72: error: undefined reference to 'JoystickController::handleEvent(irr::SEvent::SJoystickEvent const&)'
jni/src/client/inputhandler.h:303: error: undefined reference to 'JoystickController::clear()'
jni/../jni/src/cguittfont/CGUITTFont.cpp:554: error: undefined reference to 'EnrichedString::getColors() const'
jni/../jni/src/cguittfont/CGUITTFont.cpp:583: error: undefined reference to 'EnrichedString::getString() const'
collect2: error: ld returned 1 exit status
/home/hello/Android/android-ndk-r11c/build/core/build-binary.mk:665: recipe for target 'obj/local/armeabi-v7a/libminetest.so' failed
make[2]: *** [obj/local/armeabi-v7a/libminetest.so] Error 1
make[2]: Leaving directory '/home/hello/minetest/build/android'
Makefile:755: recipe for target 'apk' failed
make[1]: *** [apk] Error 1
make[1]: Leaving directory '/home/hello/minetest/build/android'
Makefile:157: recipe for target 'debug' failed
make: *** [debug] Error 2