Android status and stable version to build for android?

Tablets / Phones / Consoles / Ouya

Moderator: ezraanderson

Android status and stable version to build for android?

Postby BacioiuC » Mon Aug 07, 2017 12:42 am

Hi everyone it's been a while.

I'm almost done with my 1 year break from game development. Had a huge burnout last year and I took some time off. Now I'm looking to get back into it and I plan on starting out by doing an Android release of my old jam game Roguesweeper. I stumbled upon Moaiforge SDK and I tried to use it to built for Android but there were problems during the build process regarding make files. Can anyone point me out towards a stable moai release that I can use to build for Android? Any up-to-date tutorial that I can follow?

Development environment is on ubuntu 16.10.

Thanks,
BacioiuC
User avatar
BacioiuC
 
Posts: 129
Joined: Thu Mar 28, 2013 7:12 am

Re: Android status and stable version to build for android?

Postby halfnelson » Tue Aug 08, 2017 3:57 pm

Welcome back!.
Ibisum has been having some luck with vavius' cloudteam branch https://github.com/cloudteampro/moai-dev
I am trying to keep moaiforge/community up to date, so any tickets on build errors are appreciated.

Latest branch is pull-180 (which has openssl removed and replaced with mbedtls) and a few fixes
git clone https://github.com/moai/moai-community --recursive
cd moai-community
git checkout pull-180

follow instructions here: https://github.com/moai/moai-community/ ... /README.md

Patrick has been doing some major changes for 2.0 which provide some nicer abstractions and cleanup some of the confusing bits so things have stalled a little waiting for that.

Hit patrick up for a slack invite if you want to ask quick questions etc
halfnelson
 
Posts: 710
Joined: Wed Jun 13, 2012 9:48 pm

Re: Android status and stable version to build for android?

Postby BacioiuC » Wed Aug 09, 2017 1:58 am

Hi halfnelson,

I can build the Linux version just fine! I have the NDK path supplied in the env-linux.sh script, I have JAVA_HOME setup and I can echo the correct path to the JDK. Android studio is also installed. When I run ./build-android.sh I get:

