FastBinaryEncoding
FastBinaryEncoding copied to clipboard
Unable to build with C++ proto models
Hi,
I am trying to build my generated proto models in my C++ project and I get the following errors:
/usr/bin/ld: CMakeFiles/MyProject.dir/main.cpp.o: in function FBE::uuid_t::sequential()': /home/Projects/MyProject/proto/fbe.cpp:170: undefined reference to
uuid_generate_time'
/usr/bin/ld: CMakeFiles/MyProject.dir/main.cpp.o: in function FBE::uuid_t::random()': /home/Projects/MyProject/proto/fbe.cpp:220: undefined reference to
uuid_generate_random'
These functions uuid_generate_time and uuid_generate_random does not seem to be defined anywhere in the source files.
they are defined in the uuid lib, which you might have to link manually.