I am trying to compile the funkySetFields tool. I downloaded the source by:
svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_1.6/utilities/postProcessing/FunkySetFields/
and while compiling I get the error:
could not open file ValueExpressionParser.tab.hh for source file funkySetFields.C due to No such file or directory
Making dependency list for source file ValueExpressionDriver.C
could not open file ValueExpressionParser.tab.hh for source file ValueExpressionDriver.C due to No such file or directory
Making dependency list for source file ValueExpressionLexer.ll
could not open file ValueExpressionParser.tab.hh for source file ValueExpressionLexer.ll due to No such file or directory
Making dependency list for source file ValueExpressionParser.yy
could not open file ValueExpressionParser.tab.hh for source file ValueExpressionParser.yy due to No such file or directory
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPInt32Opt -I/opt/openfoam5/src/finiteVolume/lnInclude -I/opt/openfoam5/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam5/src/OpenFOAM/lnInclude -I/opt/openfoam5/src/OSspecific/POSIX/lnInclude -fPIC -c ValueExpressionParser.C -o Make/linux64GccDPInt32Opt/ValueExpressionParser.o
ValueExpressionParser.tab.cc:68:40: fatal error: ValueExpressionParser.tab.hh: No such file or directory
compilation terminated.
/opt/openfoam5/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/ValueExpressionParser.o' failed
make: *** [Make/linux64GccDPInt32Opt/ValueExpressionParser.o] Error 1
My bison version is 3.0.4.
The standalone-version of funkySetFields that you're trying to compile is only compatible with OF 1.6 (a very ancient version)
FSF has since become an integral part of swak4Foam and only compiles with that package
Hi @Bernhard , thanks for the reply. When I google funkySetFields this is the first result I get:
https://openfoamwiki.net/index.php/Contrib/funkySetFields#Download
and over there this is the only method of instalation. Maybe we can update this part of the wiki?
What is the best method to install swak4Foam? Do I have to compile it anyways? It is surprising to see that Repology.org does not bring any results! (link)
Last edit: Foad S. Farimani 2018-09-10
As odd as it may sound I tried compiling swak4Foam and eneded up with a pretty much same issue. Now while compiling I get the error:
As sarcasticly asked I did google the rror and saw many messages similar from 2012 till 2018 with almost same issues. this
CommonValueExpressionDriverI
whatever it is is causing a lot of issue. I would appreciate if you could help me this issue.Which version of swak4Foam did you compile? This problem is fixed in development version (https://openfoamwiki.net/index.php/Contrib/swak4Foam#Development) but not yet in the release
I just googled and this was the first link I found:
https://openfoamwiki.net/index.php/Contrib/swak4Foam#Downloading
which recomends:
If this is an old version maybe we should update the wiki then. It is a bit confusing which version people should use.
I tried the version with
I got the exact same error:
also when running
I get the error message:
and trying git:
I get th emessage:
Last edit: Foad S. Farimani 2018-09-11