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/)
-   -   cannot find -llibrary (https://www.cfd-online.com/Forums/openfoam-programming-development/125324-cannot-find-llibrary.html)

fogl October 23, 2013 08:16

cannot find -llibrary
 
I succesfully changed the engine library and moveEngineMesh utility (i named them engineRev3 and moveEngineMeshRev3). Now i would like to compile a new Revision of them. I made a copy of Rev3 and named it Rev4 - same as i did before. I successfully compiled the engineRev4 library, but i can not compile the moveEngineMesh. I wmake returns the "/usr/bin/ld: cannot find -lengineRev4" error. Any idea why is that? I did not change anything except the name.

I can find Rev3 and Rev4 li9brary at
/home/klemen/OpenFOAM/klemen-2.2.0/platforms/linuxGccDPDebug/lib/libengineRev3.so
/home/klemen/OpenFOAM/klemen-2.2.0/platforms/linuxGccDPDebug/lib/libengineRev4.so

I also fond the Rev3 (but not the Rev4) at
/home/klemen/OpenFOAM/OpenFOAM-2.2.0/platforms/linuxGccDPDebug/lib/libengineRev3.so

I am not sure how did this copy of Rev3 library got there and if missing of Rev4 could be the reason for the error.

Any idea what could be the problem?

Regards
Klemen


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