You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Linux, the linker when creating a static library is ar. ar is just an archiver and doesn't really do a lot more than take a bunch of object files and stuff them in the static library (at least by default with Cmake). ar cannot link an existing library to the static library, one would have to extract the object files from the static library and then use ar to add them. With the current build system, when you try to link to the created static library on Linux, you get undefined references, because ar hasn't actually linked any of the sub-libraries like aerodyn etc.
The text was updated successfully, but these errors were encountered:
reos-rcrozier
changed the title
Static library build in Linux broken by PR #15
Static library build in Linux broken by PR #1555
Jul 12, 2023
The following line on linux will not link anything into
openfastlib_static
ifopenfast_postlib
is a static library.openfast/modules/openfast-library/CMakeLists.txt
Line 77 in 6b8706b
This was addressed by PR #1010 but reverted in PR #1555
From the description of PR #1010 :
The text was updated successfully, but these errors were encountered: