Hi everybody.

I try to work with ARM_NEON coprocessor.
To turn on support of NEON I include "arm_neon.h" in my project. When I 
tryed to compile this I got error message (see below). 
I think problem connected with compilator flags. 

Could you give me advice, please. Which flags I need to use. Or any other 
solution?
Thanks in advance.

PS I'm using latest NDK "android-ndk-r6b" from "android.com", Platform ARM 
Cortex-A8.

Error message (showing only for first function, the same situation for each 
other function definitions).

In file included from 
D:/work/sdk/h264enc/src/encoder/process_row/jni/../../../opt/noOPT/preproc.c:4:
D:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.4.3/inc
lude/arm_neon.h: In function 'vadd_s8':
D:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.4.3/inc
lude/arm_neon.h:402: error: incompatible type for argument 1 of 
'__builtin_neon_vaddv8qi'
D:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.4.3/inc
lude/arm_neon.h:402: note: expected '__builtin_neon_qi __vector__' but 
argument is of type 'int8x8_t'
D:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.4.3/inc
lude/arm_neon.h:402: error: incompatible type for argument 2 of 
'__builtin_neon_vaddv8qi'
D:\android-ndk-r6\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\../lib/gcc/arm-linux-androideabi/4.4.3/inc
lude/arm_neon.h:402: note: expected '__builtin_neon_qi __vector__' but 
argument is of type 'int8x8_t'
make: *** 
[/cygdrive/d/work/sdk/h264enc/src/encoder/process_row/obj/local/armeabi-v7a/objs/vsshencoderlib/../../../opt/n
oOPT/preproc.o] Error 1

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to