Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.
1491 Discussions

How do I set up an Intel SGX project using Visual Studio targeting a Linux host?

vishalsubramanyam
1,071 Views

I'm running Windows. I want to write a program that uses Intel SGX on a Linux machine. How do I do this? How do I get the right project templates and Visual Studio integration?

0 Kudos
3 Replies
Aznie_Intel
Moderator
991 Views

Hi Vishalsubramanyam,

 

Thanks for reaching out.

We are checking on this and will get back to you soon.

 

 

Regards,

Aznie


0 Kudos
Aznie_Intel
Moderator
905 Views

Hi Vishalsubramanyam,

 

Intel does not support cross compiling for Intel SGX enclaves. Thus, there is no prepared Visual Studio template or integration.


However, other editors can be used to develop on a remote Linux machine via an SSH connection. For example VS Code can be used to develop and execute remotely. You may refer to Remote Development using SSH which allows you to open a remote folder on any remote machine, virtual machine, or container with a running SSH server and take full advantage of VS Code's feature set with VSCode, the remote can also be the Windows Subsystem for Linux (WSL) on your own Windows machine. Refer to Developing in WSL.

 

Hope this helps.

 

 

Regards,

Aznie


0 Kudos
Aznie_Intel
Moderator
830 Views

Hi Vishalsubramanyam,


This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question. 



Regards,

Aznie


0 Kudos
Reply