Error compiling with Ubuntu 20.04.4 LTS

If it is just a “missing dependency”, simply try to execute this command several times in a row (and maybe with “-j1” instead of “-j4”):
cmake --build . --target install -k -j4

Update: I added the “-k” make option (which is usually helpful).