Random Chitchat 2012-2016
Oooh, PolarSSL seems to integrate rather nicely - they have a CMake file and we can simply add their full repo as a submodule and specify only the library dependencies in our CMakeLists.txt. I've got the project setup working, now to the actual code replacement...
Thanks given by:
Great!
Thanks given by:
I'm liking that library more and more. It's quite easy to use, no stupid warnings, compiles fast... If only their documentation was a bit more complete, but still it's better than most crypto libs.
Thanks given by:
Ouch! First major stumble - the PolarSSL library supports only AES/CFB128, while minecraft uses AES/CFB8. And just until now I had no idea what those two were, so let me share the knowledge: CFB128 uses a 16-byte feedback loop, while CFB8 uses a 1-byte feedback loop only. And I have no idea how to make this work for us Sad
Thanks given by:
That sounds bad, even though that was jargon to me! Submit a feature request? Is a CFB8 easy to make/port for us or them?
Thanks given by:
I did the CFB8 decryption, it was PITA finding info about it, but it seems to work. Now I need to do the CFB8 encryption, too. Wish me luck, we might still get away with this.

I'm good! Smile It seems I did both, PolarSSL is now fully working for me. There's a PR now with the swap, I need someone with Linux, preferably 64-bit, to verify that it works for them, too.
Thanks given by: tigerw , NiLSPACE
I'm having a bit of a crash problem with AI. Sometimes when a player logs off, the world object gets destroyed in the middle of a mob tick, so crash. Is it something to do with

Code:
// _X 2013_10_22: This is a quick fix for #283 - the world needs to be locked while ticking mobs
    cWorld::cLock Lock(*this);

that?
Thanks given by:
I tried to update my MCServer today but while compiling I got this error:
Code:
1>Compiling...
1>CMakeCXXCompilerId.cpp
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(18) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(12) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(20) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(14) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(21) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(15) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(29) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(18) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(30) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(20) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(31) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(21) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(33) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(22) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(37) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(29) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(38) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(30) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(39) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(31) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(40) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(33) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(43) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(37) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(44) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(38) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(45) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(39) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(46) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(40) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(49) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(43) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(51) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(44) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(52) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(45) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(55) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(49) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(57) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(51) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(58) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(52) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(61) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(55) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(64) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(57) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(65) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(58) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(66) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(46) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(69) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(64) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(70) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(65) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(75) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(61) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(77) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(69) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(78) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(70) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(79) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(66) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(82) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(75) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(84) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(77) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(85) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(78) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(86) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(79) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(90) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(82) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(93) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(90) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(95) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(93) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(98) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(84) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(99) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(85) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(100) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(86) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(104) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(95) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(105) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(98) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(106) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(99) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(108) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(100) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(112) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(104) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(113) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(105) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(114) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(106) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(117) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(112) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(119) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(113) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(120) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(114) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(121) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(108) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(124) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(117) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(127) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(124) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(128) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(119) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(129) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(120) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(131) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(121) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(135) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(127) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(137) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(128) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(138) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(129) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(142) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(131) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(145) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(142) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(149) : warning C4005: 'COMPILER_VERSION_TWEAK' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(25) : see previous definition of 'COMPILER_VERSION_TWEAK'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(154) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(135) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(156) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(137) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(157) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(138) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(158) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(145) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(167) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(154) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(170) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(167) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(173) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(156) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(174) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(157) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(175) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(158) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(178) : warning C4005: 'COMPILER_VERSION_MAJOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(173) : see previous definition of 'COMPILER_VERSION_MAJOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(179) : warning C4005: 'COMPILER_VERSION_MINOR' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(174) : see previous definition of 'COMPILER_VERSION_MINOR'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(180) : warning C4005: 'COMPILER_VERSION_PATCH' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(175) : see previous definition of 'COMPILER_VERSION_PATCH'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(190) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(170) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(193) : warning C4005: 'COMPILER_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(190) : see previous definition of 'COMPILER_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(208) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(205) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(211) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(208) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(214) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(211) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(217) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(214) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(220) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(217) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(223) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(220) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(226) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(223) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(229) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(226) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(232) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(229) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(235) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(232) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(238) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(235) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(241) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(238) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(244) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(241) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(247) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(244) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(250) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(247) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(253) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(250) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(256) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(253) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(259) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(256) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(262) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(259) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(265) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(262) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(268) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(265) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(271) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(268) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(274) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(271) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(277) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(274) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(280) : warning C4005: 'PLATFORM_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(277) : see previous definition of 'PLATFORM_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(294) : warning C4005: 'ARCHITECTURE_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(291) : see previous definition of 'ARCHITECTURE_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(297) : warning C4005: 'ARCHITECTURE_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(294) : see previous definition of 'ARCHITECTURE_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(300) : warning C4005: 'ARCHITECTURE_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(297) : see previous definition of 'ARCHITECTURE_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(303) : warning C4005: 'ARCHITECTURE_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(300) : see previous definition of 'ARCHITECTURE_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(306) : warning C4005: 'ARCHITECTURE_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(303) : see previous definition of 'ARCHITECTURE_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(309) : warning C4005: 'ARCHITECTURE_ID' : macro redefinition
1>        .\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(306) : see previous definition of 'ARCHITECTURE_ID'
1>.\CMakeFiles\2.8.12.1\CompilerIdCXX\CMakeCXXCompilerId.cpp(378) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "Globals.h"' to your source?
1>Build log was saved at "file://g:\MCServer\Nieuwste versie\MCServer\src\MCServer.dir\Release\BuildLog.htm"
1>MCServer - 1 error(s), 108 warning(s)
2>------ Skipped Build: Project: ALL_BUILD, Configuration: Release Win32 ------
2>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 1 failed, 12 up-to-date, 1 skipped ==========
Thanks given by:
Uhm, reclone and rerun cmake?
Thanks given by:
tigerw, what do you mean with "the world object", the entire cWorld instance? That should be ever deleted only when the server is shutting down.

STR, that seems like something internal to CMake, I'd try, in this order:
- re-run cmake:
Code:
cmake .
- delete the $/CMakeCache.txt file, then re-run cmake with whatever compiler you want to select:
Code:
cmake -G "Visual Studio 9 2008" .
- Delete everything except for the .git folder, then re-checkout:
Code:
git checkout -- *
cmake -G "Visual Studio 9 2008" .
Thanks given by:




Users browsing this thread: 60 Guest(s)