CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   error after latest git pull (http://www.cfd-online.com/Forums/openfoam-bugs/97065-error-after-latest-git-pull.html)

phsieh2005 February 8, 2012 07:04

error after latest git pull
 
HI,

I just did a git pull and got an error when compiling the code.

Any suggestion?

Pei
---------------------------
SOURCE=derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C ; wmakeScheduler g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/regionModels/regionModel/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/basicSolidThermo/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/solid/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/AMIInterpolation/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/basic/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/specie/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/turbulenceModels/compressible/turbulenceModel/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc46DPOpt/temperatureThermoBaffleFvPatchScalarField.o
derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C: In constructor ‘Foam::compressible::temperatureThermoBaffleFvPatc hScalarField::temperatureThermoBaffleFvPatchScalar Field(const Foam::fvPatch&, const Foam::DimensionedField<double, Foam::volMesh>&, const Foam::dictionary&)’:
derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C:110:11 : error: ‘directMappedPatchBase’ does not name a type
derivedFvPatchFields/temperatureThermoBaffle/temperatureThermoBaffleFvPatchScalarField.C:113:26 : error: ‘mpp’ was not declared in this scope
make: *** [Make/linux64Gcc46DPOpt/temperatureThermoBaffleFvPatchScalarField.o] Error 1
+ wmake libso regionCoupling

wyldckat February 8, 2012 08:50

Greetings Pei,

Usually the quickest fix is to simply run:
Code:

wcleanAll
But to avoid having to rebuild every single library in OpenFOAM, you can run:
Code:

wclean all
only in select folders, namely on the one respective to the library that isn't compiling.

Best regards,
Bruno

phsieh2005 February 8, 2012 08:56

Hi, Bruno,

Thanks for the reply.

But, I did the wcleanAll first before Allwmake. And still got this error.

Pei

wyldckat February 8, 2012 09:09

I haven't tested this myself, but the latest commit seems to be the one to blame: https://github.com/OpenFOAM/OpenFOAM...97eb8d3eb2be2f
If you can, please report it on the official tracker: http://www.openfoam.com/mantisbt/my_view_page.php

If not, you can step one commit back by running:
Code:

git checkout HEAD~1
if I'm not mistaken... and then compile again.

wyldckat February 8, 2012 13:31

Hi Pei,

It's fixed now: https://github.com/OpenFOAM/OpenFOAM...cb5cca7395dfbc

Best regards,
Bruno


All times are GMT -4. The time now is 09:57.