CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] swak4Foam compiling issues for tab.hh dependencies (https://www.cfd-online.com/Forums/openfoam-community-contributions/223184-swak4foam-compiling-issues-tab-hh-dependencies.html)

stewaj5 December 29, 2019 15:07

swak4Foam compiling issues for tab.hh dependencies
 
1 Attachment(s)
This is related to my post #8 in [foam-extend.org] NEW: Installation guide for foam-extend 4.1 on OpenFoamWiki.

I have not been successful for the past week compiling swak4Foam. In each case, I receive fatal errors that tab.hh dependencies could not be found. This same error occurs for Openfoam 5, Openfoam 6, and OpenFoam-v1812 on Ubuntu 18.04. It also occurs in a CentOS environment with OpenFOAM-v1906.

I've downloaded swak4Foam from the mercurial https://sourceforge.net/p/openfoam-e.../develop/tree/ as recommended in the recent swak4Foam tweet.
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam openfoam-extend-swak4Foam

I've run 'hg update develop' and ran the commands:
./Allwclean
./maintainanceScripts/compileRequirements.sh
./Allwmake 2>&1 | tee AllwmakeOF5.txt

I've separately followed the directions in the thread https://www.cfd-online.com/Forums/op...6-version.html post #3 trying first to compile from the commands
./Allwclean
./maintainanceScripts/compileRequirements.sh
./Allwmake 2>&1 | tee AllwmakeOF5.txt

and then attempting ./Allwclean, ./AllwmakeAll.

A sample log of the compile (stripped to fit the size requirements) is attached here for Openfoam 5 with the tweeted mercurial download. A similar log was included in my post #8 for OpenFOAM-v1906 in CentOS. The errors are the same for each OpenFOAM version and for both swak4Foam mercurial downloads.

Are there any recommendations how to correct this problem for a successful installation?

Do I need to run distroPatches mentioned in http://openfoamwiki.net/index.php/In...g_dependencies ? And how do I run these patch files?

Thank you,
Jeff

stewaj5 February 7, 2020 01:29

run ./Allwmake a second time
 
For others who experience similar errors (compilation ending in "Requirements for Library not satisfied. I see no sense in going on ...") try to run ./Allwmake a second time without running ./Allwclean. swak4Foam compiled successfully for me on the second run of ./Allwmake.


All times are GMT -4. The time now is 10:57.