I am working on boost graph library but I could not get it worked. I found an example code and opened it. However, there is also some .hpp files to add and I get errors regarding this:
cannot open source file "boost/config.hpp"
cannot open source file "boost/graph/adjacency_list.hpp"
What should I do to fix this? I can't figure out how to add them to my code.
There shouldn't be a reason to "add" any header files, at least not individually.
Install boost, add the path to the top-level include directory (the one that holds the directory just called "boost") to your include path, and compile.