Skip to content

open source troubleshooting

When running cmake, these errors fill the screen, and although you can run make afterwards they are in the way and may even exit a make session.

error
CMake Error in src/benchmarks/CMakeLists.txt:
 Imported target "Boost.. code-block::date_time" includes non-existent path

 "/include"

in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

* The path was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and references files it does not
provide.

I chose the pragmatic way, since this is probably some missing ENV variable (${VAR}/include) it means it searches for /include. So this will make them disappear :

fix
sudo mkdir /include