/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h: In function ‘gradQuantize’:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:6742:10: fatal error: You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use these intrinsics.
return (float32x4_t)__builtin_neon_vdup_nv4sf ((builtin_neon_sf) a);
^
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: [makefile:103: libecotracker.so] Error 1
make: Waiting for unfinished jobs...
I setup opencv with neon vfpv3 neon flags and adjust the main code as getting webcam stream.
Altough ı add -mfloat-abi= hard flag , I encounter this problem . Which flags I add in c make build to enable neon intrinsic ?
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h: In function ‘gradQuantize’: /usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:6742:10: fatal error: You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use these intrinsics. return (float32x4_t)__builtin_neon_vdup_nv4sf ((builtin_neon_sf) a); ^ compilation terminated. lto-wrapper: fatal error: gcc returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make: [makefile:103: libecotracker.so] Error 1 make: Waiting for unfinished jobs...
I setup opencv with neon vfpv3 neon flags and adjust the main code as getting webcam stream. Altough ı add -mfloat-abi= hard flag , I encounter this problem . Which flags I add in c make build to enable neon intrinsic ?