seetaface/SeetaFaceEngine

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

arasharchor opened this issue · 3 comments

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

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?

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.

I see thanks for the clarification.