- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a 6th gen intel 6600U processor laptop with SGX supported.
I want to use it but from the intel's website i got sdk package with nuget and no exe version.
In running code after integrating it with Visual Studio (which i am not sure if done properly) has many errors.
Compiling .edl file or enclave project is not creating a "_u.h" file and i am confused how to use it.
Can you guide me from how to install the intel's sgx using nuget to using it with Visual Studio.
i am very confused.
SampleEnclave project is also throwing a lot of errors.
Regards
Harshil Kankane
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You'll need to "Find and Install" the Intel.SGX.SDK package as described
https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio
The SGX SDK Installation document ("Intel SGX Installation Guide for Windows OS") has some screenshots as well. The basic steps are
Tools-> NuGet Package Manager->Manage Nuget Packages for Solution
Then find Intel.SGX.SDK and "Install" it (this will get the nuget package from nuget.org by default, which is OK and easiest way to install it).
Make sure you select all the projects in your solution that need it (both Apps and Enclaves).
It should look something like this when you are done:
Please let me know if you are still having issues installing or run into any new ones.
Thanks,
Francisco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Thanks for replying back.
Can you guide me on how to run the SampleEnclave project code on windows.
This might seem a very basic doubt but,
I am new to Sgx and nuget.
I tried copying the Enclave folder files to enclave project and the App files to a Console C++ project.
But still there were many header errors and unable to open "Enclave_u.h" file.
Can you help please
Thanks
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
A good explainer on how to use a Nuget is
Quickstart: Install and use a NuGet package in Visual Studio (Windows only) | Microsoft Learn
There are links to videos on that site as well.
Once you are able to install and use a Nuget package, you'll just need to repeat those steps, except that you should use the SGX SDK Nuget package instead of the Newtonsoft.Json package that they used in their example.
Are you able to follow their steps to get the Newtonsoft.Json package working?
Francisco

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page