Open zoujiaqing opened 10 years ago
You are trying the android build right? I have had the same problem with clang from the NDK but I can now build the current version of NUI with the latest NDK. (well it worked last time I did, about 3 weeks ago). Can you try switching the compiler sur gcc in the makefiles?
your set NDK_TOOLCHAIN_VERSION := clang I download NDK version is r9d. make other app ok, but nui3 can't successed.
can you try to build one of the test applications this way? cd nui3/android/audioengine/ NDK_TOOLCHAIN_VERSION=clang ./build
here it works fine with the NDK r9d. (I'm on a mac, I have not tried to build android nui from any other platform yet).
i'm try NDK_TOOLCHAIN_VERSION:=4.8, compile successed...
thank you, i like clang, but ... you know ..
The problem already fixed with ndk-r10c and clang3.5. I tested with windows 7 64 bit
ah nice, thanks @seal2002 , should we close this issue then?
I think we can close this issue :)
[armeabi-v7a] Compile arm : mpg123 <= icy.c [armeabi-v7a] Compile arm : mpg123 <= synth_real.c [armeabi-v7a] Compile arm : mpg123 <= synth_8bit.c [armeabi-v7a] Compile arm : mpg123 <= synth_arm.S [armeabi-v7a] Compile arm : mpg123 <= synth_arm_accurate.S [armeabi-v7a] Compile arm : mpg123 <= synth_s32.c [armeabi-v7a] Compile arm : mpg123 <= compat.c [armeabi-v7a] Compile arm : mpg123 <= feature.c [armeabi-v7a] StaticLibrary : libmpg123.a [armeabi-v7a] Compile arm : freetype <= ftsystem.c [armeabi-v7a] Compile arm : freetype <= ftinit.c [armeabi-v7a] Compile arm : freetype <= ftdebug.c [armeabi-v7a] Compile arm : freetype <= ftbase.c C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s: Assembler messages: C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:926: Error: garbage following instruction --
orr r2,r4,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:943: Error: garbage following instruction --
orr r3,r6,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:963: Error: garbage following instruction --orr r7,r1,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:980: Error: garbage following instruction --
orr r1,r4,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1054: Error: garbage following instruction --orr r1,r7,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1071: Error: garbage following instruction --
orr r2,r6,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1091: Error: garbage following instruction --orr r12,r4,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1108: Error: garbage following instruction --
orr r2,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1676: Error: garbage following instruction --orr r0,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1829: Error: garbage following instruction --
orr r12,lr,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1846: Error: garbage following instruction --orr lr,r4,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1863: Error: garbage following instruction --
orr r8,r5,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1880: Error: garbage following instruction --orr r9,r6,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1897: Error: garbage following instruction --
orr r10,r7,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1914: Error: garbage following instruction --orr r5,r2,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1931: Error: garbage following instruction --
orr r2,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:1951: Error: garbage following instruction --orr r0,r4,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:2014: Error: garbage following instruction --
orr r1,r7,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:2029: Error: garbage following instruction --orr r2,r6,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:7966: Error: garbage following instruction --
orr lr,r4,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:7983: Error: garbage following instruction --orr r3,r5,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:8003: Error: garbage following instruction --
orr r8,r6,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:8020: Error: garbage following instruction --orr r6,r7,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:8140: Error: garbage following instruction --
orr r12,lr,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:8157: Error: garbage following instruction --orr lr,r4,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:8174: Error: garbage following instruction --
orr r6,r5,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:8194: Error: garbage following instruction --orr r1,r2,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:12374: Error: garbage followin g instruction --
orr r0,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:12395: Error: garbage followin g instruction --orr r0,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:12415: Error: garbage followin g instruction --
orr r0,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:12436: Error: garbage followin g instruction --orr r0,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:12980: Error: garbage followin g instruction --
orr r10,r2,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:12997: Error: garbage followin g instruction --orr r8,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:13026: Error: garbage followin g instruction --
orr r0,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:13047: Error: garbage followin g instruction --orr r0,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:13067: Error: garbage followin g instruction --
orr r0,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:13088: Error: garbage followin g instruction --orr r0,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:13536: Error: garbage followin g instruction --
orr r0,r3,lsl#16' C:\Users\Brian\AppData\Local\Temp\ftbase-cdfb31.s:13556: Error: garbage followin g instruction -- `orr r7,r3,lsl#16' clang.exe: error: assembler command failed with exit code 1 (use -v to see invoc ation) make.exe: *\ [obj/local/armeabi-v7a/objs/freetype/src/base/ftbase.o] Error 1