|April 12, 2006, 13:44||
Hi, I've been trying now fo
I've been trying now for several hours to get OpenFoam-1.3 compiled on Debian. I've modified bashrc-like files according to the system, compiled libcwd to get "demangle.h"... I'm now stuck with this error:
SOURCE=global/global.C ; g++-4.0 -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O2 -DNoRepository -ftemplate-depth-30 -DWM_PROJECT_VERSION='"'1.3'"' -I/home/XXX/OpenFOAM/OpenFOAM-1.3/src/zlib-1.2.1 -I/home/XXX/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -I/usr/include/libcwd -fPIC -pthread -c $SOURCE -o Make/linuxDPOpt/global.o
/home/XXX/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/error.C: In static member function 'static void Foam::error::printStack(Foam:stream&)':
/home/XXX/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/error.C:193: error: 'auto_demangling' was not declared in this scope
/home/XXX/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/error.C:194: error: 'cplus_demangle' was not declared in this scope
Of course global.o is not built and later readSTLASCII.o fails to build.
BTW is there a way to clean the whole build tree? Scripts like wclean, wmcleanAll... do not clean lam and mico dirs...
Any hint would be appreciated ;-)
System: Debian Etch Linux 2.6.15
Gcc: gcc-4.01 (from the etch tree)
Thanks for your help.
|April 12, 2006, 15:01||
Hello Julien, The missing d
Join Date: Mar 2009
Posts: 331Rep Power: 14
The missing demangle.h file is from the binutils package, not the one from libcwd.
Look up the recent discussion about porting OpenFOAM 1.3 over SuSE 9.1.
Debian based systems have the same problem as RedHat regarding the missing demangle.h file.
I have recompiled OpenFOAM 1.3 on a Debian based system (Knoppix 5.0) last week, and I had to apply the same modification to my local binutils installation as the one described for RedHat.
I am currently in the process of documenting the whole recompilation process for OpenFOAM 1.3, and so far, I successfully recompiled OpenFOAM 1.3 on SuSE 9.1 x86_64, RedHat WS 4, Centos/RedHat 4, and Knoppix 5.0 (which is base on Debian).
|April 14, 2006, 14:56||
Hello Martin, Julien! I'm a
Join Date: Mar 2009
Posts: 4Rep Power: 9
Hello Martin, Julien!
I'm also recompiling OF 1.3 on Debian (AMD64) and have to confirm this "demangle.h"-problem. I tried first with the deb-package binutils-dev, which provides "iberty" , but then I had to install the mentioned rpm-package for the demangle.h.
Next problem was that Xext- and X11-libs are installed only in /usr/X11R6/lib instead of lib64.
At the moment I have troubles compiling mico (if I just run the top Allwmake I get errors that micocoss/mico libraries are not found), so I am trying to compile mico separately.
Sorry, I overlooked this thread, so I posted my last comment in the suse9.1-thread.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Debian package for ubuntu 810||deepblue17||OpenFOAM Installation||26||May 5, 2010 07:43|
|Problems compiling OpenFOAM15 on Debian Etch||geoffjay||OpenFOAM Installation||1||February 5, 2009 17:29|
|Compiling Problem on Debian||besto||OpenFOAM Installation||8||August 13, 2008 15:29|
|Compilation whith a debian||pifou74||OpenFOAM Installation||3||April 10, 2008 08:31|
|Fluent 6.2 on debian linux||Chris||FLUENT||3||June 2, 2005 05:21|