darknet-nnpack icon indicating copy to clipboard operation
darknet-nnpack copied to clipboard

-mfpu=neon-vfpv4 unrecognized

Open fishman2008 opened this issue 7 years ago • 3 comments

The library is compiled on ubuntu system, instead of Raspberry Pi. And the error shows that "-mfpu=neon-vfpv4" is unrecognized. Could this library be compiled on ubuntu with android-NDK, and then ported it to the android system? Thanks.

fishman2008 avatar Aug 13 '17 04:08 fishman2008

you need to find out the fpu architecture of your cpu target, neon-vfpv4 targets the Pi2&3. If you are compiling on ubuntu x86 you also need to setup a cross compile toolchain to compile for arm.

timonsku avatar Aug 31 '17 15:08 timonsku

@fishman2008 you can test "-mfpu=neon"

sanallen avatar Jan 10 '18 01:01 sanallen

Just remove flag "-mfpu=neon-vfpv4"?If your Pi3 os is aarch64?

503612068 avatar Mar 29 '18 03:03 503612068