Can't Compile on Raspberry Pi 4B 4GB
Closed this issue · 0 comments
AlexLandherr commented
Hi, I've been trying to compile your program on my RPi4B 4GB running Raspberry Pi OS Buster 32-bit (with desktop).
Now I get this error:
pi@raspberrypi:~/Onion_Test/mkp224o $ make
gcc -std=c99 -Wall -Wextra -Wno-maybe-uninitialized -Wno-unused-function -Wmissing-prototypes -Wstrict-prototypes -O3 -march=native -fomit-frame-pointer -DED25519_donna -fPIE -DSTATISTICS -DVERSION='"git-7f714ee4f7cbdada158314a92ebda1f0433f048e"' -D'CRYPTO_NAMESPACETOP=crypto_sign_ed25519_donna' -D'_CRYPTO_NAMESPACETOP=_crypto_sign_ed25519_donna' -D'CRYPTO_NAMESPACE(name)=crypto_sign_ed25519_donna_##name' -D'_CRYPTO_NAMESPACE(name)=_crypto_sign_ed25519_donna_##name' -c -o main.c.o.tmp main.c && mv main.c.o.tmp main.c.o
main.c:12:10: fatal error: sodium/core.h: No such file or directory
#include <sodium/core.h>
^~~~~~~~~~~~~~~
compilation terminated.
make: *** [GNUmakefile:144: main.c.o] Error 1
From what I can tell I'm missing a particular library called sodium
, is that correct?
If possible I would really appreciate any help you can offer. I'm new at this particular program and only have coding experience in Python and Java.