I have installed libuuid using the command below.
sudo apt-get install uuid-dev
And is properly installed from the terminal.
Then, i include <uuid/uuid.h>
header file.
But while calling function uuid-generate as under it is giving reference error
uuid_t newUUID;
uuid_generate(newUUID);
You have to link against libuuid (see /usr/lib/libuuid.so and /usr/lib/libuuid.a). Add linker option -luuid to tell the linker to reference the library file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With