-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Building on Linux I am getting an error with midi2usb
. Possibly related to #7. I have ALSA v1.2.10. Was there a change in v1.2.11 that needs to be accounted for to be compatible with both versions? See https://www.alsa-project.org/wiki/Detailed_changes_v1.2.10_v1.2.11#Sequencer_API
make: Entering directory '/REDACTED/MIDI2.0Workbench/node_modules/usb_midi_2/build'
CXX(target) Release/obj.target/ALSA/alsabindings.o
../alsabindings.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE get_UMP_Endpoints(Nan::NAN_METHOD_ARGS_TYPE)’:
../alsabindings.cc:202:13: warning: unused variable ‘errEP’ [-Wunused-variable]
int errEP = snd_seq_get_ump_endpoint_info(seq, client, ep);
^~~~~
../alsabindings.cc:262:14: warning: unused variable ‘err’ [-Wunused-variable]
int err = snd_seq_connect_from(seq, localPort, client, portNum);
^~~
../alsabindings.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE sendUMP(Nan::NAN_METHOD_ARGS_TYPE)’:
../alsabindings.cc:373:5: error: ‘snd_seq_ump_ev_clear’ was not declared in this scope
snd_seq_ump_ev_clear(&ev);
^~~~~~~~~~~~~~~~~~~~
../alsabindings.cc:373:5: note: suggested alternative: ‘snd_seq_ev_clear’
snd_seq_ump_ev_clear(&ev);
^~~~~~~~~~~~~~~~~~~~
snd_seq_ev_clear
../alsabindings.cc:392:9: warning: unused variable ‘senRes’ [-Wunused-variable]
int senRes = snd_seq_ump_event_output(seq, &ev);
^~~~~~
make: *** [ALSA.target.mk:108: Release/obj.target/ALSA/alsabindings.o] Error 1
make: Leaving directory '/REDACTED/MIDI2.0Workbench/node_modules/usb_midi_2/build'
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working