solokeys / openpgp

OpenPGP functionality for Solo
107 stars 10 forks source link

Missing depend in README #5

Closed patvdleer closed 5 years ago

patvdleer commented 5 years ago

Following the README compile instructions it gave me the following

$ make
g++ -std=c++17 -O2 -Wall -g3 -I. -Ipc/ -Isrc/ -c -o obj/apduexecutor.o ./src/apduexecutor.cpp
In file included from src/applets/openpgp/openpgpstruct.h:17,
                 from src/applets/openpgp/security.h:18,
                 from src/applets/openpgp/openpgpfactory.h:13,
                 from src/applets/openpgpapplet.h:14,
                 from src/applets/appletstorage.h:19,
                 from src/apduexecutor.h:15,
                 from ./src/apduexecutor.cpp:10:
src/cryptolib.h:19:10: fatal error: mbedtls/config.h: No such file or directory
 #include <mbedtls/config.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:23: obj/apduexecutor.o] Error 1

It's missing libmbedtls-dev when running Ubuntu 19.04.

sudo apt install libmbedtls-dev fixes it.

conorpp commented 5 years ago

Thanks!

conorpp commented 5 years ago

Added in README