CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Debug version of OpenFOAM-1.6

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

Like Tree5Likes

LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2023, 07:31
New Member
Join Date: Dec 2022
Posts: 23
Rep Power: 2
Nitish25 is on a distinguished road
Originally Posted by anikm View Post
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?
I am getting same error
kindly help me to resolve it.
Nitish25 is offline   Reply With Quote


debug version error g++

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
OpenFOAM on cluster: version GLIBCXX_3.4.9 and GLIBCXX_3.4.11 not found ovie OpenFOAM 10 April 19, 2021 18:06
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 15:39
OpenFOAM version 1.6 details lakeat OpenFOAM Running, Solving & CFD 42 August 26, 2009 21:47
OpenFOAM Version 1.6 Released opencfd OpenFOAM Announcements from ESI-OpenCFD 0 July 27, 2009 17:55

All times are GMT -4. The time now is 10:42.