Skip to content

fatal error: mbedtls/config.h: no such file or dectory. #20

@1853582

Description

@1853582

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions