aselectroworks / AtomS3_USB-BLE_MIDI_Bridge

USB-BLE MIDI Bridge for AtomS3
MIT License
5 stars 0 forks source link

MIDIUSB.h: No such file or directory #1

Open tilllt opened 8 months ago

tilllt commented 8 months ago

I cannot compile your Sketch because i get this error, although the MIDIUSB.h exists in C:\Users\name\Documents\Arduino\libraries\USBMIDI\src

In file included from C:\Users\tills\Documents\Arduino\AtomS3_USB-BLE_MIDI_Bridge\AtomS3_USB-BLE_MIDI_Bridge\AtomS3_USB-BLE_MIDI_Bridge.ino:34:
C:\Users\tills\Documents\Arduino\libraries\Arduino-USBMIDI\src/USB-MIDI.h:26:10: fatal error: MIDIUSB.h: No such file or directory
 #include <MIDIUSB.h>
          ^~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

do you have a tip how to solve this?

aselectroworks commented 8 months ago

@tilllt I think you use master branch of Arduino USB-MIDI Transport. This project needs multi-cable-support branch on my FORKED version. please chekcout the branch git checkout multi-cable-support

About Arduino BLE-MIDI Transport, it also need connection_compatibility branch on my FORKED version. Please be careful.

tilllt commented 8 months ago

Thanks for the reply. I had already cloned your repos but didnt explicitly checkout the branches.

in the case of the connection_compatibility branch, i get this:

git checkout connection-compatibility
error: pathspec 'connection-compatibility' did not match any file(s) known to git
aselectroworks commented 8 months ago

@tilllt I think this is typo. please try git checkout connection_compatibility. not '-', it's underscore '_'

tilllt commented 8 months ago

Thank you, finally it is working.