realXtend / tundra

realXtend Tundra SDK, a 3D virtual world application platform.
www.realxtend.org
Apache License 2.0
84 stars 70 forks source link

ArchivePlugin dependency links incorrectly to release mode VC CRT in Debug mode builds. #598

Closed juj closed 11 years ago

juj commented 11 years ago

A depencency of ArchivePlugin links to release mode VC CRT in debug builds, giving

LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library

For debug-mode builds, the dependencies of ArchivePlugin should link to the debug DLL version of VC CRTs.

jonnenauha commented 11 years ago

I've made a fix that builds zlib with correct debug runtime for the debug lib (current system only builds release). zziplib links to zlib and when opening zip files debug build crashed. My fix fixes the crash.

Will be committed to our bugfix branch and sent over at some point.