Likes: 0
Hi
I really need 3 failed errors fixed when im building my core!
My errors:
Error 1 error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of '-Zm115' or greater c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xmemory 164
Error 2 fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xmemory 164
Error 3 error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of '-Zm135' or greater c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xmemory 164
Error 4 fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xmemory 164
Error 5 fatal error LNK1181: cannot open input file '..\game\Release\game.lib' worldserver
› See More: WTB fix 3 failed errors when building core
go to
cmake/compiler/msvc/settings.cmake
FIND
REPLACE WITHCode:string(REPLACE "/Zm1000" "/Zm500" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
Code:string(REGEX REPLACE "/Zm[0-9]+ *" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm500" CACHE STRING "" FORCE)
Bookmarks