Results 1 to 2 of 2
-
23-02-14, 12:23 AM #1Beginner

- Join Date
- Jul 2011
- Posts
- 1
- Rep Power
- 15
- Reputation
- 1
WTB fix 3 failed errors when building core
Register to remove this adHi
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
-
23-02-14, 06:30 AM #2Graphics Guru



- Join Date
- Feb 2009
- Posts
- 1,377
- Rep Power
- 24
- Reputation
- 382
Register to remove this adgo 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)



Reply With Quote
Wise






