I'm trying to get the library at https://github.com/Duthomhas/CSPRNG to work.
Here is my code:
#include <iostream>
#include <duthomhas/csprng.hpp>
int main(int argc, const char * argv[]) {
duthomhas::csprng rng;
return 0;
}
When I compile this, I get two errors: "Undefined symbol: _csprng_create" and "Undefined symbol: _csprng_destroy". This doesn't make sense to me since the csprng.h file, which is included in csprng.hpp, defines the functions csprng_create() and csprng_destroy(). So why doesn't the compiler admit the existence of these functions? How do I solve this?