c++: error: unrecognized command line option ‘-msse4.1’
arasharchor opened this issue · 3 comments
arasharchor commented
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
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
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
I see thanks for the clarification.