CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions > OpenFOAM CC Toolkits for Fluid-Structure Interaction

[solids4Foam] Debian 12 and GCC 12 and OpenFOAM 2306 installation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2023, 08:24
Default Debian 12 and GCC 12 and OpenFOAM 2306 installation
  #1
New Member
 
Jan Groenewald
Join Date: Aug 2023
Posts: 5
Rep Power: 3
pipedream is on a distinguished road
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
Attached Files
File Type: gz deb12gcc12of2306-logs.tar.gz (12.6 KB, 0 views)
pipedream is offline   Reply With Quote

Old   August 16, 2023, 14:24
Default
  #2
New Member
 
Jan Groenewald
Join Date: Aug 2023
Posts: 5
Rep Power: 3
pipedream is on a distinguished road
Fixed in Debian 12 and GCC 12
pipedream is offline   Reply With Quote

Old   August 18, 2023, 13:31
Default
  #3
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
See https://github.com/solids4foam/solids4foam/pull/60
bigphil is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 20:14.