GroovyBC installation Error
I tried installing "GroovyBC" on my computer and when I type "wmake libso" (as directed on the site : https://openfoamwiki.net/index.php/Contrib/groovyBC ) in the files folder I get the following error:
" . . . /opt/openfoam240/src/OpenFOAM/lnInclude/Field.C:235:1: note: no known conversion for argument 1 from ‘Foam::tmp<Foam::Field<Foam::Tensor<double> > >’ to ‘const Foam::UList<Foam::SymmTensor<double> >&’ /opt/openfoam240/src/OpenFOAM/lnInclude/Field.C:54:1: note: Foam::Field<Type>::Field(Foam::label, const Type&) [with Type = Foam::SymmTensor<double>; Foam::label = int] Foam::Field<Type>::Field(const label size, const Type& t) ^ /opt/openfoam240/src/OpenFOAM/lnInclude/Field.C:54:1: note: candidate expects 2 arguments, 1 provided /opt/openfoam240/src/OpenFOAM/lnInclude/Field.C:47:1: note: Foam::Field<Type>::Field(Foam::label) [with Type = Foam::SymmTensor<double>; Foam::label = int] Foam::Field<Type>::Field(const label size) ^ /opt/openfoam240/src/OpenFOAM/lnInclude/Field.C:47:1: note: no known conversion for argument 1 from ‘Foam::tmp<Foam::Field<Foam::Tensor<double> > >’ to ‘Foam::label {aka int}’ /opt/openfoam240/src/OpenFOAM/lnInclude/Field.C:40:1: note: Foam::Field<Type>::Field() [with Type = Foam::SymmTensor<double>] Foam::Field<Type>::Field() ^ /opt/openfoam240/src/OpenFOAM/lnInclude/Field.C:40:1: note: candidate expects 0 arguments, 1 provided PatchValueExpressionParser.tab.cc: In member function ‘pve::PatchValueExpressionParser::token_number_typ e pve::PatchValueExpressionParser::yytranslate_(int) ’: PatchValueExpressionParser.tab.cc:4941:24: warning: use of old-style cast [-Wold-style-cast] make: *** [Make/linux64GccDPOpt/PatchValueExpressionParser.o] Error 1 " The version of "Bison" installed on my computer 2.4.1 (as stated on the website), my version of OpenFoam is the 2.4 with Ubuntu LTS 2014. What is wrong? I tried installing GroovyBC using the newest version of "Bison" and there was a similar error |
All times are GMT -4. The time now is 03:50. |