Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
81 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

Accepted Solutions
Highlighted
Moderator
52 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.

 

Jesus Garcia, Intel Customer Support

View solution in original post

0 Kudos
3 Replies
Highlighted
Moderator
53 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.

 

Jesus Garcia, Intel Customer Support

View solution in original post

0 Kudos
Highlighted
Moderator
32 Views

Hello Zack,


Do you still need help with this issue?


Jesus Garcia, Intel Customer Support
0 Kudos
Highlighted
Moderator
24 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.


Jesus Garcia, Intel Customer Support
0 Kudos