Installation Guides

Installing Chrono (C++)

Additional Chrono functionalities are provided through optional modules, conditionally enabled during CMake configuration. 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
  • 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 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

User projects should start from the template offered in the repository under: chrono/template_project.

Full instructions can be found in: Linking to Chrono

Building Chrono for WebAssembly

Installing PyChrono

Chrono::Solidworks add-in

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