Examples: - https://github.com/openzim/libzim/actions/runs/14819235224/job/41603865419?pr=984 - https://github.com/openzim/libzim/pull/958/commits/3dd1a5b86154331cbf46b1c538439287274fc603 The problem seems to be caused by the improper definition of the `LIBZIM_API` and `LIBZIM_PRIVATE_API` macros. 1. When building a DLL they need to be defined as `__declspec(dllexport)` 2. However when compiling client code to be linked with a DLL they must be set to `__declspec(dllimport)` See https://learn.microsoft.com/en-us/cpp/build/importing-into-an-application-using-declspec-dllimport?view=msvc-170