Closed thbar closed 7 years ago
Hi there, sorry for the long wait! I've just published version 5.1.1
, which should hopefully get rid of this issue. I think you compiler is somehow a bit too pedantic and fails with that warning about the NULL incompatibility, so I've replaced it with a simple 0
(that argument is not used anyway for input devices).
Let me know how it goes! 👋
Hi! No need to apologize for the wait - you don't owe anything to anyone :-)
This new version goes a bit further, thanks for the patch !
I then stumble on another issue, which I'll investigate (but I still wanted to provide feedback):
== Compilation error on file lib/portmidi/nifs/devices.ex ==
11:53:40.854 [warn] The on_load function for module Elixir.PortMidi.Nifs.Devices returned {:error, {:bad_lib, 'Library version (2.11) not compatible (with 2.10).'}}
** (MatchError) no match of right hand side value: {:error, :on_load_failure}
(stdlib) erl_eval.erl:670: :erl_eval.do_apply/6
@thbar Hi. I experienced the same error. That error may be caused by the version of Erlang VM you are using.
if you use Homebrew on Mac, exec brew switch erlang 19.x; brew link --overwrite erlang
to make sure use latest Erlang VM.
@zenwerk I switched to 19.3, then cleaned/recompiled, and ultimately it worked. Closing this one. Thanks!
While trying to test out the timestamp support (see #6), I updated from v5.0.1 to v5.1.0 and got that error:
This happens with a brand new mix project.
I'm not sure yet what is happening here ; I've been able to clone the repo locally and launch the tests etc, I see warnings but no errors. Maybe the compilation is stopped with a non zero exit-code due to a warning.