CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[foam-extend.org] Installing swak4Foam on Foam-Extend-4.1

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2022, 12:15
Default Installing swak4Foam on Foam-Extend-4.1
  #1
Member
 
Mohammad Reza
Join Date: Sep 2015
Posts: 38
Rep Power: 9
Bana is on a distinguished road
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:10fatal errorRawFoamDictionaryParser.tab.hhNo 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:21error‘FATALERROR’ is not a member of ‘Foam::token’
ExpressionResult
/ExpressionResult.CIn member function ‘void Foam::ExpressionResult::uglyDelete():
ExpressionResult/ExpressionResult.C:315:20warningdeleting ‘void*’ is undefined [-Wdelete-incomplete]
             
delete valPtr_
PHP Code:
make: *** [RawFoamDictionaryParser.dep:145Make/linux64GccDPInt32Opt/RawFoamDictionaryParser.oError 1
repositories
/MeshesRepository.CIn member function ‘Foam::scalar Foam::MeshesRepository::setTime(const Foam::word&, Foam::scalarFoam::label):
repositories/MeshesRepository.C:302:59errorno matching function for call to ‘Foam::HashTable<const Foam::regIOobject*>::HashTable(Foam::HashTable<Foam::regIOobject*>)
         regIOTable content
(mesh.lookupClass<regIOobject>()); 
PHP Code:
plugins/CommonPluginFunction.CIn member function ‘Foam::label Foam::IStringStreamWithPos::pos():
plugins/CommonPluginFunction.C:198:26error‘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-variableThe ./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
Bana is offline   Reply With Quote

Old   May 23, 2022, 05:40
Default
  #2
Member
 
Mohammad Reza
Join Date: Sep 2015
Posts: 38
Rep Power: 9
Bana is on a distinguished road
Any suggestion?
Bana is offline   Reply With Quote

Old   September 22, 2022, 11:52
Default
  #3
Member
 
Mohammad Reza
Join Date: Sep 2015
Posts: 38
Rep Power: 9
Bana is on a distinguished road
This problem is solved.
For anyone who may encounter the same error:

This error is related to the python versions. try installing anaconda3.
Bana is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 08:15
[swak4Foam] Basic Error when installing swak4foam with foam extend 3.0 mnobrega OpenFOAM Community Contributions 6 April 1, 2014 02:47
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 21:27.