CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   installing funkySetFields (http://www.cfd-online.com/Forums/openfoam/109326-installing-funkysetfields.html)

igo November 15, 2012 04:04

installing funkySetFields
 
Hi everybody,
I'm trying to install funkySetFields but it's not working and I cannot figure out why. I don't install swak4foam because my version of bison is 2.3 which is not sufficient for swak and I cannot upgrade to a newer version. Anyway, the error message that I am getting follows. Any help would be greatly appreciated.
Igo

./Allwmake
+ wmake funkySetFields
make: Warning: File `Make/linux64GccDPOpt/dontIncludeDeps' has modification time 3.2 s in the future
make: warning: Clock skew detected. Your build may be incomplete.
SOURCE=ValueExpressionParser.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -IMake/linux64GccDPOpt -I/usrfem/femsys_local/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/usrfem/femsys_local/OpenFOAM/OpenFOAM-1.6/src/meshTools/lnInclude -IlnInclude -I. -I/usrfem/femsys_local/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/usrfem/femsys_local/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ValueExpressionParser.o
ValueExpressionParser.tab.cc:68:40: error: ValueExpressionParser.tab.hh: No such file or directory
In file included from ValueExpressionParser.yy:62:
ValueExpressionDriver.H:25: error: incomplete type ‘ve::ValueExpressionParser’ used in nested name specifier
ValueExpressionDriver.H:25: error: ‘yylval’ was not declared in this scope
ValueExpressionDriver.H:25: error: expected primary-expression before ‘*’ token
ValueExpressionDriver.H:25: error: ‘yylloc’ was not declared in this scope
ValueExpressionDriver.H:25: error: expected primary-expression before ‘&’ token
ValueExpressionDriver.H:25: error: ‘driver’ was not declared in this scope
ValueExpressionDriver.H:25: error: initializer expression list treated as compound expression
ValueExpressionParser.tab.cc:195: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:205: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:385: error: ‘semantic_type’ has not been declared
ValueExpressionParser.tab.cc:386: error: ‘location_type’ has not been declared
ValueExpressionParser.tab.cc:386: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:509: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:549: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2137: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2187: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2189: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2259: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2327: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2335: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2344: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2346: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2587: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2829: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2917: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:2942: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:3170: error: ‘token_number_type’ in class ‘ve::ValueExpressionParser’ does not name a type
ValueExpressionParser.tab.cc:3220: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:3221: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:3222: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:3223: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:3224: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:3225: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:3226: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:3227: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:3229: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
ValueExpressionParser.tab.cc:3230: error: ‘token_number_type’ in class ‘ve::ValueExpressionParser’ does not name a type
ValueExpressionParser.yy:384: error: expected unqualified-id before ‘&’ token
ValueExpressionParser.yy:384: error: expected ‘,’ or ‘...’ before ‘&’ token
ValueExpressionParser.yy:385: error: invalid use of incomplete type ‘struct ve::ValueExpressionParser’
ValueExpressionDriver.H:18: error: forward declaration of ‘struct ve::ValueExpressionParser’
make: *** [Make/linux64GccDPOpt/ValueExpressionParser.o] Error 1

gschaider November 20, 2012 21:16

Quote:

Originally Posted by igo (Post 392201)
Hi everybody,
I'm trying to install funkySetFields but it's not working and I cannot figure out why. I don't install swak4foam because my version of bison is 2.3 which is not sufficient for swak and I cannot upgrade to a newer version. Anyway, the error message that I am getting follows. Any help would be greatly appreciated.

Don't know about the error you're seeing. But about not being able to upgrade bison: that is because you're living on a conservative enterprise Linux and there are no newer packages, right? One way to work around this would be to compile bison/flex for you locally. It is not that difficult as these two programs don't require much more than a C-compiler. Basically what you do is set for configure the option --prefix=/home/igo/mySoftware and then do the usual make, make install thing. Then add the directory with the compiled programs to the PATH (export PATH=/home/igo/mySoftware/bin:$PATH) and you should have your very own bison (this is not a recipe, just a pointer)


All times are GMT -4. The time now is 20:06.