damus-io / nostrdb

The unfairly fast embedded nostr database backed by lmdb
Other
87 stars 15 forks source link

Add required dependencies to README #23

Open eznix86 opened 6 months ago

eznix86 commented 6 months ago

fixes #22

~3 required dependencies are missing to be able to install the project properly.~

As for Mac OS (In my case Sonoma), I have to write byteswap.h to /usr/local/include/

#if defined(__APPLE__)
// Mac OS X / Darwin features
#include <libkern/OSByteOrder.h>
#define bswap_16(x) OSSwapInt16(x)
#define bswap_32(x) OSSwapInt32(x)
#define bswap_64(x) OSSwapInt64(x)
#endif

edit: 2 required dependencies are needed to be able to install the project properly.

eznix86 commented 6 months ago

@jb55 curl removed