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/)
-   -   Where/How to add a shared library (.so) to wmake? (https://www.cfd-online.com/Forums/openfoam-programming-development/193847-where-how-add-shared-library-so-wmake.html)

klausb October 4, 2017 17:27

Where/How to add a shared library (.so) to wmake?
 
Hello,

I need functionality from an external library in my new solver and need to link a shared_library.so from the external library so I can compile my new solver with additional functionality.

Where/How should I link the shared_library.so for use with wmake?

I added it to the Make/options file and the LD_LIBRARY_PATH but wmake causes errors in the OF solver library, actually the standard OF part of the code is compiled incorrectly (but without compile errors) once the shared_library.so is linked that way.

Klaus


All times are GMT -4. The time now is 03:26.