When I try to compoile the develoment version for swak4foam given by
openfoam-extend-swak4Foam-fbc33b88bb0835ccd2fd3bea26edf702c90141ae.zip
the compiler fails for openfoam v1712 due to an error of a missing foamString.H file
At the start of compilation you can see
++++++++++++++++++++++++++++++++++++++++++++++
This is a clean install
Reading variables from 'swakConfiguration'
Checking swak4Foam-version and generating file
Swak version is 0.4.2
Bison is version 3.0.4
Flex is version 2.6.0 (Minor version: 0)
OpenFOAM-version: Major 1712 Minor 0 Patch 0 (-1 == x / 0) Fork: openfoamplus
No swak4FoamParsers/foamVersion4swak.H. Generated
wmakeLnInclude: linking include files to simpleFunctionObjects/lnInclude
wmake libso swak4FoamParsers
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file SampledSurfaceValuePluginFunction.C
Making dependency list for source file SampledSetValuePluginFunction.C
Making dependency list for source file FaceZoneValuePluginFunction.C
Making dependency list for source file FaceSetValuePluginFunction.C
Making dependency list for source file CellZoneValuePluginFunction.C
Making dependency list for source file CellSetValuePluginFunction.C
Making dependency list for source file FieldValuePluginFunction.C
Making dependency list for source file PatchValuePluginFunction.C
Making dependency list for source file CommonPluginFunction.C
Making dependency list for source file SampledSurfaceValueExpressionDriver.C
Making dependency list for source file SampledSetValueExpressionDriver.C
Making dependency list for source file initSwakFunctionObject.C
wmkdep: could not open file 'foamTime.H' for source file 'initSwakFunctionObject.C': No such file or directory
wmkdep: could not open file 'foamString.H' for source file 'plugins/CellSetValuePluginFunction.C'wmkdep: could not open file 'foamString.H' for source file
++++++++++++++++++++++++++++++++++++++++++++++
etc
appearantly the foamString and foamTime can not be found.
I have correctly build the openfoam v1712 dist and have bison and flex version 3.0.4 and 2.6.0 install
Anyway idea if this can be fixed ? Thanks
Eelco
The messages you cite are not a problem. That is due to a limitation of wmkdepit doesn't know how to handle #ifdefs (which swak4Foam is heavily contaminated with). To avoid compilation problems on certain platform foam-extend renamed string.H to foamString.H and swak has an #ifdef for that. Which wmkdep doesn't understand and reports but later the real compiler can handle it
So IF there is really a problem you should see it later. Check whether you'd just let yourself be scared by those messages and compilation actually no problem