Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Zack
Beginner
309 Views

how to use PBC in SGX

Jump to solution

I want to calculate bilinear mappings in enclaves.How do I import the PBC library into the Enclave project?

 

I am not sure if I configure the enclave correctly.

 

VC++ Directories   -->   Include Directories "pbc/include" 
                                      Library Directories "pbc/lib"
C/C++                    -->   Additional Include Directories "(some SGX default); pbc/include"
Linker                     -->  General  -->  Additional Library Directories "pbc/lib"
                                      Input --> Additional Dependencies: "pbc.lib"

 

But there will be a lot of errors.They look like this:

 

syntax error: ","

 

Undefined identifier 'FILE'

...

0 Kudos
1 Solution
JesusG_Intel
Moderator
280 Views

Hello Zack,

 

SGX enclaves can be linked only with static libraries and make sure that all library dependencies are also linked statically. You must ensure you are not using any dynamic libraries in your enclave code.

 

View solution in original post

3 Replies
JesusG_Intel
Moderator
281 Views

Hello Zack,

 

SGX enclaves can be linked only with static libraries and make sure that all library dependencies are also linked statically. You must ensure you are not using any dynamic libraries in your enclave code.

 

View solution in original post

JesusG_Intel
Moderator
260 Views

Hello Zack,


Do you still need help with this issue?


JesusG_Intel
Moderator
252 Views

Intel is no longer monitoring this thread. If you want a response from Intel in a follow-up question, please open a new thread.


Reply