|
[Sponsors] |
[OpenFOAM.org] SloanRenumber, compilation error. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 21, 2015, 09:14 |
SloanRenumber, compilation error.
|
#1 |
New Member
anton
Join Date: Apr 2015
Posts: 7
Rep Power: 11 |
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 |
|
November 21, 2015, 10:26 |
|
#2 |
Senior Member
|
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. |
|
November 21, 2015, 17:10 |
boost and boost libraries missed
|
#3 |
New Member
anton
Join Date: Apr 2015
Posts: 7
Rep Power: 11 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 07:45 |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 07:35 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 12:39 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 18:38 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |