c++boostcygwinboost-format

Error in boost format


When I try to compile in cygwin there are problem like this:

fatal error: boost/format.hpp: No such file or directory #include <boost/format.hpp>

How I fix this problem, someone please help me...


Solution

  • You can get this error for 2 reasons:

    1. You forgot to add #include <boost/format.hpp> in your file.

    2. You don't have boost installed. Installation guide here.