I am compiling the code in macOS Mojave, and I am facing an issue.
Everything works correctly until the last step in the building process. Where I have to run "cmake --build . -j2". I get the following error:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
gmake[2]: Entering directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[2]: Entering directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[2]: Leaving directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[2]: Leaving directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[2]: Entering directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[2]: Entering directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
[ 1%] Building CXX object src/chem/CMakeFiles/chem.dir/calcdens.cpp.o
[ 2%] Building CXX object src/CMakeFiles/eflux.dir/eflux/eflux.cpp.o
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/calcdens.cpp:7:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/calcdens.hpp:11:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/reaclist.hpp:15:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/reaction.hpp:20:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/planet/allplanets.hpp:10:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/planet/planet.hpp:17:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/species.hpp:12:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/path.hpp:13:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/eleccrs.hpp:32:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/crs.hpp:14:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/cppscixml/scixml.hpp:13:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathfunction.hpp:12:
/Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathstring.hpp:26:10: fatal error: 'boost/regex.hpp' file not found
#include <boost/regex.hpp>
^~~~~~~~~~~~~~~~~
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/eflux/eflux.cpp:11:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/eflux/eflux.hpp:12:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathflux.hpp:12:
/Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathstring.hpp:26:10: fatal error: 'boost/regex.hpp' file not found
#include <boost/regex.hpp>
^~~~~~~~~~~~~~~~~
1 error generated.
gmake[2]: *** [src/CMakeFiles/eflux.dir/build.make:80: src/CMakeFiles/eflux.dir/eflux/eflux.cpp.o] Error 1
gmake[2]: Leaving directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[1]: *** [CMakeFiles/Makefile2:511: src/CMakeFiles/eflux.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
1 error generated.
gmake[2]: *** [src/chem/CMakeFiles/chem.dir/build.make:80: src/chem/CMakeFiles/chem.dir/calcdens.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 3%] Building CXX object src/chem/CMakeFiles/chem.dir/chem.cpp.o
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/chem.cpp:9:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/chem.hpp:13:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/calcdens.hpp:11:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/reaclist.hpp:15:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/reaction.hpp:20:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/planet/allplanets.hpp:10:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/planet/planet.hpp:17:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/species.hpp:12:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/path.hpp:13:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/eleccrs.hpp:32:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/crs.hpp:14:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/cppscixml/scixml.hpp:13:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathfunction.hpp:12:
/Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathstring.hpp:26:10: fatal error: 'boost/regex.hpp' file not found
#include <boost/regex.hpp>
^~~~~~~~~~~~~~~~~
1 error generated.
gmake[2]: *** [src/chem/CMakeFiles/chem.dir/build.make:93: src/chem/CMakeFiles/chem.dir/chem.cpp.o] Error 1
gmake[2]: Leaving directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[1]: *** [CMakeFiles/Makefile2:1057: src/chem/CMakeFiles/chem.dir/all] Error 2
gmake[1]: Leaving directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake: *** [Makefile:101: all] Error 2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Is this a common error with e predefined fix?
Thank you very much!
Roberto
I am compiling the code in macOS Mojave, and I am facing an issue.
Everything works correctly until the last step in the building process. Where I have to run "cmake --build . -j2". I get the following error:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
gmake[2]: Entering directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[2]: Entering directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[2]: Leaving directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[2]: Leaving directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[2]: Entering directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[2]: Entering directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
[ 1%] Building CXX object src/chem/CMakeFiles/chem.dir/calcdens.cpp.o
[ 2%] Building CXX object src/CMakeFiles/eflux.dir/eflux/eflux.cpp.o
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/calcdens.cpp:7:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/calcdens.hpp:11:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/reaclist.hpp:15:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/reaction.hpp:20:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/planet/allplanets.hpp:10:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/planet/planet.hpp:17:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/species.hpp:12:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/path.hpp:13:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/eleccrs.hpp:32:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/crs.hpp:14:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/cppscixml/scixml.hpp:13:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathfunction.hpp:12:
/Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathstring.hpp:26:10: fatal error: 'boost/regex.hpp' file not found
#include <boost/regex.hpp>
^~~~~~~~~~~~~~~~~
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/eflux/eflux.cpp:11:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/eflux/eflux.hpp:12:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathflux.hpp:12:
/Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathstring.hpp:26:10: fatal error: 'boost/regex.hpp' file not found
#include <boost/regex.hpp>
^~~~~~~~~~~~~~~~~
1 error generated.
gmake[2]: *** [src/CMakeFiles/eflux.dir/build.make:80: src/CMakeFiles/eflux.dir/eflux/eflux.cpp.o] Error 1
gmake[2]: Leaving directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[1]: *** [CMakeFiles/Makefile2:511: src/CMakeFiles/eflux.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
1 error generated.
gmake[2]: *** [src/chem/CMakeFiles/chem.dir/build.make:80: src/chem/CMakeFiles/chem.dir/calcdens.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 3%] Building CXX object src/chem/CMakeFiles/chem.dir/chem.cpp.o
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/chem.cpp:9:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/chem.hpp:13:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/calcdens.hpp:11:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/reaclist.hpp:15:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/chem/reaction.hpp:20:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/planet/allplanets.hpp:10:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/planet/planet.hpp:17:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/species.hpp:12:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/path.hpp:13:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/eleccrs.hpp:32:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/species/crs.hpp:14:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/cppscixml/scixml.hpp:13:
In file included from /Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathfunction.hpp:12:
/Volumes/GAS_HDD/aeroplanets2/aeroplanets/src/math/mathstring.hpp:26:10: fatal error: 'boost/regex.hpp' file not found
#include <boost/regex.hpp>
^~~~~~~~~~~~~~~~~
1 error generated.
gmake[2]: *** [src/chem/CMakeFiles/chem.dir/build.make:93: src/chem/CMakeFiles/chem.dir/chem.cpp.o] Error 1
gmake[2]: Leaving directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake[1]: *** [CMakeFiles/Makefile2:1057: src/chem/CMakeFiles/chem.dir/all] Error 2
gmake[1]: Leaving directory '/Volumes/GAS_HDD/aeroplanets2/aeroplanets/build'
gmake: *** [Makefile:101: all] Error 2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Is this a common error with e predefined fix?
Thank you very much!
Roberto