I had this problem too, before I started using LuaJIT (which would be another workaround for this problem). It was about one and a half years ago when BlockMen told me how to fix it. Open this, by-CMake generated file: <build directory>\src\lua\build\lua.vcxproj and replace all "MultiThreadedD...