haubie / midiex

Cross platform Midi library in Elixir. Powered by midir, a Rust midi library and Rustler.
MIT License
9 stars 4 forks source link

Copying NIF from cache and extracting to _build/dev/lib/midiex/priv/native/midiex-v0.6.1-nif-2.15-x86_64-pc-windows-msvc.dll #4

Open SocksHelp opened 3 months ago

SocksHelp commented 3 months ago

On Windows 11 using Elixir 1.17.2 and OTP 27.0.1 or Elixir 1.16.3 and OTP 26.2.5.2, I get this error when I run this script and it crashes the script.

Mix.install([{:midiex, "~> 0.6.1"}])
Midiex.ports()
Copying NIF from cache and extracting to _build/dev/lib/midiex/priv/native/midiex-v0.6.1-nif-2.15-x86_64-pc-windows-msvc.dll
SocksHelp commented 3 months ago

The crash seems related to https://github.com/philss/rustler_precompiled/issues/56

I resolved this by updating nif, rustler, and midir.

haubie commented 3 months ago

Thank you for reporting the issue @SocksHelp. I'm glad you were able to resolve the issue.

I'll take a look to see if I need to bump the versions up and generate a new release.