I am really inexperienced in programming. I am having troubles installing odeint (and boost) to solve a system of differential equations. I have been looking at a lot of questions about installing boost tried a lot of them, but I have not been able to use odeint yet. I am using Mac Yosemite 10.10.5 Below are my questions, I really appreciate your help livesavers:
1, If I can install boost sucessfully, then when I want to use odeint, do I just need to include #include<boost/odeint/optionalSubdirectories> as the header of my file? I got confused because on the odeint webpage, there are files for downloads, which include examples. I was wondering if I have to download these files in order to make odeint work after I have downloaded boost? If yes, where should I put the downloaded files from odeint webpage?
2, In the boost's installing instructions, they said the second step (after downloading) is to execute tar --bzip2 -xf /path/to/boost_1_61_0.tar.bz2 in the directory where I want to put the Boost installation. Where is a good place to put my Boost installation? After I do this, can I just start including header files into my c++ projects? Or do I have to do something else before odeint actually works?
3, When I compile my files (after writing codes to solve differential equations), do I have to do anything with boost or odeint, or do I just compile my files as usual?
I am sorry if my questions sound dumb. As I mentioned, I am inexperienced. I really hope for your help!
brew install boost- Nick Matteo