That .dylib in the archive you've attached is a 32-bit Windows executable. You need to build it on macOS to get a macOS binary.
Code:
Downloads/reaper_VadiSoundLibrary$ file reaper_VadiSoundLibrary.dylib
PE32 executable (console) Intel 80386, for MS Windows
Downloads/reaper_VadiSoundLibrary$ file reaper_VadiSoundLibrary.dll
PE32+ executable (DLL) (GUI) x86-64, for MS Windows
The correct output for a 64-bit macOS shared library would be:
Code:
Mach-O 64-bit x86_64 dynamically linked shared library, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|WEAK_DEFINES|BINDS_TO_WEAK|NO_REEXPORTED_DYLIBS|HAS_TLV_DESCRIPTORS>