Installation Guides

Installing Chrono (C++)

Additional Chrono functionality is provided through optional modules, enabled during CMake configuration.

Chrono optional modules often rely on third-party libraries that might require additional installation steps, as described in each module installation page.

For some of these dependencies, we provide utility scripts that will download, configure, build, and install versions that are known to work with the current Chrono distribution. In each case, we provide both batch scripts (for Windows users) and bash scripts (for Linux/Mac users). Currently, utility scripts for the following sets of dependencies are available (under the contrib/build-scripts subdirectory of the Chrono source tree):

  • VSG libraries required for the Chrono::VSG module
  • URDF libraries required by the URDF parser in the Chrono::Parsers module
  • GL utility libraries required for the Chrono::OpenGL and (optionally) Chrono::Sensor modules
  • MUMPS library required for the optional direct sparse linear solver Chrono::Mumps module.
  • OpenCRG library required for the optional OpenCRG support in the Chrono::Vehicle module

The directory contrib/build-scripts also includes sample scripts (buildChrono.bat and buildChrono.sh) for configuring Chrono with CMake which can be used as examples of satisfying the dependencies for the various optional Chrono modules (assuming these dependencies were installed with the utility scripts described above).

Building a project that uses Chrono

Building Chrono for WebAssembly

Installing PyChrono

Chrono::Solidworks add-in

An add-in to simulate Solidworks models using the Chrono library

Building a Docker Image with Chrono