I am writing an application with cocos2d-x which is a C++ cross-platform game engine. In the game I need to generate UUID without any input. Just I want to call a function generateUuid
and assign the value returned by that function to an std::string
. I know that Boost.uuid does the work. Honestly, not sure what is the function I need, but the biggest problem is that I don't know how to integrate Boost.uuid to my code. I have tried build and use Boost once, but at that time I have installed the whole library. What are the steps to integrate the minimal code for my needs. Also I hope that it will be just inclusion of some header files, otherwise I am not sure that it will work on all platform cocos2d-x supports.
Please tell me what to do or what to read to learn how to use Boost.uuid only.