Firstly, Ogre's CMake won't find the latest TBB libs for Visual C++ 11. I fixed this by adding
Code: Select all
if (MSVC_VERSION EQUAL 1700)
set(COMPILER_PREFIX "vc11")
endif ()
Secondly, nedmalloc's malloc.h header, for some ungodly reason, does this:
Code: Select all
#define _WIN32_WINNT 0x403
I fixed this by removing the offending line from nedmalloc. No external headers, in my opinion, should ever touch the winapi version defines.
Third, OgreVolumeChunk.cpp is missing a semicolon after OGRE_THREAD_SLEEP(0) on line 256.
I fixed this by adding the semicolon there. I'm not sure if it should go to OgreThreadDefinesTBB.h instead, but at least I got Ogre compiled this way.