Installation Guides

Building Chrono

Additional Chrono functionality is provided through optional modules. Building one or more of these modules can be enabled during CMake configuration. A brief overview of the functionality provided by each module, additional requirements and dependencies, and specific build instructions are provided in the following subsections:

Some of the Chrono optional modules have dependencies on third-party packages and libraries. Instructions on obtaining, installing, and using these dependencies during Chrono configuration are provided in the installation instructions specific to each module (see above).

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 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 Chrono for WebAssembly

Building a project that uses Chrono

Auxiliary tools

The PyChrono Python module

The Chrono::Solidworks add-in tool