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

Debugging in Eclipse

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 41
Rep Power: 16
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 offline   Reply With Quote

Old   October 1, 2011, 16:06
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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


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
Eclipse for OpenFOAM AMahrla OpenFOAM Programming & Development 109 October 8, 2017 16:20
gdbOF: A debugging Tool for OpenFOAM nisi OpenFOAM Announcements from Other Sources 18 August 20, 2015 11:43
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 03:19.