Skip to content

Troubleshooting

Donato Meoli edited this page Feb 13, 2024 · 8 revisions

Note: This page is work-in-progress.

During CMake configuration, you may encounter one or more of the following errors:

  • No CMAKE_CXX_COMPILER could be found.

    This usually means that your C++ compiler is not installed. Make sure that either gcc or clang is installed properly.

    If the error persists you can set either the environment variable CXX or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

  • Unable to find the requested Boost libraries.

    CMake was not able to locate your Boost installation, so make sure that it is installed. If you can't or won't install Boost, you need to pass BOOST_ROOT to CMake like this:

    cmake .. -DBOOST_ROOT="/my/custom/path/to/boost/"

Clone this wiki locally