|
[Sponsors] |
[solids4Foam] Debian 12 and GCC 12 and OpenFOAM 2306 installation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 13, 2023, 08:24 |
Debian 12 and GCC 12 and OpenFOAM 2306 installation
|
#1 |
New Member
Jan Groenewald
Join Date: Aug 2023
Posts: 5
Rep Power: 3 |
I get the attached errors when compiling on Debian 12 with the default gcc 12.2.0 and OpenFOAM 2306.
Code:
physicsModel/physicsModel.C: In static member function ‘static Foam::autoPtr<Foam::physicsModel> Foam::physicsModel::New(Foam::Time&, const Foam::word&)’: physicsModel/physicsModel.C:115:5: error: ‘physicsModelConstructorTable’ is not a class, namespace, or enumeration 115 | physicsModelConstructorTable::iterator cstrIter = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ physicsModel/physicsModel.C:118:9: error: ‘cstrIter’ was not declared in this scope; did you mean ‘strstr’? 118 | if (cstrIter == physicsModelConstructorTablePtr_->end()) | ^~~~~~~~ | strstr physicsModel/physicsModel.C:130:34: error: ‘cstrIter’ was not declared in this scope; did you mean ‘strstr’? 130 | return autoPtr<physicsModel>(cstrIter()(runTime, region)); | ^~~~~~~~ | strstr make: *** [/home/jan/0_no_backup_overwrite/OpenFOAM-v2306/wmake/rules/General/transform:38: Make/linux64GccDPInt32Opt/physicsModel/physicsModel.o] Error 1 |
|
August 16, 2023, 14:24 |
|
#2 |
New Member
Jan Groenewald
Join Date: Aug 2023
Posts: 5
Rep Power: 3 |
Fixed in Debian 12 and GCC 12
|
|
August 18, 2023, 13:31 |
|
#3 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
||
|
|