CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Problems while compiling source (

sahas October 20, 2007 09:17

Hello, World! A have OpenFO
Hello, World!

A have OpenFOAM 1.4 source.
I've tried to compile (by Allwmake) and most of the files was compiled succesfully.
But I have the next error:

+ wmake libso OpenFOAM
SOURCE=global/global.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -DWM_PROJECT_VERSION='"'1.4'"' -I/home/saha/OpenFOAM/OpenFOAM-1.4/src/zlib-1.2.1 -IlnInclude -I. -I/home/saha/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/global.o
In file included from global/global.C:61:
lnInclude/error.C:46:22: error: demangle.h: No such file or directory
lnInclude/error.C: In static member function 'static void Foam::error::printStack(Foam:':
lnInclude/error.C:398: error: 'auto_demangling' is not declared
lnInclude/error.C:399: error: 'cplus_demangle' is not declared
make: *** [Make/linuxGcc4DPOpt/global.o] Error 1

So, what should I doing?
I've searched for demangle.h and found it in libcwd-dev which is installed in /usr/include/libcwd/.

mbeaudoin October 20, 2007 12:24

Go here
Go here

Search for: demangle.h

sahas October 20, 2007 12:47

Thank you a lot!=) Here is
Thank you a lot!=)

Here is a very usefull duscussion:

All times are GMT -4. The time now is 07:44.