Hard crash of windows on compiling eigen3 with visual studio 2019

Sander 1 Reputation point
2020-08-18T16:29:20.557+00:00

I am following these instructions to compile a project that relies on Eigen3: https://stackoverflow.com/questions/48144415/not-found-eigen3-dir-when-configuring-a-cmake-project-in-windows When clicking 'build' on the generated Eigen3 project in MSVC2019, ram usage goes to 100% (16GB+) and after a few minutes, the OS hangs to the point of no mouse cursor movement or response to devices connecting.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,406 Reputation points
    2020-08-19T07:44:28.157+00:00

    Hi Sander-3255,

    You could reduce the maximum numbers of parallel projects in Tools/Options/Projects and Solutions/Build And Run.
    18744-annotation-2020-08-19-15282242.jpg

    By the way, the Eigen3 solution contains multiple projects. To solve the problems which the SO thread mentions, you just need to build "All_Build" project and "INSTALL" project.
    18762-annotation-2020-08-19-152842.jpg 18726-annotation-2020-08-19-1528242.jpg

    Best Regards,
    Dylan

    0 comments No comments