Open Stinkfist0 opened 11 years ago
As talked on IRC we need to modify the projects cmake config. We are currently cloning my fork of the repo. These guys don't seem to be very interested in Windows so I'm sure we can get these trivial changes to upstream also.
Anyone who wants to tackle this send me a pull request https://github.com/jonnenauha/qjson, or I guess directly to the original repo and let me know so I can update my fork.
This is the line that needs to be added https://github.com/realXtend/naali/blob/tundra2/cmake/ModuleSetup.cmake#L163
I would wrap it with if (MSVC)
in cmake so its more likely to end up upstream.
After running both BuildDeps_Debug and BuildDeps_RelWithDebInfo and building Tundra using Debug configuration, Tundrad.exe as will crash due to having wrong and incompatible qjson.dll version (RelWithDebInfo) in the /bin directory. As a solution, Debug version of the qjson.dll must have some kind of debug postfix.