I have a custom-made game engine and want to integrate PlayFab into it. I made Sandbox project to try it out. I read the documentation and it instructs the following:
- Download com.playfab.xplatcppsdk.vXXX (Success)
- Make sure it builds in Release mode (Success)
- Copy sample code (Success)
- Run the project, select Debug > Start Debugging (Failed)
I am having issues with step 4. It links, compiles, and run with no issues at all in Debug mode. However, in Release mode, it does not link properly. Here are the errors:
- 1>LINK : fatal error C1047: The object or library file 'C:...\repos\Sandbox\packages\com.playfab.xplatcppsdk.v141.3.87.220804\build\native\lib\x64\Release\lib_json.lib' was created by a different version of the compiler than other objects like 'x64\Release\Main.obj'; rebuild all objects and libraries with the same compiler
- 1>LINK : fatal error LNK1257: code generation failed
I am looking into building the SDK from scratch after running into this, because I am so close to start the actual game development and do not intend to ship an executable made in Debug mode, but I would like to have the NuGet package working. Does anyone know how to fix this?
Here are the links to the documentation:
UpdateIt's been a week now trying to figure out the documentation to make this work. GameLift from AWS is starting to look more promising.