Code: Select all
  1.  

  2. /build-android.sh

  3. /home/zapa/Cipi/moai/android-ndk-r15c/:/home/zapa/bin:/home/zapa/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

  4. Builing libmoai

  5. ~/Cipi/moai/moai-community/sdk/moai/ant ~/Cipi/moai/moai-community/scripts

  6. Could not determine which script to use to build util/moai binary .. aborting

  7. Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-14.    

  8. /home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/jni/Android.mk:244: libraries.mk: No such file or directory

  9. /home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/jni/Android.mk:244: libraries.mk: No such file or directory

  10. /home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/jni/Android.mk:244: libraries.mk: No such file or directory

  11. /home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/jni/Android.mk:244: libraries.mk: No such file or directory

  12. /home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/jni/Android.mk:244: libraries.mk: No such file or directory

  13. /home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/jni/Android.mk:244: libraries.mk: No such file or directory

  14. /home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/jni/Android.mk:244: libraries.mk: No such file or directory

  15. make: *** No rule to make target `libraries.mk'.  Stop.

  16. Android NDK build failed

  17. cp: cannot stat 'libmoai/libs/': No such file or directory

  18. ./build-android.sh: line 27: cd: libmoai/obj: No such file or directory

  19. tar: This does not look like a tar archive

  20. tar: Exiting with failure status due to previous errors

  21. ~/Cipi/moai/moai-community/scripts

  22.  

User avatar
BacioiuC
 
Posts: 129
Joined: Thu Mar 28, 2013 7:12 am

Re: Android status and stable version to build for android?

Postby halfnelson » Wed Aug 09, 2017 3:16 am

Ah,

Yes, well the downside of linux build support being booted from main repo, is that we have 2 copies of this pito helper, the one in the moai-dev main sdk (libmoai) and the one in the community repo that supports building for linux/html and host projects.

The quick fix for you is to copy the moai binary in your moai-community/bin/moai folder and drop it in moai-community/sdk/moai/util folder so the moai-sdk version of pito can find it :(.

It is not an ideal situation, but it should get you over this hurdle ( i kind of miss moaicli )
halfnelson
 
Posts: 710
Joined: Wed Jun 13, 2012 9:48 pm

Re: Android status and stable version to build for android?

Postby BacioiuC » Wed Aug 09, 2017 3:29 am

Moaicli was the first thing I searched for when I wanted to kick off with MOAI again :).

Did the changes, here's the next blocker:
Code: Select all
  1.  

  2. zapa@CiprianB-Aspire-7745:~/Cipi/moai/moai-community$ ./scripts/build-android.sh

  3. /home/zapa/Cipi/moai/android-ndk-r15c/:/home/zapa/bin:/home/zapa/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

  4. Builing libmoai

  5. ~/Cipi/moai/moai-community/sdk/moai/ant ~/Cipi/moai/moai-community

  6. &#91;armeabi-v7a&#93; Compile++ thumb: moai <= jni.cpp

  7. &#91;armeabi-v7a&#93; Compile++ thumb: moai <= aku_modules_android.cpp

  8. &#91;armeabi-v7a&#93; Compile++ thumb: moai <= aku_modules.cpp

  9. &#91;armeabi-v7a&#93; Compile++ thumb: moai <= aku_modules_util.cpp

  10. &#91;armeabi-v7a&#93; Compile++ thumb: moai <= aku_plugins.cpp

  11. &#91;armeabi-v7a&#93; Compile++ arm  : moai-adcolony <= host.cpp

  12. &#91;armeabi-v7a&#93; Compile++ arm  : moai-adcolony <= MOAIAdColonyAndroid.cpp

  13. &#91;armeabi-v7a&#93; Compile++ arm  : moai-chartboost <= host.cpp

  14. &#91;armeabi-v7a&#93; Compile++ arm  : moai-chartboost <= MOAIChartBoostAndroid.cpp

  15. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-android-adcolony/host.cpp:7:

  16. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/headers.h:9:

  17. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILua.h:15:

  18. /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILuaLocal.h:30:40: error: 'GetRef' is a private member of

  19.       'MOAILuaRuntime'

  20.                         this->mRef = MOAILuaRuntime::Get ().GetRef ( state, -1, false );

  21.                                                             ^

  22. /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILuaRuntime.h:133:11: note: declared private here

  23.         int                                             GetRef                                  ( MOAILuaState& state, i...

  24.                                                         ^

  25. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-android-adcolony/MOAIAdColonyAndroid.cpp:5:

  26. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-sim/pch.h:4:

  27. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/headers.h:9:

  28. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILua.h:15:

  29. /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILuaLocal.h:30:40: error: 'GetRef' is a private member of

  30.       'MOAILuaRuntime'

  31.                         this->mRef = MOAILuaRuntime::Get ().GetRef ( state, -1, false );

  32.                                                             ^

  33. /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILuaRuntime.h:133:11: note: declared private here

  34.         int                                             GetRef                                  ( MOAILuaState& state, i...

  35.                                                         ^

  36. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-android-chartboost/host.cpp:5:

  37. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-android/JniUtils.h:8:

  38. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-sim/pch.h:4:

  39. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/headers.h:9:

  40. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILua.h:15:

  41. /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILuaLocal.h:30:40: error: 'GetRef' is a private member of

  42.       'MOAILuaRuntime'

  43.                         this->mRef = MOAILuaRuntime::Get ().GetRef ( state, -1, false );

  44.                                                             ^

  45. /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILuaRuntime.h:133:11: note: declared private here

  46.         int                                             GetRef                                  ( MOAILuaState& state, i...

  47.                                                         ^

  48. 1 error generated.

  49. make: *** &#91;/home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/obj/local/armeabi-v7a/objs/moai-chartboost//home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-android-chartboost/host.o&#93; Error 1

  50. make: *** Waiting for unfinished jobs....

  51. 1 error generated.

  52. make: *** &#91;/home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/obj/local/armeabi-v7a/objs/moai-adcolony//home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-android-adcolony/MOAIAdColonyAndroid.o&#93; Error 1

  53. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-android-chartboost/MOAIChartBoostAndroid.cpp:5:

  54. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-sim/pch.h:4:

  55. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/headers.h:9:

  56. In file included from /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILua.h:15:

  57. /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILuaLocal.h:30:40: error: 'GetRef' is a private member of

  58.       'MOAILuaRuntime'

  59.                         this->mRef = MOAILuaRuntime::Get ().GetRef ( state, -1, false );

  60.                                                             ^

  61. /home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-core/MOAILuaRuntime.h:133:11: note: declared private here

  62.         int                                             GetRef                                  ( MOAILuaState& state, i...

  63.                                                         ^

  64. 1 error generated.

  65. make: *** &#91;/home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/obj/local/armeabi-v7a/objs/moai-chartboost//home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-android-chartboost/MOAIChartBoostAndroid.o&#93; Error 1

  66. 1 error generated.

  67. make: *** &#91;/home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/obj/local/armeabi-v7a/objs/moai-adcolony//home/zapa/Cipi/moai/moai-community/sdk/moai/src/moai-android-adcolony/host.o&#93; Error 1

  68. Android NDK build failed

  69. tar: This does not look like a tar archive

  70. tar: Exiting with failure status due to previous errors

  71. ~/Cipi/moai/moai-community

  72.  

  73.  



Setting GetRef to public does not help as it spurs out, before compilation:
Code: Select all
  1.  

  2. &#91;armeabi-v7a&#93; Compile arm    : ogg <= bitwise.c

  3. &#91;armeabi-v7a&#93; Compile arm    : ogg <= framing.c

  4. &#91;armeabi-v7a&#93; Compile++ arm  : pvr <= PVRTDecompress.cpp

  5. &#91;armeabi-v7a&#93; Compile++ arm  : pvr <= PVRTError.cpp

  6. &#91;armeabi-v7a&#93; Compile++ arm  : pvr <= PVRTTexture.cpp

  7. &#91;armeabi-v7a&#93; Compile arm    : freetype <= autofit.c

  8. &#91;armeabi-v7a&#93; Compile arm    : freetype <= bdf.c

  9. &#91;armeabi-v7a&#93; Compile arm    : freetype <= cff.c

  10. &#91;armeabi-v7a&#93; Compile arm    : freetype <= ftbase.c

  11. /tmp/autofit-2772b3.s: Assembler messages:

  12. /tmp/autofit-2772b3.s:1803: Error: garbage following instruction -- `orr r7,r3,lsl#16'

  13. /tmp/autofit-2772b3.s:1890: Error: garbage following instruction -- `orr r5,lr,lsl#16'

  14. /tmp/autofit-2772b3.s:1983: Error: garbage following instruction -- `orr r1,r6,lsl#16'

  15. /tmp/autofit-2772b3.s:8393: Error: garbage following instruction -- `orr r3,r12,lsl#16'

  16. /tmp/autofit-2772b3.s:8419: Error: garbage following instruction -- `orr r3,r4,lsl#16'

  17. /tmp/autofit-2772b3.s:10669: Error: garbage following instruction -- `orr r2,r5,lsl#16'

  18. /tmp/autofit-2772b3.s:10793: Error: garbage following instruction -- `orr r4,r1,lsl#16'

  19. /tmp/autofit-2772b3.s:10829: Error: garbage following instruction -- `orr r1,r3,lsl#16'

  20. /tmp/autofit-2772b3.s:10883: Error: garbage following instruction -- `orr r3,r5,lsl#16'

  21. /tmp/autofit-2772b3.s:10907: Error: garbage following instruction -- `orr r3,r4,lsl#16'

  22. /tmp/autofit-2772b3.s:10940: Error: garbage following instruction -- `orr r3,r5,lsl#16'

  23. /tmp/autofit-2772b3.s:10979: Error: garbage following instruction -- `orr r7,r6,lsl#16'

  24. /tmp/autofit-2772b3.s:11250: Error: garbage following instruction -- `orr r0,r2,lsl#16'

  25. /tmp/autofit-2772b3.s:11513: Error: garbage following instruction -- `orr r0,r2,lsl#16'

  26. /tmp/autofit-2772b3.s:12229: Error: garbage following instruction -- `orr r1,r5,lsl#16'

  27. /tmp/autofit-2772b3.s:15371: Error: garbage following instruction -- `orr r7,r3,lsl#16'

  28. /tmp/autofit-2772b3.s:15832: Error: garbage following instruction -- `orr r0,r2,lsl#16'

  29. /tmp/autofit-2772b3.s:17813: Error: garbage following instruction -- `orr r1,r7,lsl#16'

  30. /tmp/autofit-2772b3.s:17844: Error: garbage following instruction -- `orr r3,r5,lsl#16'

  31. /tmp/autofit-2772b3.s:18048: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  32. /tmp/autofit-2772b3.s:18468: Error: garbage following instruction -- `orr r0,r6,lsl#16'

  33. /tmp/autofit-2772b3.s:18494: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  34. /tmp/autofit-2772b3.s:18721: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  35. /tmp/autofit-2772b3.s:18757: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  36. clang: error: assembler command failed with exit code 1 (use -v to see invocation)

  37. make: *** &#91;/home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/obj/local/armeabi-v7a/objs/freetype//home/zapa/Cipi/moai/moai-community/sdk/moai/3rdparty/freetype-2.4.4/src/autofit/autofit.o&#93; Error 1

  38. make: *** Waiting for unfinished jobs....

  39. /tmp/cff-c8c38f.s: Assembler messages:

  40. /tmp/cff-c8c38f.s:9758: Error: garbage following instruction -- `orr r7,r5,lsl#16'

  41. /tmp/cff-c8c38f.s:9777: Error: garbage following instruction -- `orr r7,r5,lsl#16'

  42. /tmp/cff-c8c38f.s:9805: Error: garbage following instruction -- `orr r1,r7,lsl#16'

  43. /tmp/cff-c8c38f.s:9825: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  44. /tmp/cff-c8c38f.s:19413: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  45. /tmp/cff-c8c38f.s:19462: Error: garbage following instruction -- `orr r1,r7,lsl#16'

  46. clang: error: assembler command failed with exit code 1 (use -v to see invocation)

  47. make: *** &#91;/home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/obj/local/armeabi-v7a/objs/freetype//home/zapa/Cipi/moai/moai-community/sdk/moai/3rdparty/freetype-2.4.4/src/cff/cff.o&#93; Error 1

  48. /tmp/ftbase-4897af.s: Assembler messages:

  49. /tmp/ftbase-4897af.s:1710: Error: garbage following instruction -- `orr r2,r5,lsl#16'

  50. /tmp/ftbase-4897af.s:1734: Error: garbage following instruction -- `orr r3,r4,lsl#16'

  51. /tmp/ftbase-4897af.s:1762: Error: garbage following instruction -- `orr r7,r1,lsl#16'

  52. /tmp/ftbase-4897af.s:1786: Error: garbage following instruction -- `orr r1,r4,lsl#16'

  53. /tmp/ftbase-4897af.s:1891: Error: garbage following instruction -- `orr r1,r7,lsl#16'

  54. /tmp/ftbase-4897af.s:1915: Error: garbage following instruction -- `orr r2,r5,lsl#16'

  55. /tmp/ftbase-4897af.s:1943: Error: garbage following instruction -- `orr r3,r4,lsl#16'

  56. /tmp/ftbase-4897af.s:1967: Error: garbage following instruction -- `orr r2,r4,lsl#16'

  57. /tmp/ftbase-4897af.s:3096: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  58. /tmp/ftbase-4897af.s:3342: Error: garbage following instruction -- `orr r12,lr,lsl#16'

  59. /tmp/ftbase-4897af.s:3366: Error: garbage following instruction -- `orr lr,r4,lsl#16'

  60. /tmp/ftbase-4897af.s:3390: Error: garbage following instruction -- `orr r8,r5,lsl#16'

  61. /tmp/ftbase-4897af.s:3414: Error: garbage following instruction -- `orr r9,r6,lsl#16'

  62. /tmp/ftbase-4897af.s:3438: Error: garbage following instruction -- `orr r10,r7,lsl#16'

  63. /tmp/ftbase-4897af.s:3462: Error: garbage following instruction -- `orr r5,r2,lsl#16'

  64. /tmp/ftbase-4897af.s:3486: Error: garbage following instruction -- `orr r2,r3,lsl#16'

  65. /tmp/ftbase-4897af.s:3514: Error: garbage following instruction -- `orr r0,r4,lsl#16'

  66. /tmp/ftbase-4897af.s:3615: Error: garbage following instruction -- `orr r1,r7,lsl#16'

  67. /tmp/ftbase-4897af.s:3635: Error: garbage following instruction -- `orr r2,r6,lsl#16'

  68. /tmp/ftbase-4897af.s:11158: Error: garbage following instruction -- `orr lr,r4,lsl#16'

  69. /tmp/ftbase-4897af.s:11182: Error: garbage following instruction -- `orr r3,r5,lsl#16'

  70. /tmp/ftbase-4897af.s:11210: Error: garbage following instruction -- `orr r8,r6,lsl#16'

  71. /tmp/ftbase-4897af.s:11234: Error: garbage following instruction -- `orr r6,r7,lsl#16'

  72. /tmp/ftbase-4897af.s:11430: Error: garbage following instruction -- `orr r12,lr,lsl#16'

  73. /tmp/ftbase-4897af.s:11454: Error: garbage following instruction -- `orr lr,r4,lsl#16'

  74. /tmp/ftbase-4897af.s:11478: Error: garbage following instruction -- `orr r6,r5,lsl#16'

  75. /tmp/ftbase-4897af.s:11506: Error: garbage following instruction -- `orr r1,r2,lsl#16'

  76. /tmp/ftbase-4897af.s:18840: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  77. /tmp/ftbase-4897af.s:18870: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  78. /tmp/ftbase-4897af.s:18897: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  79. /tmp/ftbase-4897af.s:18925: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  80. /tmp/ftbase-4897af.s:19704: Error: garbage following instruction -- `orr r9,r2,lsl#16'

  81. /tmp/ftbase-4897af.s:19729: Error: garbage following instruction -- `orr lr,r3,lsl#16'

  82. /tmp/ftbase-4897af.s:19771: Error: garbage following instruction -- `orr r0,r2,lsl#16'

  83. /tmp/ftbase-4897af.s:19800: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  84. /tmp/ftbase-4897af.s:19827: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  85. /tmp/ftbase-4897af.s:19855: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  86. /tmp/ftbase-4897af.s:20761: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  87. /tmp/ftbase-4897af.s:20790: Error: garbage following instruction -- `orr r7,r3,lsl#16'

  88. clang: error: assembler command failed with exit code 1 (use -v to see invocation)

  89. make: *** &#91;/home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/obj/local/armeabi-v7a/objs/freetype//home/zapa/Cipi/moai/moai-community/sdk/moai/3rdparty/freetype-2.4.4/src/base/ftbase.o&#93; Error 1

  90. Android NDK build failed

  91. tar: This does not look like a tar archive

  92. tar: Exiting with failure status due to previous errors

  93.  



Edit: Android NDK's version I tried using: android-ndk-r15c and android-ndk-r8e
User avatar
BacioiuC
 
Posts: 129
Joined: Thu Mar 28, 2013 7:12 am

Re: Android status and stable version to build for android?

Postby halfnelson » Wed Aug 09, 2017 5:53 am

hrm got it building on windows fine, using android-ndk-r12b

make sure that in the moai-community folder you are on is on the pull-180 branch
and was from moai/moai-community (not halfnelson/moai-community!)

git checkout pull-180
git submodule update --recursive

that GetRef bug was fixed
halfnelson
 
Posts: 710
Joined: Wed Jun 13, 2012 9:48 pm

Re: Android status and stable version to build for android?

Postby BacioiuC » Wed Aug 09, 2017 7:32 am

Was on the pull-180 branch and it's from moai-community. Re-compiled the linux version and tried Android again after doing another pull.

Current output:
Code: Select all
  1.  

  2. zapa@CiprianB-Aspire-7745:~/Cipi/moai/moai-community$ ./scripts/build-android.sh

  3. /home/zapa/Cipi/moai/android-ndk-r15c/:/home/zapa/bin:/home/zapa/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

  4. Builing libmoai

  5. ~/Cipi/moai/moai-community/sdk/moai/ant ~/Cipi/moai/moai-community

  6. &#91;armeabi-v7a&#93; Compile arm    : freetype <= autofit.c

  7. &#91;armeabi-v7a&#93; Compile arm    : freetype <= cff.c

  8. &#91;armeabi-v7a&#93; Compile arm    : freetype <= ftbase.c

  9. &#91;armeabi-v7a&#93; Compile arm    : freetype <= ftstroke.c

  10. /tmp/ftstroke-4cb373.s: Assembler messages:

  11. /tmp/ftstroke-4cb373.s:6864: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  12. /tmp/ftstroke-4cb373.s:7361: Error: garbage following instruction -- `orr r6,r3,lsl#16'

  13. /tmp/ftstroke-4cb373.s:7473: Error: garbage following instruction -- `orr r1,r3,lsl#16'

  14. /tmp/ftstroke-4cb373.s:7532: Error: garbage following instruction -- `orr r1,r3,lsl#16'

  15. clang: error: assembler command failed with exit code 1 (use -v to see invocation)

  16. make: *** &#91;/home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/obj/local/armeabi-v7a/objs/freetype//home/zapa/Cipi/moai/moai-community/sdk/moai/3rdparty/freetype-2.4.4/src/base/ftstroke.o&#93; Error 1

  17. make: *** Waiting for unfinished jobs....

  18. /tmp/autofit-b9525e.s: Assembler messages:

  19. /tmp/autofit-b9525e.s:1803: Error: garbage following instruction -- `orr r7,r3,lsl#16'

  20. /tmp/autofit-b9525e.s:1890: Error: garbage following instruction -- `orr r5,lr,lsl#16'

  21. /tmp/autofit-b9525e.s:1983: Error: garbage following instruction -- `orr r1,r6,lsl#16'

  22. /tmp/autofit-b9525e.s:8393: Error: garbage following instruction -- `orr r3,r12,lsl#16'

  23. /tmp/autofit-b9525e.s:8419: Error: garbage following instruction -- `orr r3,r4,lsl#16'

  24. /tmp/autofit-b9525e.s:10669: Error: garbage following instruction -- `orr r2,r5,lsl#16'

  25. /tmp/autofit-b9525e.s:10793: Error: garbage following instruction -- `orr r4,r1,lsl#16'

  26. /tmp/autofit-b9525e.s:10829: Error: garbage following instruction -- `orr r1,r3,lsl#16'

  27. /tmp/autofit-b9525e.s:10883: Error: garbage following instruction -- `orr r3,r5,lsl#16'

  28. /tmp/autofit-b9525e.s:10907: Error: garbage following instruction -- `orr r3,r4,lsl#16'

  29. /tmp/autofit-b9525e.s:10940: Error: garbage following instruction -- `orr r3,r5,lsl#16'

  30. /tmp/autofit-b9525e.s:10979: Error: garbage following instruction -- `orr r7,r6,lsl#16'

  31. /tmp/autofit-b9525e.s:11250: Error: garbage following instruction -- `orr r0,r2,lsl#16'

  32. /tmp/autofit-b9525e.s:11513: Error: garbage following instruction -- `orr r0,r2,lsl#16'

  33. /tmp/autofit-b9525e.s:12229: Error: garbage following instruction -- `orr r1,r5,lsl#16'

  34. /tmp/autofit-b9525e.s:15371: Error: garbage following instruction -- `orr r7,r3,lsl#16'

  35. /tmp/autofit-b9525e.s:15832: Error: garbage following instruction -- `orr r0,r2,lsl#16'

  36. /tmp/autofit-b9525e.s:17813: Error: garbage following instruction -- `orr r1,r7,lsl#16'

  37. /tmp/autofit-b9525e.s:17844: Error: garbage following instruction -- `orr r3,r5,lsl#16'

  38. /tmp/autofit-b9525e.s:18048: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  39. /tmp/autofit-b9525e.s:18468: Error: garbage following instruction -- `orr r0,r6,lsl#16'

  40. /tmp/autofit-b9525e.s:18494: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  41. /tmp/autofit-b9525e.s:18721: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  42. /tmp/autofit-b9525e.s:18757: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  43. clang: error: assembler command failed with exit code 1 (use -v to see invocation)

  44. make: *** &#91;/home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/obj/local/armeabi-v7a/objs/freetype//home/zapa/Cipi/moai/moai-community/sdk/moai/3rdparty/freetype-2.4.4/src/autofit/autofit.o&#93; Error 1

  45. /tmp/cff-72c570.s: Assembler messages:

  46. /tmp/cff-72c570.s:9758: Error: garbage following instruction -- `orr r7,r5,lsl#16'

  47. /tmp/cff-72c570.s:9777: Error: garbage following instruction -- `orr r7,r5,lsl#16'

  48. /tmp/cff-72c570.s:9805: Error: garbage following instruction -- `orr r1,r7,lsl#16'

  49. /tmp/cff-72c570.s:9825: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  50. /tmp/cff-72c570.s:19413: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  51. /tmp/cff-72c570.s:19462: Error: garbage following instruction -- `orr r1,r7,lsl#16'

  52. clang: error: assembler command failed with exit code 1 (use -v to see invocation)

  53. make: *** &#91;/home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/obj/local/armeabi-v7a/objs/freetype//home/zapa/Cipi/moai/moai-community/sdk/moai/3rdparty/freetype-2.4.4/src/cff/cff.o&#93; Error 1

  54. /tmp/ftbase-8d2fdc.s: Assembler messages:

  55. /tmp/ftbase-8d2fdc.s:1710: Error: garbage following instruction -- `orr r2,r5,lsl#16'

  56. /tmp/ftbase-8d2fdc.s:1734: Error: garbage following instruction -- `orr r3,r4,lsl#16'

  57. /tmp/ftbase-8d2fdc.s:1762: Error: garbage following instruction -- `orr r7,r1,lsl#16'

  58. /tmp/ftbase-8d2fdc.s:1786: Error: garbage following instruction -- `orr r1,r4,lsl#16'

  59. /tmp/ftbase-8d2fdc.s:1891: Error: garbage following instruction -- `orr r1,r7,lsl#16'

  60. /tmp/ftbase-8d2fdc.s:1915: Error: garbage following instruction -- `orr r2,r5,lsl#16'

  61. /tmp/ftbase-8d2fdc.s:1943: Error: garbage following instruction -- `orr r3,r4,lsl#16'

  62. /tmp/ftbase-8d2fdc.s:1967: Error: garbage following instruction -- `orr r2,r4,lsl#16'

  63. /tmp/ftbase-8d2fdc.s:3096: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  64. /tmp/ftbase-8d2fdc.s:3342: Error: garbage following instruction -- `orr r12,lr,lsl#16'

  65. /tmp/ftbase-8d2fdc.s:3366: Error: garbage following instruction -- `orr lr,r4,lsl#16'

  66. /tmp/ftbase-8d2fdc.s:3390: Error: garbage following instruction -- `orr r8,r5,lsl#16'

  67. /tmp/ftbase-8d2fdc.s:3414: Error: garbage following instruction -- `orr r9,r6,lsl#16'

  68. /tmp/ftbase-8d2fdc.s:3438: Error: garbage following instruction -- `orr r10,r7,lsl#16'

  69. /tmp/ftbase-8d2fdc.s:3462: Error: garbage following instruction -- `orr r5,r2,lsl#16'

  70. /tmp/ftbase-8d2fdc.s:3486: Error: garbage following instruction -- `orr r2,r3,lsl#16'

  71. /tmp/ftbase-8d2fdc.s:3514: Error: garbage following instruction -- `orr r0,r4,lsl#16'

  72. /tmp/ftbase-8d2fdc.s:3615: Error: garbage following instruction -- `orr r1,r7,lsl#16'

  73. /tmp/ftbase-8d2fdc.s:3635: Error: garbage following instruction -- `orr r2,r6,lsl#16'

  74. /tmp/ftbase-8d2fdc.s:11158: Error: garbage following instruction -- `orr lr,r4,lsl#16'

  75. /tmp/ftbase-8d2fdc.s:11182: Error: garbage following instruction -- `orr r3,r5,lsl#16'

  76. /tmp/ftbase-8d2fdc.s:11210: Error: garbage following instruction -- `orr r8,r6,lsl#16'

  77. /tmp/ftbase-8d2fdc.s:11234: Error: garbage following instruction -- `orr r6,r7,lsl#16'

  78. /tmp/ftbase-8d2fdc.s:11430: Error: garbage following instruction -- `orr r12,lr,lsl#16'

  79. /tmp/ftbase-8d2fdc.s:11454: Error: garbage following instruction -- `orr lr,r4,lsl#16'

  80. /tmp/ftbase-8d2fdc.s:11478: Error: garbage following instruction -- `orr r6,r5,lsl#16'

  81. /tmp/ftbase-8d2fdc.s:11506: Error: garbage following instruction -- `orr r1,r2,lsl#16'

  82. /tmp/ftbase-8d2fdc.s:18840: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  83. /tmp/ftbase-8d2fdc.s:18870: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  84. /tmp/ftbase-8d2fdc.s:18897: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  85. /tmp/ftbase-8d2fdc.s:18925: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  86. /tmp/ftbase-8d2fdc.s:19704: Error: garbage following instruction -- `orr r9,r2,lsl#16'

  87. /tmp/ftbase-8d2fdc.s:19729: Error: garbage following instruction -- `orr lr,r3,lsl#16'

  88. /tmp/ftbase-8d2fdc.s:19771: Error: garbage following instruction -- `orr r0,r2,lsl#16'

  89. /tmp/ftbase-8d2fdc.s:19800: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  90. /tmp/ftbase-8d2fdc.s:19827: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  91. /tmp/ftbase-8d2fdc.s:19855: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  92. /tmp/ftbase-8d2fdc.s:20761: Error: garbage following instruction -- `orr r0,r3,lsl#16'

  93. /tmp/ftbase-8d2fdc.s:20790: Error: garbage following instruction -- `orr r7,r3,lsl#16'

  94. clang: error: assembler command failed with exit code 1 (use -v to see invocation)

  95. make: *** &#91;/home/zapa/Cipi/moai/moai-community/sdk/moai/ant/libmoai/obj/local/armeabi-v7a/objs/freetype//home/zapa/Cipi/moai/moai-community/sdk/moai/3rdparty/freetype-2.4.4/src/base/ftbase.o&#93; Error 1

  96. Android NDK build failed

  97. ~/Cipi/moai/moai-community

  98.  



I'll try ndk-r12b when I get home.
User avatar
BacioiuC
 
Posts: 129
Joined: Thu Mar 28, 2013 7:12 am

Re: Android status and stable version to build for android?

Postby halfnelson » Wed Aug 09, 2017 3:55 pm

that assembly error is a first. The android build script doesn't clean before build so it might be that the r8e NDK is coming across the r15 stuff from previous compile and exploding.

you can try
scripts/build-android --clean
to clean up build output before rebuilding.
halfnelson
 
Posts: 710
Joined: Wed Jun 13, 2012 9:48 pm

Re: Android status and stable version to build for android?

Postby BacioiuC » Thu Aug 10, 2017 6:02 am

Tried to perform a clean (and even did a manual clean using libmoai-clean.sh), same output.

Will try at home during the weekend on a fresh install.
User avatar
BacioiuC
 
Posts: 129
Joined: Thu Mar 28, 2013 7:12 am

Re: Android status and stable version to build for android?

Postby BacioiuC » Fri Aug 11, 2017 2:20 am

I can confirm that building with r12b works without problems!

Edit: However pito is acting a bit strange

Code: Select all
  1.  

  2. root@CiprianB-Aspire-7745:/home/zapa/Cipi/moai/moai-community/roguesweeper# ../bin/pito host build android

  3. Moai SDK 1.8 (ad hoc build by <unknown>)

  4. creating host: android

  5. sh: 1: pito: not found

  6.  

  7.  Host created

  8.  

  9. ERROR: could not find host :android

  10.  

  11. root@CiprianB-Aspire-7745:/home/zapa/Cipi/moai/moai-community/roguesweeper#

  12.  

  13.  

User avatar
BacioiuC
 
Posts: 129
Joined: Thu Mar 28, 2013 7:12 am

Re: Android status and stable version to build for android?

Postby halfnelson » Fri Aug 11, 2017 10:22 pm

glad to hear.
you might need to add pito to your path, maybe some of the folder refs are off.
I'll try do same on my copy of ubuntu and see if I can fix for you.
halfnelson
 
Posts: 710
Joined: Wed Jun 13, 2012 9:48 pm

Re: Android status and stable version to build for android?

Postby halfnelson » Sat Aug 12, 2017 12:10 am

halfnelson
 
Posts: 710
Joined: Wed Jun 13, 2012 9:48 pm

Re: Android status and stable version to build for android?

Postby ibisum » Mon Aug 28, 2017 11:21 am

pito is completely borked, and I haven't been productive with it since the lobotomy (1.6 -> 1.7 .. 1.8/&etc.) that happened somewhere along the way. In my local 1.6 branch, its pretty great - but for some reason the decision was made not to make it easy to build all the different hosts in one single command-line, cmake was supplanted on some hosts, with custom project sub-dirs that have to be *manually* tweaked for production, and .. so on.

But, I do have an idea of how to make pito work again, as a general-purpose "insta-setup" tool for new MOAI projects, and still get per-app/-host level administration through the MOAI system itself .. I just wanna wait until we settle on what is gonna happen in 2.0, and basically plan to target patricks' next release with some pito glue, whenever that will be ..

but, if you want to settle on 1.6, you can use pito like the good ol' days, y'know .. "pito host create android && pito host create ios && pito host create macos && pito host build", etc.
;
--
Email: ibisum@gmail.com
IRC: torpor on FreeNode, see you in the #moai channel
Got a MOAI snippet? Please consider adding it to http://moaisnippets.info/
User avatar
ibisum
 
Posts: 1503
Joined: Mon Oct 17, 2011 1:11 am
Location: Vienna, Austria


Return to Android

Who is online

Users browsing this forum: No registered users and 0 guests

cron

x