CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Debugging in Eclipse (

carowjp September 30, 2011 10:49

Debugging in Eclipse

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: 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! :D

thank you and best regards,


wyldckat October 1, 2011 16:06

Greetings James,

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

Best regards,

All times are GMT -4. The time now is 19:18.