Closed tobiasherzke closed 3 years ago
LGTM :+1:
I've merged the commit manually, as the winmm
library is a dependency of liblsl, not lslboost and the second empty commit isn't needed. (FWIW, you can re-run the CI manually from the Github Actions page).
The suggested patch makes the dependencies of LSL on the following windows DLLs explicit: winmm.dll, mwsock.dll, ws2_32.dll.
When compiling with Visual C++, these DLLs are used as well, as you can check with cygcheck or dependency-walker:
Your default windows toolchain is Visual C++, and Visual C++ seems to figure out these dependencies automatically.
We are using liblsl compiled with MinGW-W64, and this toolchain cannot deduce this dependency automatically. We need the dependency explicitly specified, as in this patch.
Specifiying these dependencies automatically does not harm your build with Visual C++ - it will continue to work fine.
I ask you to apply this patch to your code base so that other users who also use MinGW will be able to use your library.