> Yes, please refer to these reference implementation: 
> https://github.com/apache/incubator-teaclave/tree/master/dcap
> 
> For your error, you should install DCAP related libraries for linking. See 
> [DCAP installation 
> guide](https://download.01.org/intel-sgx/sgx-dcap/1.3.1/linux/docs/Intel_SGX_DCAP_Linux_SW_Installation_Guide.pdf).
```bash
root@useer-04:/usr/lib/x86_64-linux-gnu# ls |grep sgx
libsgx_dcap_ql.so
libsgx_dcap_ql.so.1
libsgx_dcap_ql.so.1.6.100.2
libsgx_dcap_quoteverify.so
libsgx_dcap_quoteverify.so.1
libsgx_dcap_quoteverify.so.1.6.100.2
libsgx_default_qcnl_wrapper.so
libsgx_default_qcnl_wrapper.so.1
libsgx_default_qcnl_wrapper.so.1.6.100.2
libsgx_enclave_common.so
libsgx_enclave_common.so.1
libsgx_enclave_common.so.1.0.110.2
libsgx_epid.so.1
libsgx_epid.so.1.0.105.2
libsgx_launch.so.1
libsgx_launch.so.1.0.105.2
libsgx_pce_logic.so
libsgx_pce.signed.so
libsgx_qe3_logic.so
libsgx_qe3.signed.so
libsgx_quote_ex.so
libsgx_quote_ex.so.1
libsgx_quote_ex.so.1.1.105.2
libsgx_qve.signed.so
libsgx_urts.so
libsgx_urts.so.1
libsgx_urts.so.1.1.107.2

root@useer-04:/usr/include# ls |grep sgx
sgx_attributes.h
sgx_dcap_pcs_com.h
sgx_dcap_ql_wrapper.h
sgx_dcap_quoteverify.h
sgx_enclave_common.h
sgx_key.h
sgx_pce.h
sgx_ql_lib_common.h
sgx_ql_quote.h
sgx_quote_3.h
sgx_quote.h
sgx_report.h
sgx_uae_quote_ex.h

```
dcap我是安装过了,我是按照rust_sgx_sdk项目下面的samplecode构建的,之前写其它例子是没问题的。这个dcap链接的问题,是要修改[RustEnclave_Link_Flags](https://github.com/apache/incubator-teaclave-sgx-sdk/blob/7b87824b9165e5b7a3ad21876e4a65b8c076fdb3/samplecode/hello-rust/Makefile#L100)的参数吗?
 有在samplecode出dacp示例的计划吗?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/249#issuecomment-646119352

Reply via email to