One of the servers we are looking to run on GameLift is our own custom C++ server, I’ve managed to integrate the Release version of the SDK with our server and I’m looking to build Debug binaries as well, however I’ve run into an issue.
I’ve build the SDK with the following command lines
cmake -G "Visual Studio 14 2015 Win64" .. msbuild ALL_BUILD.vcxproj /p:Configuration:Debug
But when I add the built libs (from prefix\lib) I’m getting the following errors
1>libboost_system.lib(error_code.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in TestGLServerCPP.obj 1>libboost_system.lib(error_code.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in TestGLServerCPP.obj 1>MSVCRTD.lib(initializers.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library 1>C:\Development\CG\TestGLServerCPP\x64\Debug\TestGLServerCPP.exe : fatal error LNK1319: 2 mismatches detected
I’ve added the following libraries in the debug config of my server
(For release I needed to included the release built versions of these files)
Is there anything I need to do differently to get a debug version working?