CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Debugging in Eclipse (https://www.cfd-online.com/Forums/openfoam-programming-development/92980-debugging-eclipse.html)

carowjp September 30, 2011 10:49

Debugging in Eclipse
 
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! :D

thank you and best regards,

James

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,
Bruno


All times are GMT -4. The time now is 13:15.