CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

Manage openfoam solver project in KDevelop probably the last linker error any suggestion is welcome

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 7, 2007, 10:01
Default I met the same problem on fedo
Senior Member
lakeat's Avatar
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 12
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
I met the same problem on fedora 7, the error message is as followed:

[Daniel@Daniel incompressible]$ wmake icoFoam
SOURCE=icoFoam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/Daniel/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/Daniel/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPDebug/icoFoam.o
g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/home/Daniel/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/Daniel/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGcc4DPDebug/icoFoam.o -L/home/Daniel/OpenFOAM/OpenFOAM-1.4/lib/linuxGcc4DPDebug \
-lfiniteVolume -liberty -lOpenFOAM -liberty -ldl -lOpenFOAM -liberty -ldl -ggdb3 -DFULLDEBUG -lm -o /home/Daniel/OpenFOAM/OpenFOAM-1.4/applications/bin/linuxGcc4DPDebug/icoFoam
/home/Daniel/OpenFOAM/OpenFOAM-1.4/lib/linuxGcc4DPDebug/ undefined reference to `cplus_demangle(char const*, int)'
collect2: ld returned 1 exit status
make: *** [/home/Daniel/OpenFOAM/OpenFOAM-1.4/applications/bin/linuxGcc4DPDebug/icoFoam] Error 1

so what does it mean, "undefined reference to `cplus_demangle' "
I never met it before i installed it on fedora 6 and on ubuntu.


Daniel WEI
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wmake C and KDevelop for a Foam project roncresswell OpenFOAM Installation 21 January 27, 2010 13:00
How should one debug a solver using KDevelop kar OpenFOAM Installation 5 July 28, 2008 16:36
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 09:33
Would OpenFOAM be good for this shortterm project distributed force field brooksmoses OpenFOAM Running, Solving & CFD 2 November 2, 2005 04:58
Solver suggestion? Oleg Melnik Main CFD Forum 6 February 8, 2001 03:34

All times are GMT -4. The time now is 20:35.