May 11, 2023, 07:31
|
|
#21
|
New Member
Join Date: Dec 2022
Posts: 23
Rep Power: 2
|
Quote:
Originally Posted by anikm
I have followed your instruction in my WSL ubuntu 18.04 for OpenFOAM-v1912. For Opt mode as usual there is no error. However, in "Debug" mode I am finding the following error.
g++ -std=c++11 -m64 -DOPENFOAM=1912 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-100 -I/home/anik/OpenFOAM/OpenFOAM-v1912/build/linux64Gcc63DPInt32Debug/src/OpenFOAM -IlnInclude -I. -I/home/anik/OpenFOAM/OpenFOAM-v1912/src/OpenFOAM/lnInclude -I/home/anik/OpenFOAM/OpenFOAM-v1912/src/OSspecific/POSIX/lnInclude -fPIC -c expressions/exprString/exprString.C -o /home/anik/OpenFOAM/OpenFOAM-v1912/build/linux64Gcc63DPInt32Debug/src/OpenFOAM/expressions/exprString/exprString.o
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

Can you kindly help me?
|
Hey
I am getting same error
kindly help me to resolve it.
TIA
|
|
|