Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry pi Neon Problem #65

Open
alpoler opened this issue Feb 8, 2020 · 1 comment
Open

Raspberry pi Neon Problem #65

alpoler opened this issue Feb 8, 2020 · 1 comment

Comments

@alpoler
Copy link

alpoler commented Feb 8, 2020

/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
Copy link

Has this problem been solved? I have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants