I installed boost via
$ brew install boost
In xcode I have specified
/usr/local/Cellar/boost/1.65.1/include
in my header search path and
/usr/local/Cellar/boost/1.65.1/lib
in my library search path. I can successfully
#include <boost/variant.hpp>
but when I try to include boost/filesystem.hpp I get the linker error:
Undefined symbols for architecture x86_64:
"boost::system::system_category()"
The directory /usr/local/Cellar/boost/1.65.1/include/boost does include filesystem.hpp.
I tried the solution here but it did not help with including boost/filesystem.hpp. What could be the issue?
Are there flags I should have used to install Boost?