rockkingjy / OpenTracker

Real-time C++ ECO tracker etc. speed-up by SSE/NEON, support Linux, Mac, Jetson TX1/2, raspberry pi
GNU General Public License v3.0
751 stars 197 forks source link

Raspberry pi Neon Problem #65

Open alpoler opened 4 years ago

alpoler commented 4 years ago

/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 ?

shiyugzy commented 2 years ago

Has this problem been solved? I have the same problem