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

[OpenFOAM.com] OF-v1912 Debug mode compilation ERROR

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2020, 14:15
Default OF-v1912 Debug mode compilation ERROR
  #1
New Member
 
Join Date: Sep 2020
Posts: 9
Rep Power: 5
AndreaCFD is on a distinguished road
Dear members,

I am trying to compile OF-v1912 in Debug mode.
I set the varibale $WM COMPILE OPTION equal to Debug
I then go to the OpenFOAM-v1912 folder and run:

[\CODE]
./Allwmake
[\CODE]

I get this error:

[\CODE]
In member function ‘const Foam::expressions::exprResult& Foam::expressions::exprResultGlobals::get(const Foam::word&, const wordUList&) const’:
expressions/exprResult/exprResultGlobals.C:206:58: error: ‘const class Foam::HashTable<Foam::expressions::exprResultGloba ls::Table>’ has no member named ‘sortToc’; did you mean ‘sortedToc’?
<< "Known global scopes: " << variables_.sortToc() << nl;
[\CODE]

What am I doing wrong? May you help?

Thanks in advance.

Andrea
AndreaCFD is offline   Reply With Quote

Old   September 16, 2020, 15:06
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
This was patched a whole ago in the master branch, now renamed maintenance-v1912.
Otherwise just follow the compiler suggestion and fix the typo (should have indeed been sortedToc, but didn't get noticed in the regular compilation)
olesen is offline   Reply With Quote

Old   May 11, 2023, 08:00
Default
  #3
New Member
 
Join Date: Dec 2022
Posts: 23
Rep Power: 3
Nitish25 is on a distinguished road
Quote:
Originally Posted by AndreaCFD View Post
Dear members,

I am trying to compile OF-v1912 in Debug mode.
I set the varibale $WM COMPILE OPTION equal to Debug
I then go to the OpenFOAM-v1912 folder and run:

[\CODE]
./Allwmake
[\CODE]

I get this error:

[\CODE]
In member function ‘const Foam::expressions::exprResult& Foam::expressions::exprResultGlobals::get(const Foam::word&, const wordUList&) const’:
expressions/exprResult/exprResultGlobals.C:206:58: error: ‘const class Foam::HashTable<Foam::expressions::exprResultGloba ls::Table>’ has no member named ‘sortToc’; did you mean ‘sortedToc’?
<< "Known global scopes: " << variables_.sortToc() << nl;
[\CODE]

What am I doing wrong? May you help?

Thanks in advance.

Andrea
Hey
I am getting same error
kindly help me to resolve it.
TIA
Nitish25 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
[swak4Foam] swak4foam openfoam 7 installation problem Andrea23 OpenFOAM Community Contributions 1 February 17, 2020 18:11
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 09:30
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 11:25.