Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.19045.
The CXX compiler identification is MSVC 19.39.33521.0
In project properties, the C++ language standard defaults to C++ 14, changing to C++ 17 did not help.
2>C:\Projects\workspace\chrono\src\chrono\physics\ChSystem.cpp(1500,113): warning C4018: '<': signed/unsigned mismatch
2>C:\Projects\workspace\chrono\src\chrono\physics\ChSystem.cpp(1551,40): warning C4389: '==': signed/unsigned mismatch
2>ChMaterialSurfaceNSC.cpp
2>(compiling source file '../../../chrono/src/chrono/physics/ChMaterialSurfaceSMC.cpp')
2>C:\Projects\workspace\eigen-3.4.0\Eigen\src\Core\DenseCoeffsBase.h(145,7): error C1060: compiler is out of heap space
2>(compiling source file '../../../chrono/src/chrono/physics/ChContactable.cpp')
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\list(487,1): error C1060: compiler is out of heap space
2>(compiling source file '../../../chrono/src/chrono/physics/ChAssembly.cpp')
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xtr1common(42,23): error C1060: compiler is out of heap space
2>(compiling source file '../../../chrono/src/chrono/physics/ChMaterialSurfaceNSC.cpp')
2>C:\Projects\workspace\eigen-3.4.0\Eigen\src\Core\CwiseBinaryOp.h(153,1): error C1060: compiler is out of heap space
2>(compiling source file '../../../chrono/src/chrono/physics/ChFeeder.cpp')
2>C:\Projects\workspace\eigen-3.4.0\Eigen\src\Core\PlainObjectBase.h(953,1): error C1060: compiler is out of heap space
2>(compiling source file '../../../chrono/src/chrono/physics/ChContactContainer.cpp')
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\memory(1595,1): error C1060: compiler is out of heap space
2>(compiling source file '../../../chrono/src/chrono/physics/ChContactContainerSMC.cpp')
2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\initializer_list(49,1): error C1060: compiler is out of heap space
2>(compiling source file '../../../chrono/src/chrono/physics/ChMaterialSurface.cpp')
2>C:\Projects\workspace\eigen-3.4.0\Eigen\src\Core\util\XprHelper.h(663,1): error C1060: compiler is out of heap space
2>(compiling source file '../../../chrono/src/chrono/physics/ChContactContainerNSC.cpp')
2>ChLimit.cpp
2>Done building project "ChronoEngine.vcxproj" -- FAILED.
Haifei, this must be due to how your system is set up.
It is true that the use of Eigen in Chrono leads to increased memory requirements during compilation, but I have no problems building Chrono with all modules enabled with VS 2022 and a setting of 8 max parallel builds on a Windows machine with 16GB RAM.
What is the size of your swap file? I have it set at 32GB. If yours is lower than that, try increasing it.
--Radu
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/60ca8773-b00e-4903-b4aa-7983838648c2n%40googlegroups.com.