<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic I followed the following in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Adding-OpenCV-libraries-in-SGX-Enclave-Project/m-p/1127279#M1815</link>
    <description>&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"&gt;I followed the following steps while adding opencv static library in the project:-&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;
	1. Generated the OpenCV&amp;nbsp;static library using CMake,
	&lt;DIV&gt;&lt;BR /&gt;
		2. Added the following values in the inlucde&amp;nbsp;directories :-&lt;BR /&gt;
		&amp;nbsp;
		&lt;BLOCKQUOTE&gt;
			&lt;DIV&gt;C:\Program Files (x86)\Intel\IntelSGXSDK\&lt;WBR /&gt;include&lt;/DIV&gt;

			&lt;DIV&gt;C:\Program Files (x86)\Intel\IntelSGXSDK\&lt;WBR /&gt;include\libc++&lt;/DIV&gt;

			&lt;DIV&gt;C:\Program Files (x86)\Intel\IntelSGXSDK\&lt;WBR /&gt;include\tlibc&lt;/DIV&gt;

			&lt;DIV&gt;C:\Users\fs5ve\Downloads\&lt;WBR /&gt;Opencv-static\static\opencv\&lt;WBR /&gt;include&lt;/DIV&gt;

			&lt;DIV&gt;C:\Users\fs5ve\Downloads\&lt;WBR /&gt;Opencv-static\static\opencv\&lt;WBR /&gt;build-32-extra\install\include&lt;/DIV&gt;

			&lt;DIV&gt;C:\Users\fs5ve\Downloads\&lt;WBR /&gt;Opencv-static\static\opencv\&lt;WBR /&gt;build-32-extra\install\&lt;WBR /&gt;include\opencv&lt;/DIV&gt;

			&lt;DIV&gt;C:\Users\fs5ve\Downloads\&lt;WBR /&gt;Opencv-static\static\opencv\&lt;WBR /&gt;build-32-extra\install\&lt;WBR /&gt;include\opencv2&lt;/DIV&gt;

			&lt;DIV&gt;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include&lt;/DIV&gt;

			&lt;DIV&gt;%(&lt;WBR /&gt;AdditionalIncludeDirectories)&lt;/DIV&gt;
		&lt;/BLOCKQUOTE&gt;

		&lt;DIV&gt;&lt;BR /&gt;
			3. Added the following value in additional library directories:-&lt;BR /&gt;
			&lt;BR /&gt;
			&amp;nbsp; &amp;nbsp;$(SGXSDKInstallPath)bin\$(&lt;WBR /&gt;Platform)\Debug;C:\Users\&lt;WBR /&gt;fs5ve\Downloads\Opencv-static\&lt;WBR /&gt;static\opencv\build-32-extra\&lt;WBR /&gt;install\x86\vc14\staticlib&lt;BR /&gt;
			&amp;nbsp;&lt;/DIV&gt;

		&lt;DIV&gt;4. Added the following values in the addtional&amp;nbsp;dependecies :-&lt;/DIV&gt;

		&lt;DIV&gt;
			&lt;BLOCKQUOTE&gt;
				&lt;P&gt;&lt;BR /&gt;
					sgx_trts_sim.lib&lt;/P&gt;

				&lt;DIV&gt;sgx_tstdc.lib&lt;/DIV&gt;

				&lt;DIV&gt;sgx_tservice_sim.lib&lt;/DIV&gt;

				&lt;DIV&gt;sgx_tcrypto.lib&lt;/DIV&gt;

				&lt;DIV&gt;sgx_tcxx.lib&lt;/DIV&gt;

				&lt;DIV&gt;sgx_urts_sim.lib&lt;/DIV&gt;

				&lt;DIV&gt;sgx_uae_service_sim.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_calib3d400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_core400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_highgui400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_face400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_features2d400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_flann400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_imgcodecs400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_imgproc400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_ml400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_objdetect400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_photo400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_shape400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_stitching400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_superres400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_video400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_videoio400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_videostab400d.lib&lt;/DIV&gt;
			&lt;/BLOCKQUOTE&gt;
			&lt;BR /&gt;
			&lt;BR /&gt;
			I am getting the following error:-
			&lt;DIV&gt;Cannot open include file: 'emmintrin.h': No such file or directory&lt;SPAN style="white-space: pre-wrap;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;
				&lt;BR /&gt;
				I have added "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include" &amp;nbsp;in the Include directories. But after that I am getting the following error:-&lt;BR /&gt;
				Cannot open include file: 'malloc.h': No such file or directory&lt;/DIV&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 28 May 2018 19:43:00 GMT</pubDate>
    <dc:creator>Shezan__Faysal_Hossa</dc:creator>
    <dc:date>2018-05-28T19:43:00Z</dc:date>
    <item>
      <title>Adding OpenCV libraries in SGX-Enclave Project</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Adding-OpenCV-libraries-in-SGX-Enclave-Project/m-p/1127276#M1812</link>
      <description>&lt;P&gt;&lt;BR /&gt;
	I am trying to add OpenCV&amp;nbsp;in my enclave project.&amp;nbsp;I can run the OpenCV&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp;project as a standalone win32 console application in visual studio 2015.&lt;/SPAN&gt;&amp;nbsp;But when I started doing that in my enclave project I am getting errors. I tried to add the following libraries from opencv&amp;nbsp;in enclave project:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;#include "windows.h"
