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

Debugging in Eclipse

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 30, 2011, 10:49
Question Debugging in Eclipse
  #1
Member
 
carowjp's Avatar
 
Jim Carow
Join Date: Apr 2010
Location: Michigan, USA
Posts: 40
Rep Power: 7
carowjp is on a distinguished road
Hello,

I followed Astrid Mahrla's tutorial (thanks for that! ) and can build my solver inside Eclipse.

However, when I try to debug inside Eclipse I get this error message:

error while loading shared libraries: libincompressibleTransportModels.so: cannot open shared object file: No such file or directory

I have even tried to specify the correct path to the libraries (/opt/openfoam171/lib/linuxGccDPDebug) on the Debug Configurations, Debugger, Shared Libraries tab...even then Eclipse insists on looking in my workspace project directory.

If I copy the 'missing' library file directly to the workspace project folder then the next referenced library will be 'missing'.

I can launch and debug from gdb from a terminal...just not in Eclipse.

Any help would be greatly appreciated!

thank you and best regards,

James
carowjp is online now   Reply With Quote

Old   October 1, 2011, 16:06
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings James,

Read this thread: Eclipse for OpenFOAM
There are various solutions shown there, some of them written by myself

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Tags
debugging, eclipse

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
Eclipse for OpenFOAM AMahrla OpenFOAM Programming & Development 108 February 27, 2015 09:51
gdbOF: A debugging Tool for OpenFOAM nisi OpenFOAM Announcements from Other Sources 8 December 11, 2014 07:32
gdbOF: A debugging Tool for OpenFOAM nisi OpenFOAM Programming & Development 0 June 9, 2011 11:28
OpenFOAM + Eclipse Svensson OpenFOAM 2 April 10, 2011 11:02
Debugging Udfs in Fluent 5.x Greg Perkins FLUENT 0 April 2, 2001 03:03


All times are GMT -4. The time now is 09:58.