error in installing laminarsmoke++

More
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.

More
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'
The following user(s) said Thank You: davidbhatt, hollycat1

Please Log in or Create an account to join the conversation.

More
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.

Time to create page: 0.145 seconds
Powered by Kunena Forum

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok