Gem icon indicating copy to clipboard operation
Gem copied to clipboard

W32 binaries for Gem-0.94

Open umlaeute opened this issue 6 years ago • 2 comments

Currently we don't have binaries for Gem-0.94 that can run under 32bit Windows (due to #225).

This ought to be fixed.

umlaeute avatar Apr 03 '19 07:04 umlaeute

on a freshly setup Win10 build machine, i was able to compile a 32bit binary that seems to work fine (and catch exceptions).

libwinpthread-1.dll

However, the binary only loads if it uses the libwinpthread-1.dll that comes with Gem. However, usually the libwinpthread-1.dll that comes with Pd (and which seems to be incompatible) is preferred.

Solution: remove the libwinpthread-1.dll that comes with Pd

are there any side-effects? e.g. doesn't Pd itself require this library (for [readsf~]?

-> replace the libwinpthread-1.dll that comes with Pd by the one that comes with Gem. (naive tests seem to imply that this works; there might be other complications with externals that require the library)

msvcr*.dll

Pd ships a couple of MSVC-runtime libraries (msvcr90.dll, msvcrt.dll), which conflict with Gem. at least at build time. most likely at runtime as well.

  • [ ] confirm that there's a runtime conflict

umlaeute avatar Apr 03 '19 07:04 umlaeute

also note, that i have only been able to load Gem when Pd is started from the MSYS2-shell. (it fails to load when starting Pd either from the cmd CLI or via explorer)

umlaeute avatar Apr 04 '19 08:04 umlaeute