SloanRenumber, compilation error.
Hello,
I have got this error. Please advise. Making dependency list for source file SloanRenumber.C g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/usr/local/OpenFOAM/ThirdParty-3.0.x/platforms/linux64Gcc/boost-system/include -I/usr/local/OpenFOAM/OpenFOAM-3.0.x/src/meshTools/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-3.0.x/src/parallel/decompose/decompositionMethods/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-3.0.x/src/renumber/renumberMethods/lnInclude -IlnInclude -I. -I/usr/local/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude -I/usr/local/OpenFOAM/OpenFOAM-3.0.x/src/OSspecific/POSIX/lnInclude -fPIC -c SloanRenumber.C -o /usr/local/OpenFOAM/OpenFOAM-3.0.x/platforms/linux64GccDPInt32Opt/src/renumber/SloanRenumber/SloanRenumber.o SloanRenumber.C:34:28: fatal error: boost/config.hpp: No such file or directory compilation terminated. Thanks |
Hi,
Since SloanRenumber depends on boost, you have to set BOOST_ARCH_PATH environment variable to the path where boost is installed (so $(BOOST_ARCH_PATH)/include contains boost folder with header files and $(BOOST_ARCH_PATH)/lib contains libraries). By default it points to Code:
export BOOST_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$boost_version You can follow installation guide here: https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL or here https://openfoamwiki.net/index.php/I...M-3.0.x/Ubuntu Though they both assume that you ADORE building third-party software from sources. |
boost and boost libraries missed
Hello Alexey,
Thank you for replay. I have just compiled OpenFOAM. I did not install all dependences. After your post I had realised that I do not have boost and boost libraries since it is not mentioned at Arch Linux OpenFOAM Wiki. Kind Regards |
All times are GMT -4. The time now is 07:59. |