I have no experience with using other libraries in C++ other than the STL. I have been using clang++ for compiling small C++ codes and projects using Terminal commands with makefiles and rarely I've had to use XCode. However it had to come the day I had to move beyond that soft code beach and step into the big jungle of option crowded IDE's and C++ libraries.
I've downloaded from here: http://sourceforge.net/projects/boost/files/boost/1.60.0/ the latest version of the boost library. I've unziped it in a folder. Then I've opened a Terminal in the unziped folder called "boost" and naively without having read the installation instructions deeply thinking that it would be easy to get it to work I've executed "./bootstrap.sh" and then "./b2" and after a (veeeeery long) while it seems like it finished the installation.
And after that, when I come to compile the code where I use some .hpp from the boost library with clang++ using the terminal I get the following error:
I don't know if that error means that the installation of boost hasn't been successful or what. I can't even find a way to confirm that the installation of the library performed well. I've googled a lot trying to find a solution and some say to try to compile the code using XCode changing some header parameters that I don't know about. I do really get lost inside big IDEs sea of options and like to keep things clear.
Can anybody help me with this? It's the first time I'm using external libraries with C++.
Thanks a lot.
I've downloaded from here: http://sourceforge.net/projects/boost/files/boost/1.60.0/ the latest version of the boost library. I've unziped it in a folder. Then I've opened a Terminal in the unziped folder called "boost" and naively without having read the installation instructions deeply thinking that it would be easy to get it to work I've executed "./bootstrap.sh" and then "./b2" and after a (veeeeery long) while it seems like it finished the installation.
And after that, when I come to compile the code where I use some .hpp from the boost library with clang++ using the terminal I get the following error:
Code:
fatal error: 'boost/asio.hpp' file not found
#include <boost/asio.hpp>
I don't know if that error means that the installation of boost hasn't been successful or what. I can't even find a way to confirm that the installation of the library performed well. I've googled a lot trying to find a solution and some say to try to compile the code using XCode changing some header parameters that I don't know about. I do really get lost inside big IDEs sea of options and like to keep things clear.
Can anybody help me with this? It's the first time I'm using external libraries with C++.
Thanks a lot.