CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Error install gdbOF (http://www.cfd-online.com/Forums/openfoam/92699-error-install-gdbof.html)

Ajinkya September 22, 2011 07:32

Error install gdbOF
 
I downloaded the gdbOF package developed to debug OpenFOAM software from here:

http://openfoamwiki.net/index.php/Contrib_gdbOF

However while compiling, i got the error
Code:

/usr/bin/ld: cannot find -lfiniteVolume
and the compiler exits.

I have been using OpenFOAM-2.0.0.

Thanks,
Ajinkya

nisi November 10, 2011 11:00

To complete and close this thread, I going to explain for all of you the problem and how to fix it. However we sent an email to Ajinkya two months ago with the answers.

You must ensure that OpenFOAM have been compiled in "Debug" mode, and is selected the option "Debug" in the environment variables of OpenFOAM (file etc/bashrc).

A fast way to test that is:

$ find -iname "*finiteVolume.so*"

must shows the folder

"/platform/linuxGccDPDebug/
" instead of "/platform/linuxGccDPOpt/"

Regards, Juan


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