Installing swak4Foam on Foam-Extend-4.1
Hello everyone,
I am facing problems installing swak4foam on foam-extend 4.1 which I can not identify the source of it.
The main error I think is this one:
PHP Code:
RawFoamDictionaryParserDriver.C:38:10: fatal error: RawFoamDictionaryParser.tab.hh: No such file or directory
#include "RawFoamDictionaryParser.tab.hh"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Why is this file not found and how can I resolve this issue?
There are also other errors like these:
PHP Code:
/RawFoamDictionaryParser.yy:455:21: error: ‘FATALERROR’ is not a member of ‘Foam::token’
ExpressionResult/ExpressionResult.C: In member function ‘void Foam::ExpressionResult::uglyDelete()’:
ExpressionResult/ExpressionResult.C:315:20: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete]
delete valPtr_;
PHP Code:
make: *** [RawFoamDictionaryParser.dep:145: Make/linux64GccDPInt32Opt/RawFoamDictionaryParser.o] Error 1
repositories/MeshesRepository.C: In member function ‘Foam::scalar Foam::MeshesRepository::setTime(const Foam::word&, Foam::scalar, Foam::label)’:
repositories/MeshesRepository.C:302:59: error: no matching function for call to ‘Foam::HashTable<const Foam::regIOobject*>::HashTable(Foam::HashTable<Foam::regIOobject*>)’
regIOTable content(mesh.lookupClass<regIOobject>());
PHP Code:
plugins/CommonPluginFunction.C: In member function ‘Foam::label Foam::IStringStreamWithPos::pos()’:
plugins/CommonPluginFunction.C:198:26: error: ‘stream’ was not declared in this scope
return label(stream().tellg());
and etc.
I have tried downloading the package both using:
PHP Code:
git clone https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-swak4Foam-dev.git
AND
PHP Code:
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam swak4Foam
cd swak4Foam
./AllwmakeAll
I also have tried:
PHP Code:
./maintainanceScripts/compileRequirements.sh
and then Allwmake.
the result is:
PHP Code:
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 /Address/bin to PATH-variable. The ./Allwmake-script will use this directory automatically
If any one can have a suggestion or guidance on how to resolve the issue I will be very grateful.
Regards,
Mohammadreza
|