CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFOAM Debugging in kDBg (https://www.cfd-online.com/Forums/openfoam-installation/100353-openfoam-debugging-kdbg.html)

vmsandip2011 April 24, 2012 10:35

OpenFOAM Debugging in kDBg
 
Hi all,
I was trying to debugg the OpenFOAM code in KDBg.
it is similar to GDB, I have compiled the OpenFoam Debug version by making change in bashrc file.
And then I have the linuxGccDPDebug folder which has all executables present .
If I try to run the gdb it is working properly , but while running the KDBg
I am getting the error:
/home/sandip/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPDebug/bin/icoFoam: error while loading shared libraries:
libfiniteVolume.so cannot open shared object file : No such file or directory .

Actually this libfiniteVolume.so file is present in linuxGccDPDebug/lib folder.
But still this error is comeing.
Anybody is having any idea about how to resolve this issue, previously
I was able to debug the OpenFOAM in KDBg.
Please see the attached bashrc file for more information.


with regards.

wyldckat April 24, 2012 19:04

Greetings Sandip,

You're having the same problem that others have had with Eclipse IDE. A few solutions have been posted by me in the following posts:
In summary, it should be as easy as launching kDBg from the same terminal where you can run the debug version of icoFoam.

Best regards,
Bruno

vmsandip2011 April 25, 2012 09:44

Default OpenFOAM Debugging in kDBg
 
Thanks for the reply
If KDBg is launched through the terminal then it is working fine.
But not if launched directly Applications->Programming Tools->KDBg

with regards.


All times are GMT -4. The time now is 17:16.