The majority of the Colvars module can be built with all major versions of the C++ language. A few recent features are an exception, and require an executable built with C++11, which all recent compilers support but not all enable by default yet.
Because NAMD, LAMMPS or VMD do not support C++11 on all platforms yet, they are often built without those features. This page points to the relevant information to identifying and potentially solving this issue.
Currently the following variable types are only available when the code is built with C++11 standard or higher:
Starting from 2019-06-02
customFunction also requires C++11, due to improvements in the Lepton library available from the OpenMM repository.
GROMACS currently follows the C++11 standard (later versions will require C++17).
LAMMPS is built by default with C++11, including most of the precompiled builds. For versions after 3Mar2020, C++11 or later is a strict requirement.
NAMD precompiled builds and most of the build recipes contained in the
arch folder follow the C++11 standard.
VMD currently does not provide precompiled builds or build recipes with C++11 support. Enabling C++11-dependent features requires a custom build with a modified the
configure script. This repository contains, among others, an example patch for making such changes.