|
[Sponsors] |
[swak4Foam] swak4foam installation on OpenFOAM v2112 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 4, 2024, 07:06 |
swak4foam installation on OpenFOAM v2112
|
#1 |
New Member
Li_Desheng
Join Date: Mar 2023
Posts: 4
Rep Power: 3 |
I need to use swak4foam in Open-foam for a project. But the compilation always gives error in the same spot. I couldn't find a solution for this problem. If anyone can help it would be extremely appreciated.
entryToExpression/entryToExpression.C -o Make/linux64GccDPInt32Opt/entryToExpression/entryToExpression.o entryToExpression/entryToExpression.C: In static member function ‘static Foam::autoPtr<Foam::entryToExpression> Foam::entryToExpression::New(const Foam::word&)’: entryToExpression/entryToExpression.C:55:5: error: ‘nothingConstructorTable’ is not a class, namespace, or enumeration nothingConstructorTable::iterator cstrIter = ^~~~~~~~~~~~~~~~~~~~~~~ entryToExpression/entryToExpression.C:58:9: error: ‘cstrIter’ was not declared in this scope if (cstrIter == nothingConstructorTablePtr_->end()) ^~~~~~~~ entryToExpression/entryToExpression.C:58:9: note: suggested alternative: ‘strstr’ if (cstrIter == nothingConstructorTablePtr_->end()) ^~~~~~~~ strstr entryToExpression/entryToExpression.C:76:13: error: ‘cstrIter’ was not declared in this scope cstrIter()() ^~~~~~~~ entryToExpression/entryToExpression.C:76:13: note: suggested alternative: ‘strstr’ cstrIter()() ^~~~~~~~ strstr make: *** [/usr/lib/openfoam/openfoam2112/wmake/rules/General/transform:35: Make/linux64GccDPInt32Opt/entryToExpression/entryToExpression.o] Error 1 Parser library did not compile OK. No sense continuing as everything else depends on it Requirements for Library not satisfied. I see no sense in going on Check the README before you go on to ask. And search: Most likely your problem occurred to 5 other people before and has been solved on the MessageBoard Thank you! |
|
April 4, 2024, 07:57 |
Installed successfully!
|
#2 |
New Member
Li_Desheng
Join Date: Mar 2023
Posts: 4
Rep Power: 3 |
By reading this post, I learned how to install it in a higher version of openFoam.
Thank you so much to everyone who contributed to this post: OpenFOAM 9 compatible with Swak4FOAM The steps are as follows: hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam cd swak4Foam hg update develop ./AllwmakeAll |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Swak4FOAM installation for OpenFOAM v1806 | exx110 | OpenFOAM Community Contributions | 1 | July 5, 2021 20:07 |
[swak4Foam] swak4foam >>>> INSTALLATION PROBLEM | steven123 | OpenFOAM Community Contributions | 35 | January 11, 2021 16:53 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 03:18 |
[Discussion] Restructuring the Installation page at openfoamwiki.net | wyldckat | OpenFOAM Installation | 16 | November 2, 2013 11:43 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 06:55 |