OS: Ubuntu 20.04
OpenCV Version: 4.2.0
I am trying to use OpenCV in Intel SGX. Getting this:
In file included from /home/azureuser/test3/helloworld/enclave/enc.cpp:9:
In file included from /usr/local/include/opencv4/opencv2/opencv.hpp:52:
In file included from /usr/local/include/opencv4/opencv2/core.hpp:52:
In file included from /usr/local/include/opencv4/opencv2/core/cvdef.h:322:
/usr/local/include/opencv4/opencv2/core/cv_cpu_dispatch.h:200:12: fatal error: 'emmintrin.h' file not found
# include <emmintrin.h>
^~~~~~~~~~~~~
1 error generated.
make[2]: *** [enclave/CMakeFiles/enclave.dir/build.make:73: enclave/CMakeFiles/enclave.dir/enc.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:202: enclave/CMakeFiles/enclave.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
when trying to build the project.