Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module PortMidi.Nifs.Devices is not loaded and could not be found #1

Open
pizzapim opened this issue Oct 8, 2020 · 0 comments
Open

Comments

@pizzapim
Copy link

pizzapim commented Oct 8, 2020

Hi, I wanted to check out this project but I couldn't compile it. This is the error I got:

==> portmidi
cc -g -std=c99 -O3 -pedantic -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I/home/pizzapim/.asdf/installs/erlang/23.0.3/erts-11.0.3/include -fPIC -shared  -o priv/portmidi_in.so -lportmidi src/portmidi_in.c src/portmidi_shared.c
cc -g -std=c99 -O3 -pedantic -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I/home/pizzapim/.asdf/installs/erlang/23.0.3/erts-11.0.3/include -fPIC -shared  -o priv/portmidi_out.so -lportmidi src/portmidi_out.c src/portmidi_shared.c
cc -g -std=c99 -O3 -pedantic -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I/home/pizzapim/.asdf/installs/erlang/23.0.3/erts-11.0.3/include -fPIC -shared  -o priv/portmidi_devices.so -lportmidi src/portmidi_devices.c src/portmidi_shared.c
warning: Mix compiler :port_midi was supposed to return {:ok | :noop | :error, [diagnostic]} but it returned nil
Compiling 12 files (.ex)

== Compilation error in file lib/portmidi/devices.ex ==
** (CompileError) lib/portmidi/devices.ex:2: module PortMidi.Nifs.Devices is not loaded and could not be found


11:48:37.715 [warn]  The on_load function for module Elixir.PortMidi.Nifs.Devices returned:
{:error, {:load_failed, 'Failed to load NIF library: \'/home/pizzapim/apps/beats/_build/dev/lib/portmidi/priv/portmidi_devices.so: undefined symbol: Pm_OpenInput\''}}

could not compile dependency :portmidi, "mix compile" failed. You can recompile this dependency with "mix deps.compile portmidi", update it with "mix deps.update portmidi" or clean it with "mix deps.clean portmidi"

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant