|
[Sponsors] |
[OpenFOAM.org] Error while installing swak4Foam 0.3.2 on OpenFOAM2.1.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 26, 2021, 05:34 |
Error while installing swak4Foam 0.3.2 on OpenFOAM2.1.1
|
#1 |
New Member
Shawn Hartmann
Join Date: Jun 2019
Posts: 2
Rep Power: 0 |
Dear Foamer,
I'm trying to install swak4Foam 0.3.2 on OpenFOAM version 2.1.1 (I use this old version because I have to test some code written by previous researchers). However the installation was incomplete. After I searched the previous posts to no avail, I kindly ask for your help. Following is my log file. My system is Ubuntu 18.04. Code:
This is a clean install /home/shanj/OpenFOAM/shanj-2.1.1/applications/utilities/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison) Reading variables from 'swakConfiguration' swakConfiguration: line 13: [: : integer expression expected Checking swak4Foam-version and generating file abort: no repository found in '/home/shanj/OpenFOAM/shanj-2.1.1/applications/utilities/swak4Foam' (.hg not found)! Swak version is 0.3.2 Bison is version 2.7.12-4996 Flex is version 2.6.4 (Minor version: 4) OpenFOAM-version: Major 2 Minor 1 Patch 1 (-1 == x / 1) No swak4FoamParsers/foamVersion4swak.H. Generated wmakeLnInclude: linking include files to simpleFunctionObjects/lnInclude wmakeLnInclude: linking include files to ./lnInclude SOURCE=namedEnums/NumericAccumulationNamedEnum.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/shanj/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/shanj/OpenFOAM/OpenFOAM-2.1.1/src/sampling/lnInclude -I/home/shanj/OpenFOAM/OpenFOAM-2.1.1/src/triSurface/lnInclude -I/home/shanj/OpenFOAM/OpenFOAM-2.1.1/src/surfMesh/lnInclude -I/home/shanj/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/basic/lnInclude -I/home/shanj/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -IlnInclude -I. -I/home/shanj/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/shanj/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/NumericAccumulationNamedEnum.o namedEnums/NumericAccumulationNamedEnum.C: In static member function ‘static Foam::List<Foam::Tuple2<Foam::NumericAccumulationNamedEnum::value, double> > Foam::NumericAccumulationNamedEnum::readAccumulations(const wordList&, const Foam::fileName&)’: namedEnums/NumericAccumulationNamedEnum.C:108:23: error: ‘HUGE’ was not declared in this scope scalar value=-HUGE; ^~~~ namedEnums/NumericAccumulationNamedEnum.C: In static member function ‘static Foam::word Foam::NumericAccumulationNamedEnum::toString(const accuSpecification&)’: namedEnums/NumericAccumulationNamedEnum.C:160:23: error: ‘HUGE’ was not declared in this scope if(accu.second()>-HUGE) { ^~~~ namedEnums/NumericAccumulationNamedEnum.dep:3: recipe for target 'Make/linux64GccDPOpt/NumericAccumulationNamedEnum.o' failed make: *** [Make/linux64GccDPOpt/NumericAccumulationNamedEnum.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 occured to 5 other people before and has been solved on the MessageBoard |
|
August 27, 2021, 05:11 |
solved
|
#2 |
New Member
Shawn Hartmann
Join Date: Jun 2019
Posts: 2
Rep Power: 0 |
Finally I solved the problem following this post
Problems on installing Foam-extend 4.0/ swak4Foam on ubuntu18.0.4 by replace Code:
HUGE Code:
pTraits<scalar>::min |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Installing swak4foam on OpenFOAM 19.10 (Windows) | MCrossover97 | OpenFOAM Community Contributions | 4 | June 21, 2022 06:23 |
[foam-extend.org] Problems on installing Foam-extend 4.0/ swak4Foam on ubuntu18.0.4 | XJ_Wang | OpenFOAM Installation | 22 | December 19, 2021 08:55 |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 05:37 |
[swak4Foam] Error: Installing swak4Foam into OpenFOAM 2.3.0 on CentOS 7 | mushtime | OpenFOAM Community Contributions | 9 | July 23, 2017 16:27 |
[swak4Foam] Installing swak4Foam on ubuntu 12.04 | fluidflowsteel | OpenFOAM Community Contributions | 1 | June 28, 2016 15:02 |