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

Problems while compiling source

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2007, 10:17
Default Hello, World! A have OpenFO
  #1
Member
 
Alexander
Join Date: Mar 2009
Posts: 49
Rep Power: 17
sahas is on a distinguished road
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:stream&)':
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/.
sahas is offline   Reply With Quote

Old   October 20, 2007, 13:24
Default Go here http://www.cfd-online
  #2
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Go here
http://www.cfd-online.com/cgi-bin/Op...cus/search.cgi

Search for: demangle.h
mbeaudoin is offline   Reply With Quote

Old   October 20, 2007, 13:47
Default Thank you a lot!=) Here is
  #3
Member
 
Alexander
Join Date: Mar 2009
Posts: 49
Rep Power: 17
sahas is on a distinguished road
Thank you a lot!=)

Here is a very usefull duscussion:
http://www.cfd-online.com/OpenFOAM_D.../126/4080.html
sahas is offline   Reply With Quote

Reply


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.com] Compiling problems chris1980 OpenFOAM Installation 8 June 3, 2015 16:41
Problems with compiling roberthino OpenFOAM Installation 3 March 17, 2008 05:04
Problems compiling OF 141 on Edubuntu 71 david_flo1 OpenFOAM Installation 16 January 22, 2008 00:16
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 18:38
Problems compiling under 14 grtabor OpenFOAM Running, Solving & CFD 9 July 17, 2007 23:34


All times are GMT -4. The time now is 14:57.