|
[Sponsors] |
[swak4Foam] Swak4foam installation error with OF 2.2.0 (Ubuntu 12.04 LTS) |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Chris L
Join Date: Sep 2012
Posts: 53
Rep Power: 10 ![]() |
Does anyone know how to solve the installation error I am receiving?
Swak4foam retrieved from (version 0.4.0): https://github.com/Unofficial-Extend...-swak4Foam.git Openfoam version 2.2.0 was installed in /opt/ directory running Ubuntu 12.04 LTS. Looks like it cant find basicThermoCloud.H or symmetryPlanePolyPatch.H I looked in /opt/openfoam220 find -name basicThermoCloud.H Which returns nothing. So my guess is that it wasn't part of the openfoam install. ./Allwmake log file output: Code:
Previously compiled for OpenFOAM 2.2.0 No file 'swakConfiguration'. Python etc won't work. See README for details Try 'ln -s swakConfiguration.automatic swakConfiguration' for automatic configuration. BEWARE: this does not work on some systems Checking swak4Foam-version and generating file abort: no repository found in '/home/chris/OpenFOAM/chris-2.2.0/swak4Foam' (.hg not found)! Swak version is 0.4.0 Bison is version 2.5 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 2 Patch 0 (-1 == x / 0) Fork: openfoam No change to swak4FoamParsers/foamVersion4swak.H '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswak4FoamParsers.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakLagrangianParser.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libgroovyBC.so' is up to date. SOURCE=solverPerformanceToGlobalVariables.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/solverPerformanceToGlobalVariables.o SOURCE=addForeignMeshes.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/addForeignMeshes.o SOURCE=addForeignMeshesFunctionObject.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/addForeignMeshesFunctionObject.o SOURCE=foreignMeshesFollowTime.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/foreignMeshesFollowTime.o solverPerformanceToGlobalVariables.C:48:9: error: ‘lduMatrix’ in namespace ‘Foam’ does not name a type make: *** [Make/linuxGccDPOpt/solverPerformanceToGlobalVariables.o] Error 1 make: *** Waiting for unfinished jobs.... '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleFunctionObjects.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakTopoSources.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakSourceFields.so' is up to date. Compiling swakFvOptions '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakFvOptions.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libgroovyStandardBCs.so' is up to date. SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakDynamicMeshFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakMeshWaveFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakMRFFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date. '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date. SOURCE=streamFunctionPluginFunction.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/streamFunctionPluginFunction.o streamFunctionPluginFunction.C:41:36: fatal error: symmetryPlanePolyPatch.H: No such file or directory compilation terminated. make: *** [Make/linuxGccDPOpt/streamFunctionPluginFunction.o] Error 1 '/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakCoalCloudAdaptor.so' is up to date. If you have your own function-plugins you can specify them using the SWAK_USER_PLUGINS environment variable and they would be compiled now. If you don't know what this means: don't bother. You propably don't need it SOURCE=CloudMoveStatisticsInstances.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/CloudMoveStatisticsInstances.o SOURCE=EliminateCaughtParcelsInstances.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/EliminateCaughtParcelsInstances.o SOURCE=EliminateOutsideParticlesInstances.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/EliminateOutsideParticlesInstances.o SOURCE=CorrectParticleCellInstances.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/CorrectParticleCellInstances.o In file included from CloudMoveStatisticsInstances.C:38:0: makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory compilation terminated. In file included from EliminateOutsideParticlesInstances.C:38:0: makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory compilation terminated. In file included from EliminateCaughtParcelsInstances.C:38:0: makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory compilation terminated. In file included from CorrectParticleCellInstances.C:38:0: makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory compilation terminated. make: *** [Make/linuxGccDPOpt/EliminateOutsideParticlesInstances.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Make/linuxGccDPOpt/CorrectParticleCellInstances.o] Error 1 make: *** [Make/linuxGccDPOpt/EliminateCaughtParcelsInstances.o] Error 1 make: *** [Make/linuxGccDPOpt/CloudMoveStatisticsInstances.o] Error 1 SOURCE=EliminateBySwakExpressionInstances.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I../simpleCloudFunctionObjects/lnInclude -I../swakLagrangianParser/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/EliminateBySwakExpressionInstances.o In file included from EliminateBySwakExpressionInstances.C:38:0: ../simpleCloudFunctionObjects/lnInclude/makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory compilation terminated. make: *** [Make/linuxGccDPOpt/EliminateBySwakExpressionInstances.o] Error 1 Requirements for Library not satisfied. I see no sense in going on Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Chris L
Join Date: Sep 2012
Posts: 53
Rep Power: 10 ![]() |
UPDATE: Not fixed yet, but looks like it was an old bug that was fixed?
https://sourceforge.net/p/openfoam-e...swak4foam/228/ I tried applying the patch provided using Code:
patch -p1 < ~/Downloads/writeFieldsGeneralFunctionObject.C.patch Code:
patching file Libraries/simpleFunctionObjects/writeFields/writeFieldsGeneral/writeFieldsGeneralFunctionObject.C Reversed (or previously applied) patch detected! Assume -R? [n] y Hunk #1 succeeded at 58 (offset 1 line). Hunk #2 succeeded at 162 with fuzz 1 (offset 1 line). |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Feb 2018
Posts: 87
Rep Power: 4 ![]() |
Have you been able to resolve the error
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Saurabh Tandon
Join Date: Nov 2015
Location: Austin
Posts: 43
Rep Power: 7 ![]() |
Hi
I am trying to install OF 2.4.0 with swak4Foam from the link https://openfoamwiki.net/index.php/I....3.1_and_newer I am getting the same error. SOURCE=EliminateBySwakExpressionInstances.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I../simpleCloudFunctionObjects/lnInclude -I../swakLagrangianParser/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/EliminateBySwakExpressionInstances.o In file included from EliminateBySwakExpressionInstances.C:38:0: ../simpleCloudFunctionObjects/lnInclude/makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory compilation terminated. make: *** [Make/linuxGccDPOpt/EliminateBySwakExpressionInstances.o] Error 1 Requirements for Library not satisfied. I see no sense in going on Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard Has this error been rectified and is there a patch that works for this? Any help would be really valuable. Thanks |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Jiayin Wei
Join Date: May 2020
Posts: 1
Rep Power: 0 ![]() |
/home/wjy/OpenFOAM/wjy-2.2.2/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)
Reading variables from 'swakConfiguration' Checking swak4Foam-version and generating file abort: no repository found in '/home/wjy/OpenFOAM/wjy-2.2.2/swak4Foam' (.hg not found)! Swak version is 0.4.1 Bison is version 2.7.12-4996 Flex is version 2.6.4 (Minor version: 4) OpenFOAM-version: Major 2 Minor 2 Patch 2 (-1 == x / 2) Fork: openfoam solverPerformanceToGlobalVariables.C:48:9: error: ‘lduMatrix’ in namespace ‘Foam’ does not name a type OpenFOAM-2.2.2/src/regionModels/surfaceFilmModels/lnInclude -I/home/wjy/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/basic/lnInclude -I/home/wjy/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/intermediate/lnInclude -I/home/wjy/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/home/wjy/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/wjy/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/EliminateBySwakExpressionInstances.o In file included from EliminateBySwakExpressionInstances.C:38:0: ../simpleCloudFunctionObjects/lnInclude/makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: 没有那个文件或目录 #include "basicThermoCloud.H" ^ compilation terminated. EliminateBySwakExpressionInstances.dep:848: recipe for target 'Make/linux64GccDPOpt/EliminateBySwakExpressionInstances.o' failed make: *** [Make/linux64GccDPOpt/EliminateBySwakExpressionInstances.o] Error 1 Have you solve the problem? I would appreciate it if you could help me! |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FLUENT installation on UBUNTU 12.04 (LTS) | teymourj | FLUENT | 2 | March 1, 2017 23:24 |
[swak4Foam] Installing swak4Foam on ubuntu 12.04 | fluidflowsteel | OpenFOAM Community Contributions | 1 | June 28, 2016 15:02 |
[OpenFOAM.org] OpenFOAM 2.40 installation on Ubuntu 12.04 LTS | eddykendo | OpenFOAM Installation | 1 | July 18, 2015 18:38 |
Installation on Ubuntu 12.04 LTS | samiam1000 | OpenFOAM Installation | 11 | May 26, 2012 06:54 |
Openfoam 2.1 installation in ubuntu 12.04 | jsm | OpenFOAM Installation | 11 | May 7, 2012 05:56 |