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

Compiling OpenFOAM 13 in Debug mode

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 13, 2006, 04:48
Default Hi! Because of problems with
  #1
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
Hi!
Because of problems with splitMesh utility, I'm trying to compile OF on a Fedora Core 5 x86_64 linux workstation, with this settings in .OpenFOAM-1.3/bashrc:

export WM_PRECISION_OPTION=SP
export WM_COMPILE_OPTION=Debug
export WM_JAVAC_OPTION=Opt

After a while, the compiling process return this error:

SOURCE_DIR=global
SOURCE=global/global.C ; g++ -m64 -DlinuxAMD64 -DSP -Wall -W -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-30 -DWM_PROJECT_VERSION='"'1.3'"' -I/home/francesco/OpenFOAM/OpenFOAM-1.3/src/zlib-1.2.1 -I/home/francesco/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -c $SOURCE -o Make/linuxAMD64Gcc4SPDebug/global.o
In file included from global/global.C:61:
/home/francesco/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/error.C:41:22: error: demangle.h: No such file or directory
/home/francesco/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/error.C: In static member function 'static void Foam::error::printStack(Foam:: Ostream&)':
/home/francesco/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/error.C:193: error: 'auto_demangling' was not declared in this scope
/home/francesco/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/error.C:194: error: 'cplus_demangle' was not declared in this scope
make: *** [Make/linuxAMD64Gcc4SPDebug/global.o] Error 1

It doesn't stop, and after a while other errors, and it finally stops.

I'm using the gcc 4.1.0 distributed with OpenFOAM, even if it should be exactly the same of Fedora Core 5:

[francesco@donald .OpenFOAM-1.3]$ which gcc
~/OpenFOAM/linuxAMD64/gcc-4.1.0/bin/gcc
[francesco@donald .OpenFOAM-1.3]$ gcc --version
gcc (GCC) 4.1.0
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Any suggestions?
Francesco
fra76 is offline   Reply With Quote

 


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
Debug mode with UDF ?? Thierry FLUENT 1 October 9, 2018 21:57
Problem when compiling debug version of 141 kar OpenFOAM Installation 0 February 22, 2008 09:59
Compiling errors for OpenFOAM 13 brucejimo OpenFOAM Installation 3 October 5, 2006 00:01
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix mbeaudoin OpenFOAM Installation 2 April 28, 2006 08:54
Compiling openfoam zaferleylek OpenFOAM Installation 0 November 7, 2005 07:01


All times are GMT -4. The time now is 12:53.