CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Problems while compiling source (https://www.cfd-online.com/Forums/openfoam-installation/57483-problems-while-compiling-source.html)

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:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)':
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 http://www.cfd-online
 
Go here
http://www.cfd-online.com/cgi-bin/Op...cus/search.cgi

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:
http://www.cfd-online.com/OpenFOAM_D.../126/4080.html


All times are GMT -4. The time now is 16:03.