Compilation problems OF 2.1.x
Hi foamers,
it's been a long time since my last posting! I'm encountering some problems related to the compilation of the git version of OF 2.1.x, git pull performed this morning, on a Suse Enterprise 11 (all the prerequisites packages are ok). The error is in the lagrangian library. When I do Allwmake I find these errors: + wmake libso distributionModels '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libdistributionModels.so' is up to date. + wmake libso basic '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/liblagrangian.so' is up to date. + wmake libso solidParticle '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libsolidParticle.so' is up to date. + wmake libso intermediate SOURCE=parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/distributionModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/specie/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/basic/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/reactionThermo/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/SLGThermo/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/radiationModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/turbulenceModels -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/transportModels -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/regionModels/regionModel/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/regionModels/surfaceFilmModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/dynamicFvMesh/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -IlnInclude -I. -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/makeBasicKinematicParcelSubmodels.o In file included from parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:28: lnInclude/makeParcelCloudFunctionObjects.H:34:26: error: ParticleTrap.H: No such file or directory parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:41: error: expected initializer before ‘<’ token parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:41: error: expected initializer before ‘<’ token parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:41: error: ‘ParticleTrap’ was not declared in this scope parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:41: error: template argument 1 is invalid parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:41: error: expected unqualified-id before ‘>’ token make: *** [Make/linux64GccDPOpt/makeBasicKinematicParcelSubmodels.o] Error 1 + wmake libso spray SOURCE=parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/intermediate/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/distributionModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/specie/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/basic/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/reactionThermo/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/SLGThermo/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/radiationModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/turbulenceModels -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/transportModels -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/regionModels/regionModel/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/regionModels/surfaceFilmModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/dynamicFvMesh/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -IlnInclude -I. -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/makeBasicSprayParcelSubmodels.o In file included from parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:28: /home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/intermediate/lnInclude/makeParcelCloudFunctionObjects.H:34:26: error: ParticleTrap.H: No such file or directory parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:53: error: expected initializer before ‘<’ token parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:53: error: expected initializer before ‘<’ token parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:53: error: ‘ParticleTrap’ was not declared in this scope parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:53: error: template argument 1 is invalid parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:53: error: expected unqualified-id before ‘>’ token make: *** [Make/linux64GccDPOpt/makeBasicSprayParcelSubmodels.o] Error 1 + wmake libso dsmc '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libdsmc.so' is up to date. + wmake libso coalCombustion /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -llagrangianIntermediate collect2: ld returned 1 exit status make: *** [/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libcoalCombustion.so] Error 1 + molecularDynamics/Allwmake + wmake libso potential '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libpotential.so' is up to date. + wmake libso molecularMeasurements '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libmolecularMeasurements.so' is up to date. + wmake libso molecule '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libmolecule.so' is up to date. What's appening? Any suggestions? Thanks in advance, Ivan |
1 Attachment(s)
I add the log file of the wmake.
No one knows what happens? Thanks! |
Greetings Ivan,
It's not a matter of not knowing the issue, it's a problem with having the time to answer ;) The library that has this problem indicates a missing file. Said file should present at least in the library's code folder "lnInclude". This tends to happen when updating from the git repo. The solution here should be simple enough:
Code:
foam Bruno |
Quote:
and sorry to have been impolite! Your suggestion worked good! Now, I'm on with 2.1.x! Thank you very much! Ivan |
Hi Ivan,
Quote:
Quote:
Best regards, Bruno |
I think I talked too soon.
Now, OF is working, but not Paraview... I attached the log file of makeParaview, hope that someone (!) could help me... Regards, Ivan |
Hi Ivan,
Mmm... no attachment. But my guess is that you have an issue already addressed in the past :): Quote:
Quote:
Bruno |
1 Attachment(s)
Ups, sorry, here we are.
Unfortunately is not the recompilation of ParaFoam the problem, I already did what you suggested but it doesn't work... |
Hi Ivan,
Here's the problem: Code:
Cannot open data base file /home/cozza/OpenFOAM/ThirdParty-2.1.x/build/linux64Gcc/paraview-3.12.0/Documentation/paraview.qch!
Bruno |
All times are GMT -4. The time now is 13:11. |