Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Yin__Hang
Beginner
104 Views

Redistribute compiled binary in development mode

Hi all,

I'm trying to create a binary to test hardware. I compiled my binary in hardware mode with a development cert. It can create enclave without any problem. However when I transfer the compiled binary to another computer with PSW and SGX Driver installed, it complained "SGX_ERROR_UNEXPECTED" when initializing the enclave. Does it mean the development binary are bonded to the host CPU? Did I make any mistake?

Looking for advise.

 

Thanks!

Tags (1)
0 Kudos
2 Replies
Junli_S_Intel
Employee
104 Views

NO, the development binary is NOT bonded to the host CPU.  Can you confirm that your two environment use the same version PSW ? And could you confirm that the SGX has been enabled in the platform?

Yin__Hang
Beginner
104 Views

Thanks for the quick reply. Indeed I made a mistake. I installed a wrong version of PSW (2.8 vs 2.7). After reinstall the PSW everything worked like a charm!

Reply