I’m trying to integrate my code as a library. It depends on a library called (lib)sodium, probably well known to many of you. My folders are structured like this:
root --> main.cpp --> OurLibrary --> OurLIbrary.h --> OurLibrary.a --> libsodium --> sodium.h --> libsodium.a --> sodium --> ...
The libsodium headers include <types.h> somewhere, which doesn’t work using the online compiler. I get the following compiler error:
Info: ‘types.h’ file not found in “OurLibrary/libsodium/sodium/crypto_onetimeauth_poly1305.h”, Line: 15, Col: 10
Why is <types.h> not findable in MBed OS? It seems to be a system library. And libsodium should compile to ARM.
Any insight will be of help!