I have installed boost using homebrew and it was working before I followed some steps to try and get gdb debugger working but now after I followed the steps and restarted, I can't even compile my program. I have googled all over the place for the last 2 hours and I cannot figure this out.
I have tried uninstalling and reinstalling boost and anything else that I could find on google or stackoverflow but nothing is working and I have an assignment due tomorrow night and I am freaking out.
Exact error:
fatal error: boost/asio.hpp: No such file or directory
#include <boost/asio.hpp>
^~~~~~~~~~~~~~~~
compilation terminated.
I have tried compiling a number of ways including:
g++ -g -I /usr/local/Cellar/boost/1.69.0 battleship_client.cc -lboost_system