Bkmz21 / CompactCNNCascade

A binary library for very fast face detection using compact CNNs.
Other
156 stars 50 forks source link

Can this code run on ARM CPU? #11

Open ChenyangZhang-cs opened 3 years ago

ChenyangZhang-cs commented 3 years ago

I would like to run the code on a machine with an ARM CPU, and got the following error when I built it. Can this code run on an ARM CPU? Could you help me solve this?

Consolidate compiler generated dependencies of target CNNObjectDetector
[  5%] Building CXX object CMakeFiles/CNNObjectDetector.dir/src/CNNObjectDetector/cnn_simd_cntk.cpp.o
/home/chenyang/face/CompactCNNCascade/src/CNNObjectDetector/cnn_simd_cntk.cpp:25:10: fatal error: immintrin.h: No such file or directory
 #include <immintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
CMakeFiles/CNNObjectDetector.dir/build.make:103: recipe for target 'CMakeFiles/CNNObjectDetector.dir/src/CNNObjectDetector/cnn_simd_cntk.cpp.o' failed
make[2]: *** [CMakeFiles/CNNObjectDetector.dir/src/CNNObjectDetector/cnn_simd_cntk.cpp.o] Error 1
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/CNNObjectDetector.dir/all' failed
make[1]: *** [CMakeFiles/CNNObjectDetector.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2