Changes between Version 1 and Version 2 of Ticket #1504, comment 38


Ignore:
Timestamp:
Jul 11, 2013, 6:14:02 AM (11 years ago)
Author:
historic_bruno

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1504, comment 38

    v1 v2  
    2626* I think I've found the reason why the crash in gloox occurs on Windows, it's because `std::string`s are being created and passed into the gloox DLL (first on line 85 of `XmmpClient.cpp`) and manipulated, but that requires both the game and the gloox lib to be built with identical versions of MSVC (see [http://stackoverflow.com/questions/2322095/why-does-this-program-crash-passing-of-stdstring-between-dlls this question] on !StackOverflow). That's really annoying because it means the game couldn't be built with a different version of MSVC than the gloox lib. I've confirmed that building both gloox and the game with VC++ 2012 or 2010 works, but once you mix them, it crashes.
    2727* The gloox 1.0.2 release tarball again has missing files, `tlsgnutlsserver.h` / `tlsgnutlsserver.cpp`, I deleted them from the project and it built correctly, I suppose they are not even needed on Windows (they ''are'' in gloox SVN, so it must have been a packaging error)
    28 * The MSVC project outputs the debug libs in the wrong place, a trivial patch fixes it (this should be reported upstream as well):
     28* The MSVC project outputs the debug libs in the wrong place, a trivial patch fixes it (this should be reported [http://bugs.camaya.net/queue/?id=1 upstream] as well):
    2929{{{
    3030Index: gloox.vcproj