pw0rld / Narrator

Secure and Practical State Continuity for Trusted Execution on Cloud
6 stars 0 forks source link

makefile failed: ../enclave_b/enclave_a_pubkey.h: No such file or directory #1

Open Rf-xi opened 1 year ago

Rf-xi commented 1 year ago

When I compiled ServerEnclave, I used the following command cd ServerEnclave & make It turns out that the config.mk file cannot be found, so I copy a config.mk from /Narrator/openenclave17/3rdparty/optee/optee_client/config.mk it seems to work out, so I go on, but two directories are specified in the makefile, enclave_a enclave_b, but we only have one enclave directory. It has bothered me for a long time. Can someone help me?

pw0rld commented 1 year ago

Hi, I apologize for making some mistakes. Firstly, the Narrator used the cmake builder, so you should create a 'build' folder using the mkdir command and then use cmake to build it. You can use those command as a sample:

cd ServerEnclave
mkdir build
cd build && cmake ..
make -j
Rf-xi commented 1 year ago

Thank you very much, it did work!