|
[Sponsors] |
[OpenFOAM.org] Compiling of Openfoam fails with Debug switch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 18, 2020, 15:28 |
Compiling of Openfoam fails with Debug switch
|
#1 |
New Member
Anik Mazumder
Join Date: May 2017
Posts: 9
Rep Power: 9 |
I was trying to compile OpneFoam-v1912 in my WSL ubuntu 18.04. I changed the WM_COMPILE_OPTION to "Debug" in the bashrc file and tried to compile with Allwmake. I got the following error. Kindly help me fix this
expressions/exprResult/exprResultGlobals.C: 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; ^~~~~~~ /home/anik/OpenFOAM/OpenFOAM-v1912/wmake/rules/General/transform:34: recipe for target '/home/anik/OpenFOAM/OpenFOAM-v1912/build/linux64Gcc63DPInt32Debug/src/OpenFOAM/expressions/exprResult/exprResultGlobals.o' failed make: *** [/home/anik/OpenFOAM/OpenFOAM-v1912/build/linux64Gcc63DPInt32Debug/src/OpenFOAM/expressions/exprResult/exprResultGlobals.o] Error 1 |
|
February 17, 2021, 13:20 |
Solution to "Default Compiling of Openfoam fails with Debug switch"
|
#2 |
New Member
Kevin
Join Date: Jul 2017
Location: Austin, Texas, USA
Posts: 1
Rep Power: 0 |
Dear Anik,
I don't know if you found the solution yet, but the solution was posted here OF-v1912 Debug mode compilation ERROR by Mark Olesen, which I quote: "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)". You should then edit the file $WM_PROJECT_DIR/src/OpenFOAM/expressions/exprResult/exprResultGlobals.C to fix the typo. |
|
May 11, 2023, 09:41 |
|
#3 | |
New Member
Join Date: Dec 2022
Posts: 23
Rep Power: 4 |
Quote:
I am getting same error kindly help me to resolve it. TIA |
||
May 18, 2023, 08:49 |
|
#4 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Did you already try with a new source pack? For example,
https://dl.openfoam.com/source/v1912...912_220610.tgz |
|
Tags |
compilation error, debug mode |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM course for beginners | Jibran | OpenFOAM Announcements from Other Sources | 2 | November 4, 2019 09:51 |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 07:15 |
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 21, 2016 12:50 |
mpif90 breaks after compiling OpenFOAM | startingWithCFD | OpenFOAM Installation | 2 | October 1, 2013 09:06 |
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix | mbeaudoin | OpenFOAM Installation | 2 | April 28, 2006 09:54 |