Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Rf-xi opened this issue Jun 26, 2023 · 2 comments

Comments

@Rf-xi
Copy link

Rf-xi commented Jun 26, 2023

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
Copy link
Owner

pw0rld commented Jun 26, 2023

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
Copy link
Author

Rf-xi commented Jul 1, 2023

Thank you very much, it did work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants