stater |
November 17, 2022 11:44 |
A compilation problem with swak4Foam
Hi everbody,
I'm trying to compile swak4Foam but I get the following error:
Quote:
This script is rather crude. If it doesn't work try the steps by hand. And be sure to run it from the root of the swak-installation (as ./maintainanceScripts/compileRequirements.sh). Otherwise it probably won't work
Bison already installed/compiled
Bison successfully compiled
Lua already installed/compiled
Lua successfully compiled
Add /home/user/swak4Foam/privateRequirements/bin to PATH-variable. The ./Allwmake-script will use this directory automatically
Current OpenFOAM version is 10.
Previously compiled for OpenFOAM (10)
/home/user/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)
Reading variables from 'swakConfiguration'
Looking for Python 2
Looking for Python 3
Using our own Lua at /home/user/swak4Foam/privateRequirements
Checking swak4Foam-version and generating file
Swak version is 202x.yy.0
hg info: 481d96f16780 (develop) tip
No 'bear' installed
Bison: /home/user/swak4Foam/privateRequirements/bin/bison
Flex: /usr/bin/flex
Bison at /home/user/swak4Foam/privateRequirements/bin/bison is version 3.4 (Major 3 Minor 4)
Flex is version 2.6.4 (Minor version: 4)
OpenFOAM-version: Major 10 Minor 0 Patch -1 (-1 == x / 98) Fork: org
No change to swak4FoamParsers/foamVersion4swak.H
Please include the output above when reporting a problem in the compilation. It helps diagnosing the problem
wmake libso swak4FoamParsers
OpenFOAM.org version 10
make: *** Aucune règle pour fabriquer la cible « Make/linux64GccDPInt32Opt/SubsetValueExpressionParser.o », nécessaire pour « Make/linux64GccDPInt32Opt/CellSetValueExpressionDriver.o ». Arrêt.
wmake error: file 'Make/linux64GccDPInt32Opt/files' could not be created in /home/user/swak4Foam/Libraries/swak4FoamParsers
Parser library did not compile OK. No sense continuing as everything else depends on it
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 occurred to 5 other people before and has been solved on the MessageBoard
|
My Openfoam directory is:
Quote:
/home/user/OpenFoam/Openfoam10
|
The OpenFoam environment is loaded from the .bashrc file with the command:
Quote:
source $HOME/OpenFOAM/OpenFOAM-10/etc/bashrc
|
I launched the compilation from directory:
Quote:
/home/user/OpenFoam/swak4Foam
|
Do you have any idea to fix the problem?
Thanks
H. Omar
|