CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   FoamDebugSwitches link error (http://www.cfd-online.com/Forums/openfoam-bugs/62573-foamdebugswitches-link-error.html)

ueno June 16, 2007 20:58

Hello. I'm trying to compil
 
Hello.

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
bugSwitches/Make/option"
Without this, the compiler cannot link libpdf to "foamDebugSwitches" and claims that `Foam::pdf::New(Foam::dictionary const&, Foam::Random&)' is not found.

Makoto


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