Installing Chrono (C++)

116 views
Skip to first unread message

Henry Mr.

unread,
Jan 12, 2024, 9:46:59 PM1/12/24
to ProjectChrono
hello all!
  In install Core Chrono module,In the 6th step, when running cmake, I don’t know how to solve the problem on the picture. I want to know if I downloaded eigen and whether I need to put the file specified by it in the specified location, or if there are other decisive measure。thinks!d30f18acafcf6752b5e6e2d49ad141a.png

Dario Mangoni

unread,
Jan 13, 2024, 7:43:21 PM1/13/24
to ProjectChrono
Hi Henry,
sometimes (but I don't remember why) you need to specify the location of the Eigen library through the EIGEN3_INCLUDE_DIR variable that is not shown by default in CMake.
So, please click on Add Entry and specify it manually, like this:
2024-01-14 01_41_58-Add Cache Entry.png

Dario Mangoni

unread,
Jan 15, 2024, 4:13:57 AM1/15/24
to ProjectChrono
BTW, it was also written in the guide: 
  • Specify the location of the Eigen installation. If this is not detected automatically, you may need to manually set the CMake variable EIGEN3_INCLUDE_DIR.
    For example, C:/workspace/libraries/eigen-3.3.7.
Reply all
Reply to author
Forward
0 new messages