tpys / face-everthing

face detection alignment recognition reconstruction ...
261 stars 102 forks source link

fatal error: immintrin.h: No such file or directory #4

Closed arasharchor closed 7 years ago

arasharchor commented 7 years ago

installation failed on jetson tx1.

I have already compile spherecaffe with no problem. cuda version 8.0

(facerec-cv2.4.13-np1.11-py2.7) nvidia@tegra-ubuntu:~/projects/face-recognition/face-everthing/build$ make
[  1%] Building CXX object cpp_modules/openpose/face/CMakeFiles/face.dir/faceExtractor.cpp.o
[  2%] Linking CXX shared library libface.so
[  2%] Built target face
Scanning dependencies of target detection_lib
[  3%] Building CXX object CMakeFiles/detection_lib.dir/cpp_modules/detection/src/mtcnn/mtcnn.cpp.o
In file included from /home/nvidia/sphereface/tools/caffe-sphereface/include/caffe/blob.hpp:8:0,
                 from /home/nvidia/sphereface/tools/caffe-sphereface/include/caffe/caffe.hpp:7,
                 from /home/nvidia/projects/face-recognition/face-everthing/cpp_modules/detection/include/mtcnn/mtcnn.h:8,
                 from /home/nvidia/projects/face-recognition/face-everthing/cpp_modules/detection/src/mtcnn/mtcnn.cpp:4:
/home/nvidia/sphereface/tools/caffe-sphereface/include/caffe/common.hpp:35:0: warning: "DISABLE_COPY_AND_ASSIGN" redefined
 #define DISABLE_COPY_AND_ASSIGN(classname) \
 ^
In file included from /home/nvidia/projects/face-recognition/face-everthing/cpp_modules/detection/include/mtcnn/mtcnn.h:4:0,
                 from /home/nvidia/projects/face-recognition/face-everthing/cpp_modules/detection/src/mtcnn/mtcnn.cpp:4:
/home/nvidia/projects/face-recognition/face-everthing/cpp_modules/common/cl_common.h:17:0: note: this is the location of the previous definition
 #define DISABLE_COPY_AND_ASSIGN(classname)                              \
 ^
[  4%] Building CXX object CMakeFiles/detection_lib.dir/cpp_modules/detection/src/seeta/feat/lab_feature_map.cpp.o
In file included from /home/nvidia/projects/face-recognition/face-everthing/cpp_modules/detection/src/seeta/feat/lab_feature_map.cpp:36:0:
/home/nvidia/projects/face-recognition/face-everthing/cpp_modules/detection/include/seeta/util/math_func.h:36:23: fatal error: immintrin.h: No such file or directory
compilation terminated.
CMakeFiles/detection_lib.dir/build.make:86: recipe for target 'CMakeFiles/detection_lib.dir/cpp_modules/detection/src/seeta/feat/lab_feature_map.cpp.o' failed
make[2]: *** [CMakeFiles/detection_lib.dir/cpp_modules/detection/src/seeta/feat/lab_feature_map.cpp.o] Error 1
CMakeFiles/Makefile2:109: recipe for target 'CMakeFiles/detection_lib.dir/all' failed
make[1]: *** [CMakeFiles/detection_lib.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
arasharchor commented 7 years ago

the problem was due to activating SSE which is not available in Jetson TX1