About Monkey 2 › Forums › Monkey 2 Development › Android build error
This topic contains 2 replies, has 2 voices, and was last updated by
Diffrenzy
1 year, 5 months ago.
-
AuthorPosts
-
October 26, 2017 at 10:36 am #11327
On windows 10, I’m getting this on an app that works fine on desktop. I can build Mojotest fine.
I’m currently investigating what triggers it.[EDIT] : only happens in debug mode, release mode seems fine.
Monkey1234567891011121314151617181920212223242526272829303132333435363738394041424344Mx2cc version 1.1.07***** Building app 'xxx' *****Parsing...Semanting...Translating...Compiling...[armeabi-v7a] Compile++ thumb: mx2_main <= _r.cpp[armeabi-v7a] Compile++ thumb: mx2_main <= _r.cpp[armeabi-v7a] Compile++ thumb: mx2_main <= _r.cpp[armeabi-v7a] Compile++ thumb: mx2_main <= _r.cpp[armeabi-v7a] Compile++ thumb: mx2_main <= _r.cppBuild error: System command 'ndk-build' failed.ndk-buildIn file included from jni/../../../../../../../../../Monkey2-v1.1.07/modules/mojo/mojo.buildv1.1.07/android_debug/include/_r.cpp:1202:C:/Monkey2-v1.1.07/modules\mojo/mojo.buildv1.1.07/android_debug/include/mojo_graphics_2canvas.h:179:22: warning: integer literal is too large to be represented in a signed integer type, interpreting as unsigned [-Wimplicitly-unsigned-literal]bbUInt m__0pmcolor=18446744073709551615;^C:/Monkey2-v1.1.07/modules\mojo/mojo.buildv1.1.07/android_debug/include/mojo_graphics_2canvas.h:179:22: warning: implicit conversion from 'unsigned long long' to 'bbUInt' (aka 'unsigned int') changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion]bbUInt m__0pmcolor=18446744073709551615;~^~~~~~~~~~~~~~~~~~~~2 warnings generated.error: error opening './obj/local/armeabi-v7a/objs-debug/mx2_main/__/__/__/__/__/__/__/__/__/Monkey2-v1.1.07/modules/stb-image-write/stb-image-write.buildv1.1.07/android_debug/include/_r.o.d': No such file or directory1 error generated.make: *** [obj/local/armeabi-v7a/objs-debug/mx2_main/__/__/__/__/__/__/__/__/__/Monkey2-v1.1.07/modules/stb-image-write/stb-image-write.buildv1.1.07/android_debug/include/_r.o] Error 1***** Fatal mx2cc error *****Internal mx2cc build errorOctober 26, 2017 at 9:59 pm #11337Have you tried the latest develop branch (mx2cc is v1.1.08 now)?
Have you deleted .build and .products dirs (.products dir needs to be deleted if I modify the android studio project template too much – templates are in /products dir)?
I was tooling around with android yesterday and it was working fine, athough I was only building the musictest banana.
October 27, 2017 at 6:28 pm #11348Getting v1.1.08 develop from github fixed it, thanks!
-
AuthorPosts
You must be logged in to reply to this topic.