CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   FoamDebugSwitches link error (

ueno June 16, 2007 20:58

Hello. I'm trying to compil

I'm trying to compile OF1.4 on my gentoo system (x86).
I'm using gcc4.1.2(Gentoo) and binutils of my system, not provided from OF site.

Then, I have found that one needs to add "-lpdf" to the file "applications/utilities/miscellaneous/foamDe
Without this, the compiler cannot link libpdf to "foamDebugSwitches" and claims that `Foam::pdf::New(Foam::dictionary const&, Foam::Random&)' is not found.


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