-
Forum
-
Main Forum
-
laminarSMOKE++
-
error in installing laminarsmoke++
error in installing laminarsmoke++
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
4 years 4 months ago #22
by davidbhatt
I tried compiling laminar smoke++ package inside openfoam6 docker. i could build the boundary conditon library succesflly. however while buiding radiation library i am getting following error.
OpenFOAM-6(271) wmake
Making dependency list for source file laminarSMOKEthermoClass.C
g++ -std=c++11 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -DOPENFOAM_VERSION=60 -DDEVVERSION=0 -I -I/home/openfoam/libs/boost/include -I/home/openfoam/libs/eigen3 -I/home/openfoam/libs/rapidxml -I../../solvers/laminarSMOKE -I/opt/openfoam6/src/finiteVolume/lnInclude -I/opt/openfoam6/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam6/src/OpenFOAM/lnInclude -I/opt/openfoam6/src/OSspecific/POSIX/lnInclude -fPIC -c include/laminarSMOKEthermoClass.C -o Make/linux64GccDPInt32Opt/include/laminarSMOKEthermoClass.o
include/laminarSMOKEthermoClass.C: In member function 'Foam::IOobject Foam::laminarSMOKEthermoClass::createIOobject(const Foam::fvMesh&) const':
include/laminarSMOKEthermoClass.C:35:13: error: 'class Foam::IOobject' has no member named 'headerOk'
if (io.headerOk())
^~~~~~~~
include/laminarSMOKEthermoClass.C:46:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/opt/openfoam6/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/include/laminarSMOKEthermoClass.o' failed
make: *** [Make/linux64GccDPInt32Opt/include/laminarSMOKEthermoClass.o] Error 1
Can anybody please help me fix this?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 19
-
Thank you received: 8
-
-
4 years 4 months ago #23
by acuoci
Could you please give more details about the mybashrc file you are currently using?
I am referring in particular to the two following options:
export OPENFOAM_VERSION='-DOPENFOAM_VERSION=1000'
export DEVVERSION='-DDEVVERSION=1'
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
4 years 4 months ago #24
by davidbhatt
thanks i was using DDEVVERSION=0. I cahnged this value to 1 and it fixed my problem
Please Log in or Create an account to join the conversation.
-
Forum
-
Main Forum
-
laminarSMOKE++
-
error in installing laminarsmoke++
Time to create page: 0.145 seconds