MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011913 | CMake | CMake | public | 2011-03-01 08:53 | 2016-06-10 14:31 |
| Reporter | Brendan Wilson | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | Intel Pentium D w/ 4GB memory | OS | Windows 7 Home Premium | OS Version | 32-bit |
| Product Version | CMake 2.8.4 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0011913: Cmake default settings for CXX compiler causes out of heap space errors in large and complex projects for VS2010 | ||||
| Description | When building large and complex projects in Visual Studio 10 Cmake's default setting of /Zm1000 in Windows-cl.cmake causes 'error 1060: out of heap space' for systems that have 4GB or less of system memory. | ||||
| Steps To Reproduce | on a 32-bit system with 4GB of memory follow the steps in the following page to set up and autobuild envionment. Instructions: http://wiki.secondlife.com/wiki/User:Nicky_Perian/Visual_Studio_10_Autobuild [^] Repositories needed: autobuild framwork: https://bitbucket.org/lindenlab/autobuild [^] Source Code : https://bitbucket.org/NickyP/viewer-autobuild2010-wip [^] | ||||
| Additional Information | I have made a work around in Windows-cl.cmake for use in my system and it is the following: replace line 156 with: IF(MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /EHsc /GR") ELSEIF(NOT MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR") ENDIF(MSVC10) replace line 172 with: IF(MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /GX /GR") ELSEIF(NOT MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /Zm1000 /GX /GR") ENDIF(MSVC10) replce line 184 with : IF(MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /GX /GR") ELSEIF(NOT MSVC10) SET(CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /Zm1000 /GX /GR") ENDIF(MSVC10) | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-03-01 08:53 | Brendan Wilson | New Issue | |||
| 2012-08-11 11:09 | David Cole | Status | new => backlog | ||
| 2012-08-11 11:09 | David Cole | Note Added: 0030235 | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041809 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||