#include &amp;lt;opencv2/core/core.hpp&amp;gt;
#include "opencv2/imgcodecs.hpp"
#include &amp;lt;opencv2/highgui/highgui.hpp&amp;gt;
#include &amp;lt;opencv2/opencv.hpp&amp;gt;
#include &amp;lt;opencv2/face.hpp&amp;gt;
#include "drawLandmarks.hpp"&lt;/PRE&gt;

&lt;P&gt;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?&lt;/P&gt;</description>
      <pubDate>Sun, 20 May 2018 20:35:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Adding-OpenCV-libraries-in-SGX-Enclave-Project/m-p/1127276#M1812</guid>
      <dc:creator>Shezan__Faysal_Hossa</dc:creator>
      <dc:date>2018-05-20T20:35:43Z</dc:date>
    </item>
    <item>
      <title>I'm not familiar enough with</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Adding-OpenCV-libraries-in-SGX-Enclave-Project/m-p/1127277#M1813</link>
      <description>&lt;P&gt;I'm not familiar enough with the OpenCV headers, but for sure you cannot include the Windows headers.&lt;/P&gt;

&lt;P&gt;In general, you can't make any system calls inside an enclave.&lt;/P&gt;

&lt;P&gt;The developer reference has more details on which APIs are / are not allowed.&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 14:27:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Adding-OpenCV-libraries-in-SGX-Enclave-Project/m-p/1127277#M1813</guid>
      <dc:creator>Francisco_C_Intel</dc:creator>
      <dc:date>2018-05-25T14:27:24Z</dc:date>
    </item>
    <item>
      <title>Thank you for your comment.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Adding-OpenCV-libraries-in-SGX-Enclave-Project/m-p/1127278#M1814</link>
      <description>&lt;P&gt;Thank you for your comment. But do you know whether SGX-Enclave supports OpenCV or not? Because from my understanding, I think they only provide support for OpenSSl&amp;nbsp;(if I am not wrong). I got this idea by visiting their download center :-&amp;nbsp;https://software.intel.com/en-us/sgx-sdk/download&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 16:23:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Adding-OpenCV-libraries-in-SGX-Enclave-Project/m-p/1127278#M1814</guid>
      <dc:creator>Shezan__Faysal_Hossa</dc:creator>
      <dc:date>2018-05-25T16:23:29Z</dc:date>
    </item>
    <item>
      <title>I followed the following</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Adding-OpenCV-libraries-in-SGX-Enclave-Project/m-p/1127279#M1815</link>
      <description>&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"&gt;I followed the following steps while adding opencv static library in the project:-&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;BR /&gt;
	1. Generated the OpenCV&amp;nbsp;static library using CMake,
	&lt;DIV&gt;&lt;BR /&gt;
		2. Added the following values in the inlucde&amp;nbsp;directories :-&lt;BR /&gt;
		&amp;nbsp;
		&lt;BLOCKQUOTE&gt;
			&lt;DIV&gt;C:\Program Files (x86)\Intel\IntelSGXSDK\&lt;WBR /&gt;include&lt;/DIV&gt;

			&lt;DIV&gt;C:\Program Files (x86)\Intel\IntelSGXSDK\&lt;WBR /&gt;include\libc++&lt;/DIV&gt;

			&lt;DIV&gt;C:\Program Files (x86)\Intel\IntelSGXSDK\&lt;WBR /&gt;include\tlibc&lt;/DIV&gt;

			&lt;DIV&gt;C:\Users\fs5ve\Downloads\&lt;WBR /&gt;Opencv-static\static\opencv\&lt;WBR /&gt;include&lt;/DIV&gt;

			&lt;DIV&gt;C:\Users\fs5ve\Downloads\&lt;WBR /&gt;Opencv-static\static\opencv\&lt;WBR /&gt;build-32-extra\install\include&lt;/DIV&gt;

			&lt;DIV&gt;C:\Users\fs5ve\Downloads\&lt;WBR /&gt;Opencv-static\static\opencv\&lt;WBR /&gt;build-32-extra\install\&lt;WBR /&gt;include\opencv&lt;/DIV&gt;

			&lt;DIV&gt;C:\Users\fs5ve\Downloads\&lt;WBR /&gt;Opencv-static\static\opencv\&lt;WBR /&gt;build-32-extra\install\&lt;WBR /&gt;include\opencv2&lt;/DIV&gt;

			&lt;DIV&gt;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include&lt;/DIV&gt;

			&lt;DIV&gt;%(&lt;WBR /&gt;AdditionalIncludeDirectories)&lt;/DIV&gt;
		&lt;/BLOCKQUOTE&gt;

		&lt;DIV&gt;&lt;BR /&gt;
			3. Added the following value in additional library directories:-&lt;BR /&gt;
			&lt;BR /&gt;
			&amp;nbsp; &amp;nbsp;$(SGXSDKInstallPath)bin\$(&lt;WBR /&gt;Platform)\Debug;C:\Users\&lt;WBR /&gt;fs5ve\Downloads\Opencv-static\&lt;WBR /&gt;static\opencv\build-32-extra\&lt;WBR /&gt;install\x86\vc14\staticlib&lt;BR /&gt;
			&amp;nbsp;&lt;/DIV&gt;

		&lt;DIV&gt;4. Added the following values in the addtional&amp;nbsp;dependecies :-&lt;/DIV&gt;

		&lt;DIV&gt;
			&lt;BLOCKQUOTE&gt;
				&lt;P&gt;&lt;BR /&gt;
					sgx_trts_sim.lib&lt;/P&gt;

				&lt;DIV&gt;sgx_tstdc.lib&lt;/DIV&gt;

				&lt;DIV&gt;sgx_tservice_sim.lib&lt;/DIV&gt;

				&lt;DIV&gt;sgx_tcrypto.lib&lt;/DIV&gt;

				&lt;DIV&gt;sgx_tcxx.lib&lt;/DIV&gt;

				&lt;DIV&gt;sgx_urts_sim.lib&lt;/DIV&gt;

				&lt;DIV&gt;sgx_uae_service_sim.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_calib3d400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_core400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_highgui400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_face400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_features2d400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_flann400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_imgcodecs400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_imgproc400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_ml400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_objdetect400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_photo400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_shape400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_stitching400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_superres400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_video400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_videoio400d.lib&lt;/DIV&gt;

				&lt;DIV&gt;opencv_videostab400d.lib&lt;/DIV&gt;
			&lt;/BLOCKQUOTE&gt;
			&lt;BR /&gt;
			&lt;BR /&gt;
			I am getting the following error:-
			&lt;DIV&gt;Cannot open include file: 'emmintrin.h': No such file or directory&lt;SPAN style="white-space: pre-wrap;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;
				&lt;BR /&gt;
				I have added "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include" &amp;nbsp;in the Include directories. But after that I am getting the following error:-&lt;BR /&gt;
				Cannot open include file: 'malloc.h': No such file or directory&lt;/DIV&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 May 2018 19:43:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Adding-OpenCV-libraries-in-SGX-Enclave-Project/m-p/1127279#M1815</guid>
      <dc:creator>Shezan__Faysal_Hossa</dc:creator>
      <dc:date>2018-05-28T19:43:00Z</dc:date>
    </item>
  </channel>
</rss>

