seetaface / SeetaFaceEngine

Other
4.6k stars 1.78k forks source link

c++: error: unrecognized command line option ‘-msse4.1’ #168

Closed arasharchor closed 7 years ago

arasharchor commented 7 years ago

Hi, platform Raspberry Pi 3

making face detector fails. I do not how to deactivate SSE in Cmake.

pi@pi:~/projects/SeetaFaceEngine-master/FaceDetection/build $ make
[  7%] Building CXX object CMakeFiles/seeta_facedet_lib.dir/src/util/nms.cpp.o
c++: error: unrecognized command line option ‘-msse4.1’
CMakeFiles/seeta_facedet_lib.dir/build.make:62: recipe for target 'CMakeFiles/seeta_facedet_lib.dir/src/util/nms.cpp.o' failed
make[2]: *** [CMakeFiles/seeta_facedet_lib.dir/src/util/nms.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/seeta_facedet_lib.dir/all' failed
make[1]: *** [CMakeFiles/seeta_facedet_lib.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
arasharchor commented 7 years ago

In CmakeCache.txt I had to turn off


//Set to ON to build use SSE
USE_SSE:BOOL=OFF```

To be able to make the project. Why SeetaFaceEngine does not support SSE Instructions?
wmatrix commented 7 years ago

SeetaFaceEngine supports SSE Instructions(Intel CPU Feature),but ARM cpu does not support SSE Instrucions,so in Raspberry Pi , you can't enable SSE option.

arasharchor commented 7 years ago

I see thanks for the clarification.