CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

symbol lookup error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 17, 2013, 09:27
Default symbol lookup error
  #1
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 675
Rep Power: 8
sharonyue is on a distinguished road
Hi guys,

Just do what I do:
Code:
 cp -r /opt/openfoam220/applications/solvers/multiphase/interFoam/ $HOME/
cd interFoam
Then in the Make/files:
Code:
interFoam.C

EXE = $(FOAM_USER_APPBIN)/myinterFoam
Then wmake. you will succeed and have a new solver called myinterFoam which is the same with interFoam.

Try to run myinterFoam,

does it say:
Code:
myinterFoam: symbol lookup error: /home/cfd/OpenFOAM/cfd-2.2.0/platforms/linux64GccDPOpt/lib/libincompressibleTransportModels.so: undefined symbol: _ZTIN4Foam14transportModelE
My confusion is that this is a very easy programming. I just move the solver to another place, but it cant run.
sharonyue is offline   Reply With Quote

Old   September 18, 2013, 04:52
Default
  #2
Member
 
Gregor Olenik
Join Date: Jun 2009
Location: http://greole.github.io/
Posts: 78
Rep Power: 8
gregor is on a distinguished road
Hi

what is the content of your Make/options file ? It looks like you are linking against a LIB_USR_SRC somewhere. What is the output of foamInstallationTest ?



Gregor
gregor is offline   Reply With Quote

Old   September 19, 2013, 07:46
Default
  #3
Senior Member
 
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 675
Rep Power: 8
sharonyue is on a distinguished road
Quote:
Originally Posted by gregor View Post
Hi

what is the content of your Make/options file ? It looks like you are linking against a LIB_USR_SRC somewhere. What is the output of foamInstallationTest ?



Gregor
Hi

I didnot modify the Make/options file. and what is the output of foamInstallationTest?
sharonyue is offline   Reply With Quote

Reply

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
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 07:11
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 20:30
using METIS functions in fortran dokeun Main CFD Forum 7 January 29, 2013 05:06
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44


All times are GMT -4. The time now is 00:53.