|
[Sponsors] |
February 8, 2012, 06:04 |
error after latest git pull
|
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
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:imensionedField<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 |
|
February 8, 2012, 07:50 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Pei,
Usually the quickest fix is to simply run: Code:
wcleanAll Code:
wclean all Best regards, Bruno
__________________
|
|
February 8, 2012, 07:56 |
|
#3 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Hi, Bruno,
Thanks for the reply. But, I did the wcleanAll first before Allwmake. And still got this error. Pei |
|
February 8, 2012, 08:09 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
February 8, 2012, 12:31 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
git pull problem | openfoam_user | OpenFOAM Installation | 1 | March 9, 2010 02:37 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 04:37 |
Latest git 1.6.x : cellDistFuncs.H | podallaire | OpenFOAM Bugs | 4 | December 11, 2009 08:03 |
Latest git 1.6.x: Crash when using inletOutlet for variable alpha1 in interFoam | carsten | OpenFOAM Bugs | 6 | September 23, 2009 09:46 |
Urgent Git problem updating OF15x | thomasduerr | OpenFOAM Bugs | 4 | July 8, 2009 07:07 |