So, it works finallygit add CMakeLists.txt I forgot link the serialization lib into the project.