CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Error compiling new fvPatchField with wmake libso (https://www.cfd-online.com/Forums/openfoam-programming-development/230366-error-compiling-new-fvpatchfield-wmake-libso.html)

saumavadey September 20, 2020 14:28

Error compiling new fvPatchField with wmake libso
 
I am trying to compile my new fvPatchField type boundary condition using wmake libso command but getting the following error:

wmake libso (wellConfBC) Making dependency list for source file wellConfBCFvPatchScalarField.C wmkdepend: could not open 'boost/math/special_functions.hpp' for source file 'wellConfBCFvPatchScalarField.C': No such file or directory g++ -std=c++11 -m64 -pthread -DOPENFOAM=2006 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-v2006/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-v2006/src/meshTools/lnInclude -iquote. -IlnInclude -I/opt/OpenFOAM/OpenFOAM-v2006/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-v2006/src/OSspecific/POSIX/lnInclude -fPIC -c wellConfBCFvPatchScalarField.C -o Make/linux64Gcc63DPInt32Opt/wellConfBCFvPatchScalarField.o g++ -std=c++11 -m64 -pthread -DOPENFOAM=2006 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-v2006/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-v2006/src/meshTools/lnInclude -iquote. -IlnInclude -I/opt/OpenFOAM/OpenFOAM-v2006/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-v2006/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc63DPInt32Opt/wellConfBCFvPatchScalarField.o -L/opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64Gcc63DPInt32Opt/lib \ -lfiniteVolume -lmeshTools -lOpenFOAM -ldl \ -lm -o /home/saumavadey/OpenFOAM/saumavadey-v2006/platforms/linux64Gcc63DPInt32Opt/lib/wellConfBC /usr/lib/x86_64-linux-gnu/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status /opt/OpenFOAM/OpenFOAM-v2006/wmake/makefiles/general:148: recipe for target '/home/saumavadey/OpenFOAM/saumavadey-v2006/platforms/linux64Gcc63DPInt32Opt/lib/wellConfBC' failed make: *** [/home/saumavadey/OpenFOAM/saumavadey-v2006/platforms/linux64Gcc63DPInt32Opt/lib/wellConfBC] Error 1

Please help me sort out this error!

Regards

Saumava


All times are GMT -4. The time now is 21:19.