OF 1.6.x pulled at 03/05/2009 compilation error
Hi Foamers,
I've just pulled the 1.6.x release, but when I do Allwmake it gives me some errors: In file included from /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvm.H:44, from /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvCFD.H:10, from wallGradU.C:33: /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvmDdt.H:41:31: error: geometricOneField.H: No such file or directory In file included from /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvm.H:44, from /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvCFD.H:10, from wallGradU.C:33: /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvmDdt.H:63: error: expected ',' or '...' before '&' token /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvmDdt.H:65: error: ISO C++ forbids declaration of 'geometricOneField' with no type In file included from /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvmDdt.H:90, from /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvm.H:44, from /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvCFD.H:10, from wallGradU.C:33: /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvmDdt.C:63: error: expected ',' or '...' before '&' token /opt/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/fvmDdt.C:65: error: ISO C++ forbids declaration of 'geometricOneField' with no type It repeats many times this error with geometricOneField.H. It's a bug or it depends on something on my machine? Thanks, Ivan |
Quote:
Try the following: Code:
cd $WM_PROJECT_DIR |
Hi to everybody,
this morning I tried with the suggestions of Olesen, in particular I did rmdepold and wmakeLnIncludeAll before Allwmake, but now new errors: make: *** No rule to make target `lnInclude/makeParcelIOList.H', needed by `parcels/derived/BasicReactingMultiphaseParcel/defineBasicReactingMultiphaseParcel.dep'. Stop. and + wmake libso coalCombustion make: *** No rule to make target `/opt/OpenFOAM/OpenFOAM-1.6.x/src/lagrangian/intermediate/lnInclude/makeParcelIOList.H', needed by `CoalParcel/defineCoalParcel.dep'. Stop. It seems to complains on something in lagrangian models and combustion. As a result, obviously it do not build the related applications. Some suggestions? Thanks, Ivan |
Quote:
For example, Code:
rmdepall makeParcelIOList.H |
Thank to Mark's suggestions, now it compile correctly!
Have a nice day, Ivan Quote:
|
All times are GMT -4. The time now is 18:53. |