I have tried to understand: (Manipulating the search path for include files), but I am having troubles. Note that I am new.
I have tried putting the following in the #include with brackets: #include "boost/1.73.0/include/boost/math/tools/promotion.hpp" where "= bracket.
I have tried to add the search path to the options file in make. I used: -I/boost/1.73.0/include/boost/math/tools and #include "promotion.hpp"
The person that created the original OpenFoam solver had nothing in the options file, and had #include "boost/math/tools/promotion.hpp" where "= bracket.
I am not compiling one file, I am using Allwmake to compile an OpenFoam solver. In some cases, the file path has changed since the solver was written for an older version. So, I am updating.
A Computational Fluid Dynamics site suggested I install boost under home directory. The boost path is not recognized.
I ask for "complete" explanation because I have tried a lot. I am lost.
Each gave me the compilation errors that the file or directory does not exist.
I need help. I have read a lot, I am ignorant still, and I need a complete explanation.
Thanks!