Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Adding OpenCV libraries in SGX-Enclave Project

I am trying to add OpenCV in my enclave project. I can run the OpenCV project as a standalone win32 console application in visual studio 2015. But when I started doing that in my enclave project I am getting errors. I tried to add the following libraries from opencv in enclave project:

#include "windows.h"
#include <opencv2/core/core.hpp>
#include "opencv2/imgcodecs.hpp"
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/face.hpp>
#include "drawLandmarks.hpp"

But I am getting tons of error. I also need to include windows.h file in my project. Are those libraries are allowed to include in the enclave project?