mc2-project / mc2-project/secure-aggregation
fatal error: mbedtls/config.h: no such file or dectory.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 6
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I used sudo apt install libmbedtls-dev, but why is it still showing that there is no header file? Is it a version issue? If so, could you please provide me with this version.
detals:
(base) ethtest@ethtest:~/secure-aggregation-master/server/build$ make
[ 7%] Building CXX object enclave/CMakeFiles/enclave.dir/ecalls.cpp.o
In file included from /home/ethtest/secure-aggregation-master/server/../common/encryption/encrypt.h:4,
from /home/ethtest/secure-aggregation-master/server/enclave/ecalls.cpp:15:
/home/ethtest/secure-aggregation-master/server/../common/encryption/crypto.h:13:10: fatal error: mbedtls/config.h: no such file or dectory.
13 | #include "mbedtls/config.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [enclave/CMakeFiles/enclave.dir/build.make:73:enclave/CMakeFiles/enclave.dir/ecalls.cpp.o] error 1
make[1]: *** [CMakeFiles/Makefile2:979:enclave/CMakeFiles/enclave.dir/all] error 2
make: *** [Makefile:95:all] error 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure from server/build with make, then inspect common/encryption/crypto.h and the enclave/ecalls.cpp build target referenced in the error. Check how the installed mbedtls package exposes mbedtls/config.h and how this target discovers it. Done means the header is found and make proceeds past enclave/ecalls.cpp.o.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100