If you get compilation error messages like the one shown below where format.h is not being recognized, then it probably means the library is not installed.
fatal error: fmt/core.h: No such fle or directory
2 | #include <fmt/core.h>
Install the library fmt using commands below:
sudo add-apt-repository universe
sudo apt update
sudo apt install libfmt-dev