tttapa / Control-Surface

Arduino library for creating MIDI controllers and other MIDI devices.
GNU General Public License v3.0
1.25k stars 140 forks source link

DUAL MIDI interface "no match for operator " #203

Closed Malensky closed 4 years ago

Malensky commented 4 years ago

Hello,

I have successfully built an Ardunio Leonardo-based midi controller with your amazing library, kudos for that! It has 6 pots, 2 momentary switches, a rotary encoder and a bank-selector switch. It is fully fucntional over USB-midi, however wanted it to send midi over 5-din MIDI at the same time. I tried using the DUAL-interface example but it gives me an error while compiling. I am pretty new at this but as far as I understand it does not recognize part of the library... Apologies if I speak nonsense.

You may see the code and the error message below. Sincere thanks for all your work and for any assistance with this!

Kind regards, Malen

/** 
 * This is the code I used for my specific MIDI controller.  
 * 
 * @boards  Leonardo
 * 
 * Connections
 * -----------
 * 
 * I used an Arduino Leonardo with:
 * - 4 faders on A0-A3
 * - 8 potentiometers on A4-A11
 * - 1 rotary encoder on pins 0-1
 * - 4 toggle switches on pins 2, 3, 5 and 7
 * - 1 toggle switch (for bank select) on pin 11
 * - 1 LED on pin 13
 *
 * Behavior
 * --------
 * 
 * - When bank select is 0, faders 1-4 are channel volumes 1-4, potSide 1-4 are 
 *   pan/balance of channel 1-4, switches 1-4 are mute channel 5-8.
 * - When bank select is 1, faders 1-4 are channel volumes 5-8, potSide 1-4 are 
 *   pan/balance of channel 5-8, switches 1-4 are mute channel 1-4.
 * - PotTop 1-4 are not in the bank, because I use them as effect or EQ
 *   parameters, and they are channel independent.
 * - Enc1 is used for scrolling.
 *
 * Mapping
 * -------
 * 
 * Create a custom mapping using the MIDI learn option in your DAW.
 *
 * Written by PieterP, 07-09-2017
 * https://github.com/tttapa/Control-Surface
 */

#include <Encoder.h>
// Encoder has to be included before Control_Surface
#include <Control_Surface.h>

USBMIDI_Interface usbmidi;
HardwareSerialMIDI_Interface serialmidi = {Serial1, MIDI_BAUD};

// Create a MIDI pipe factory to connect the MIDI interfaces to Control Surface
BidirectionalMIDI_PipeFactory<2> pipes;

// If the jog wheels or other encoders are too slow in your software, increase
// this value.
// (It will be multiplied with the actual speed of the encoder, as the name
// implies.) Default is 1.
const int speedMultiplier = 1;

Bank<2> bank(1); // A bank with four channels, and 2 bank settings

Bankable::CCPotentiometer faders[] = {
  {{bank, BankType::CHANGE_CHANNEL}, A0, {MIDI_CC::General_Purpose_Controller_1, CHANNEL_1}},
  {{bank, BankType::CHANGE_CHANNEL}, A1, {MIDI_CC::General_Purpose_Controller_2, CHANNEL_1}},
  {{bank, BankType::CHANGE_CHANNEL}, A2, {MIDI_CC::General_Purpose_Controller_3, CHANNEL_1}},
  {{bank, BankType::CHANGE_CHANNEL}, A3, {MIDI_CC::General_Purpose_Controller_4, CHANNEL_1}},
  {{bank, BankType::CHANGE_CHANNEL}, A4, {MIDI_CC::General_Purpose_Controller_5, CHANNEL_1}},
  {{bank, BankType::CHANGE_CHANNEL}, A5, {MIDI_CC::General_Purpose_Controller_6, CHANNEL_1}},
};

Bankable::CCButton switches[] = {
  {{bank, BankType::CHANGE_CHANNEL}, 4, {MIDI_CC::General_Purpose_Controller_7, CHANNEL_1}},
  {{bank, BankType::CHANGE_CHANNEL}, 12, {MIDI_CC::General_Purpose_Controller_8, CHANNEL_1}},
};

// Instantiate a CCAbsoluteEncoder object
CCAbsoluteEncoder enc = {
  {8, 7},       // pins
  MIDI_CC::Pan, // MIDI address (CC number + optional channel)
  1,            // optional multiplier if the control isn't fast enough
};

SwitchSelector selector = {bank, 11};

void setup() {

  Control_Surface | pipes | usbmidi;
  Control_Surface | pipes | serialmidi;

  Control_Surface.begin();
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() { // Refresh all inputs
  Control_Surface.loop();
  digitalWrite(LED_BUILTIN, digitalRead(11));
}

ERROR MESSAGE:

Arduino: 1.8.12 (Windows 10), TD: 1.51, Board: "Arduino Leonardo"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Malen Malenov\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Malen Malenov\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Malen Malenov\Documents\Arduino\libraries -fqbn=arduino:avr:leonardo -ide-version=10812 -build-path C:\Users\MALENM~1\AppData\Local\Temp\arduino_build_433332 -warnings=none -build-cache C:\Users\MALENM~1\AppData\Local\Temp\arduino_cache_659504 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\Malen Malenov\Desktop\Arduino MIDI Projects\Control-Surface-master\examples\1. MIDI Output\Other\Dr-Mumago-MIDI-Rover\Dr-Mumago-MIDI-Rover.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Malen Malenov\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Malen Malenov\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Malen Malenov\Documents\Arduino\libraries -fqbn=arduino:avr:leonardo -ide-version=10812 -build-path C:\Users\MALENM~1\AppData\Local\Temp\arduino_build_433332 -warnings=none -build-cache C:\Users\MALENM~1\AppData\Local\Temp\arduino_cache_659504 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Malen Malenov\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\Malen Malenov\Desktop\Arduino MIDI Projects\Control-Surface-master\examples\1. MIDI Output\Other\Dr-Mumago-MIDI-Rover\Dr-Mumago-MIDI-Rover.ino
Using board 'leonardo' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\\Users\\Malen Malenov\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "C:\\Users\\MALENM~1\\AppData\\Local\\Temp\\arduino_build_433332\\sketch\\Dr-Mumago-MIDI-Rover.ino.cpp" -o nul
Alternatives for Encoder.h: [Encoder@1.4.1]
ResolveLibrary(Encoder.h)
  -> candidates: [Encoder@1.4.1]
"C:\\Users\\Malen Malenov\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\Encoder" "C:\\Users\\MALENM~1\\AppData\\Local\\Temp\\arduino_build_433332\\sketch\\Dr-Mumago-MIDI-Rover.ino.cpp" -o nul
Alternatives for Control_Surface.h: [Control-Surface-master@1.1.1]
ResolveLibrary(Control_Surface.h)
  -> candidates: [Control-Surface-master@1.1.1]
"C:\\Users\\Malen Malenov\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\Encoder" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\Control-Surface-master\\src" "C:\\Users\\MALENM~1\\AppData\\Local\\Temp\\arduino_build_433332\\sketch\\Dr-Mumago-MIDI-Rover.ino.cpp" -o nul
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
  -> candidates: [SPI@1.0]
"C:\\Users\\Malen Malenov\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\Encoder" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\Control-Surface-master\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "C:\\Users\\MALENM~1\\AppData\\Local\\Temp\\arduino_build_433332\\sketch\\Dr-Mumago-MIDI-Rover.ino.cpp" -o nul
Alternatives for SoftwareSerial.h: [SoftwareSerial@1.0]
ResolveLibrary(SoftwareSerial.h)
  -> candidates: [SoftwareSerial@1.0]
"C:\\Users\\Malen Malenov\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\Encoder" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\Control-Surface-master\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\MALENM~1\\AppData\\Local\\Temp\\arduino_build_433332\\sketch\\Dr-Mumago-MIDI-Rover.ino.cpp" -o nul
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Encoder\Encoder.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Containers\Array.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Containers\ArrayHelpers.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Containers\BitArray.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Containers\LinkedList.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Containers\UniquePtr.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Containers\Updatable.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Debug\Debug.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Error\Error.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Error\Exit.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Filters\EMA.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Filters\Hysteresis.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\ADCConfig.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\Button.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\ButtonMatrix.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\ExtendedInputOutput\AnalogMultiplex.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\ExtendedInputOutput\ExtendedIOElement.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\ExtendedInputOutput\ExtendedInputOutput.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\ExtendedInputOutput\MAX7219.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\ExtendedInputOutput\SPIShiftRegisterOut.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\ExtendedInputOutput\ShiftRegisterOut.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\ExtendedInputOutput\ShiftRegisterOutBase.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\ExtendedInputOutput\ShiftRegisterOutRGB.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\ExtendedInputOutput\StaticSizeExtendedIOElement.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\FilteredAnalog.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\IncrementButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\IncrementDecrementButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\LEDs\DotBarDisplayLEDs.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\LEDs\LEDs.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\LEDs\MAX7219SevenSegmentDisplay.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Hardware\LEDs\MAX7219_Base.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Math\IncreaseBitDepth.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Math\MinMaxFix.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\PrintStream\PrintStream.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\STL\Fallback\new.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Settings\NamespaceSettings.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Settings\Settings.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Settings\SettingsWrapper.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\AH\Timing\MillisMicrosTimer.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Audio\AudioVU.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Audio\AudioVULEDs.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Audio\MovingCoilBallistics.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Audio\VolumeControl.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Banks\Bank.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Banks\BankAddresses.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Banks\BankConfig.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Banks\BankableMIDIInput.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Banks\BankableMIDIOutput.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Control_Surface\Control_Surface_Class.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Control_Surface.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Def\Channel.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Def\Def.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Def\MIDIAddress.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Display\Bitmaps\XBitmaps.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Display\DisplayElement.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Display\DisplayInterface.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Display\DisplayInterfaces\DisplayInterfaceSSD1306.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Display\Helpers\Bresenham.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Display\MCU\LCDDisplay.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Display\MCU\TimeDisplayDisplay.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Display\MCU\VPotDisplay.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Display\MCU\VUDisplay.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Display\NoteBitmapDisplay.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Display\SelectorDisplay.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Constants\Chords\Chords.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Constants\Chords\Intervals.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Constants\Control_Change.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Constants\MCU.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Constants\MCUNameFromNoteNumber.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Constants\Notes.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Constants\Program_Change.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\ChannelMessageMatcher.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\LEDs\FastLED.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\LEDs\MCU\VPotRingLEDs.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\LEDs\MCU\VULEDs.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\LEDs\NoteCCRangeLEDs.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\LEDs\NovationLaunchpadColorLUT.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MCU\AssignmentDisplay.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MCU\LCD.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MCU\SevenSegmentDisplay.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MCU\TimeDisplay.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MCU\VPotRing.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MCU\VU.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MIDIInputElement.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MIDIInputElementCC.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MIDIInputElementChannelPressure.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MIDIInputElementNote.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MIDIInputElementPC.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\MIDIInputElementSysEx.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Inputs\NoteCCRange.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Interfaces\BLEMIDI.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Interfaces\BluetoothMIDI_Interface.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Interfaces\DebugMIDI_Interface.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Interfaces\MIDI_Interface.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Interfaces\MIDI_Pipes.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Interfaces\MultiMIDI_Interface.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Interfaces\SerialMIDI_Interface.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Interfaces\Teensy-USB-MIDI-name.c
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Interfaces\USBMIDI\USBMIDI.cpp
Alternatives for MIDIUSB.h: [MIDIUSB@1.0.3]
ResolveLibrary(MIDIUSB.h)
  -> candidates: [MIDIUSB@1.0.3]
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Interfaces\USBMIDI_Interface.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Abstract\MIDIButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Abstract\MIDIButtonLatched.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Abstract\MIDIButtonLatching.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Abstract\MIDIButtonMatrix.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Abstract\MIDIButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Abstract\MIDIChordButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Abstract\MIDIFilteredAnalog.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Abstract\MIDIIncrementDecrementButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Abstract\MIDIOutputElement.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Abstract\MIDIRotaryEncoder.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\Abstract\MIDIButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\Abstract\MIDIButtonLatched.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\Abstract\MIDIButtonLatching.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\Abstract\MIDIButtonMatrix.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\Abstract\MIDIButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\Abstract\MIDIChordButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\Abstract\MIDIFilteredAnalog.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\Abstract\MIDIIncrementDecrementButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\Abstract\MIDIRotaryEncoder.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\CCButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\CCButtonLatched.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\CCButtonLatching.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\CCButtonMatrix.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\CCButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\CCIncrementDecrementButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\CCPotentiometer.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\CCRotaryEncoder.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\NoteButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\NoteButtonLatched.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\NoteButtonLatching.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\NoteButtonMatrix.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\NoteButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\NoteChordButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\PBPotentiometer.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\Bankable\PCButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\CCButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\CCButtonLatched.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\CCButtonLatching.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\CCButtonMatrix.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\CCButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\CCIncrementDecrementButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\CCPotentiometer.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\CCRotaryEncoder.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\ManyAddresses\CCButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\ManyAddresses\CCButtonMatrix.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\ManyAddresses\CCIncrementDecrementButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\ManyAddresses\CCPotentiometer.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\ManyAddresses\NoteButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\ManyAddresses\NoteButtonMatrix.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\ManyAddresses\PBPotentiometer.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\ManyAddresses\PCButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\NoteButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\NoteButtonLatched.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\NoteButtonLatching.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\NoteButtonMatrix.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\NoteButtons.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\NoteChordButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\PBPotentiometer.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Outputs\PCButton.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Parsers\MIDI_Parser.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Parsers\SerialMIDI_Parser.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Parsers\SysExBuffer.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Parsers\USBMIDI_Parser.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Senders\ContinuousCCSender.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Senders\DigitalCCSender.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Senders\DigitalNoteSender.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Senders\PitchBendSender.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Senders\ProgramChangeSender.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\MIDI_Senders\RelativeCCSender.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Selectors\EncoderSelector.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Selectors\IncrementDecrementSelector.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Selectors\IncrementSelector.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Selectors\LEDs\SelectorLEDs.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Selectors\ManyButtonsSelector.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Selectors\ProgramChangeSelector.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Selectors\ProgramChanger.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Selectors\Selectable.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Selectors\Selector.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Selectors\SwitchSelector.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src\Selectors\Transposer.cpp
Using cached library dependencies for file: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp
Using cached library dependencies for file: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src\SoftwareSerial.cpp
Using cached library dependencies for file: C:\Users\Malen Malenov\Documents\Arduino\libraries\MIDIUSB\src\MIDIUSB.cpp
Generating function prototypes...
"C:\\Users\\Malen Malenov\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\Encoder" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\Control-Surface-master\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\MIDIUSB\\src" "C:\\Users\\MALENM~1\\AppData\\Local\\Temp\\arduino_build_433332\\sketch\\Dr-Mumago-MIDI-Rover.ino.cpp" -o "C:\\Users\\MALENM~1\\AppData\\Local\\Temp\\arduino_build_433332\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\MALENM~1\\AppData\\Local\\Temp\\arduino_build_433332\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\Malen Malenov\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10812 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\Encoder" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\Control-Surface-master\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SPI\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "-IC:\\Users\\Malen Malenov\\Documents\\Arduino\\libraries\\MIDIUSB\\src" "C:\\Users\\MALENM~1\\AppData\\Local\\Temp\\arduino_build_433332\\sketch\\Dr-Mumago-MIDI-Rover.ino.cpp" -o "C:\\Users\\MALENM~1\\AppData\\Local\\Temp\\arduino_build_433332\\sketch\\Dr-Mumago-MIDI-Rover.ino.cpp.o"
C:\Users\Malen Malenov\Desktop\Arduino MIDI Projects\Control-Surface-master\examples\1. MIDI Output\Other\Dr-Mumago-MIDI-Rover\Dr-Mumago-MIDI-Rover.ino: In function 'void setup()':

Dr-Mumago-MIDI-Rover:81:19: error: no match for 'operator|' (operand types are 'CS::Control_Surface_' and 'CS::BidirectionalMIDI_PipeFactory<2> {aka CS::MIDI_PipeFactory<2, std::pair<CS::MIDI_Pipe, CS::MIDI_Pipe> >}')

   Control_Surface | pipes | usbmidi;

   ~~~~~~~~~~~~~~~~^~~~~~~

In file included from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Interface.hpp:3:0,

                 from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/Control_Surface/Control_Surface_Class.hpp:10,

                 from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/Control_Surface.h:16,

                 from C:\Users\Malen Malenov\Desktop\Arduino MIDI Projects\Control-Surface-master\examples\1. MIDI Output\Other\Dr-Mumago-MIDI-Rover\Dr-Mumago-MIDI-Rover.ino:39:

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:469:29: note: candidate: CS::TrueMIDI_SinkSource& CS::operator|(CS::BidirectionalMIDI_Pipe&, CS::TrueMIDI_SinkSource&)

 inline TrueMIDI_SinkSource &operator|(BidirectionalMIDI_Pipe &pipe,

                             ^~~~~~~~

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:469:29: note:   no known conversion for argument 1 from 'CS::Control_Surface_' to 'CS::BidirectionalMIDI_Pipe& {aka std::pair<CS::MIDI_Pipe, CS::MIDI_Pipe>&}'

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:477:32: note: candidate: CS::BidirectionalMIDI_Pipe& CS::operator|(CS::TrueMIDI_SinkSource&, CS::BidirectionalMIDI_Pipe&)

 inline BidirectionalMIDI_Pipe &operator|(TrueMIDI_SinkSource &sinksource,

                                ^~~~~~~~

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:477:32: note:   no known conversion for argument 1 from 'CS::Control_Surface_' to 'CS::TrueMIDI_SinkSource&'

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:538:1: note: candidate: template<unsigned int N> CS::TrueMIDI_SinkSource& CS::operator|(CS::BidirectionalMIDI_PipeFactory<N>&, CS::TrueMIDI_SinkSource&)

 operator|(BidirectionalMIDI_PipeFactory<N> &pipe_fact,

 ^~~~~~~~

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:538:1: note:   template argument deduction/substitution failed:

C:\Users\Malen Malenov\Desktop\Arduino MIDI Projects\Control-Surface-master\examples\1. MIDI Output\Other\Dr-Mumago-MIDI-Rover\Dr-Mumago-MIDI-Rover.ino:81:21: note:   'CS::Control_Surface_' is not derived from 'CS::BidirectionalMIDI_PipeFactory<N>'

   Control_Surface | pipes | usbmidi;

                     ^~~~~

In file included from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Interface.hpp:3:0,

                 from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/Control_Surface/Control_Surface_Class.hpp:10,

                 from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/Control_Surface.h:16,

                 from C:\Users\Malen Malenov\Desktop\Arduino MIDI Projects\Control-Surface-master\examples\1. MIDI Output\Other\Dr-Mumago-MIDI-Rover\Dr-Mumago-MIDI-Rover.ino:39:

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:545:1: note: candidate: template<unsigned int N> CS::BidirectionalMIDI_Pipe& CS::operator|(CS::TrueMIDI_SinkSource&, CS::BidirectionalMIDI_PipeFactory<N>&)

 operator|(TrueMIDI_SinkSource &sinksource,

 ^~~~~~~~

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:545:1: note:   template argument deduction/substitution failed:

C:\Users\Malen Malenov\Desktop\Arduino MIDI Projects\Control-Surface-master\examples\1. MIDI Output\Other\Dr-Mumago-MIDI-Rover\Dr-Mumago-MIDI-Rover.ino:81:3: note:   cannot convert 'CS::Control_Surface' (type 'CS::Control_Surface_') to type 'CS::TrueMIDI_SinkSource&'

   Control_Surface | pipes | usbmidi;

   ^~~~~~~~~~~~~~~

Dr-Mumago-MIDI-Rover:82:19: error: no match for 'operator|' (operand types are 'CS::Control_Surface_' and 'CS::BidirectionalMIDI_PipeFactory<2> {aka CS::MIDI_PipeFactory<2, std::pair<CS::MIDI_Pipe, CS::MIDI_Pipe> >}')

   Control_Surface | pipes | serialmidi;

   ~~~~~~~~~~~~~~~~^~~~~~~

In file included from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Interface.hpp:3:0,

                 from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/Control_Surface/Control_Surface_Class.hpp:10,

                 from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/Control_Surface.h:16,

                 from C:\Users\Malen Malenov\Desktop\Arduino MIDI Projects\Control-Surface-master\examples\1. MIDI Output\Other\Dr-Mumago-MIDI-Rover\Dr-Mumago-MIDI-Rover.ino:39:

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:469:29: note: candidate: CS::TrueMIDI_SinkSource& CS::operator|(CS::BidirectionalMIDI_Pipe&, CS::TrueMIDI_SinkSource&)

 inline TrueMIDI_SinkSource &operator|(BidirectionalMIDI_Pipe &pipe,

                             ^~~~~~~~

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:469:29: note:   no known conversion for argument 1 from 'CS::Control_Surface_' to 'CS::BidirectionalMIDI_Pipe& {aka std::pair<CS::MIDI_Pipe, CS::MIDI_Pipe>&}'

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:477:32: note: candidate: CS::BidirectionalMIDI_Pipe& CS::operator|(CS::TrueMIDI_SinkSource&, CS::BidirectionalMIDI_Pipe&)

 inline BidirectionalMIDI_Pipe &operator|(TrueMIDI_SinkSource &sinksource,

                                ^~~~~~~~

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:477:32: note:   no known conversion for argument 1 from 'CS::Control_Surface_' to 'CS::TrueMIDI_SinkSource&'

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:538:1: note: candidate: template<unsigned int N> CS::TrueMIDI_SinkSource& CS::operator|(CS::BidirectionalMIDI_PipeFactory<N>&, CS::TrueMIDI_SinkSource&)

 operator|(BidirectionalMIDI_PipeFactory<N> &pipe_fact,

 ^~~~~~~~

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:538:1: note:   template argument deduction/substitution failed:

C:\Users\Malen Malenov\Desktop\Arduino MIDI Projects\Control-Surface-master\examples\1. MIDI Output\Other\Dr-Mumago-MIDI-Rover\Dr-Mumago-MIDI-Rover.ino:82:21: note:   'CS::Control_Surface_' is not derived from 'CS::BidirectionalMIDI_PipeFactory<N>'

   Control_Surface | pipes | serialmidi;

                     ^~~~~

In file included from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Interface.hpp:3:0,

                 from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/Control_Surface/Control_Surface_Class.hpp:10,

                 from C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/Control_Surface.h:16,

                 from C:\Users\Malen Malenov\Desktop\Arduino MIDI Projects\Control-Surface-master\examples\1. MIDI Output\Other\Dr-Mumago-MIDI-Rover\Dr-Mumago-MIDI-Rover.ino:39:

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:545:1: note: candidate: template<unsigned int N> CS::BidirectionalMIDI_Pipe& CS::operator|(CS::TrueMIDI_SinkSource&, CS::BidirectionalMIDI_PipeFactory<N>&)

 operator|(TrueMIDI_SinkSource &sinksource,

 ^~~~~~~~

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:545:1: note:   template argument deduction/substitution failed:

C:\Users\Malen Malenov\Desktop\Arduino MIDI Projects\Control-Surface-master\examples\1. MIDI Output\Other\Dr-Mumago-MIDI-Rover\Dr-Mumago-MIDI-Rover.ino:82:3: note:   cannot convert 'CS::Control_Surface' (type 'CS::Control_Surface_') to type 'CS::TrueMIDI_SinkSource&'

   Control_Surface | pipes | serialmidi;

   ^~~~~~~~~~~~~~~

Using library Encoder at version 1.4.1 in folder: C:\Users\Malen Malenov\Documents\Arduino\libraries\Encoder 
Using library Control-Surface-master at version 1.1.1 in folder: C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master 
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI 
Using library SoftwareSerial at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial 
Using library MIDIUSB at version 1.0.3 in folder: C:\Users\Malen Malenov\Documents\Arduino\libraries\MIDIUSB 
exit status 1
no match for 'operator|' (operand types are 'CS::Control_Surface_' and 'CS::BidirectionalMIDI_PipeFactory<2> {aka CS::MIDI_PipeFactory<2, std::pair<CS::MIDI_Pipe, CS::MIDI_Pipe> >}')

Invalid library found in C:\Program Files (x86)\Arduino\libraries\arcore-master: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\arcore-master
Invalid library found in C:\Program Files (x86)\Arduino\libraries\MIDIUSB: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\MIDIUSB
Invalid library found in C:\Program Files (x86)\Arduino\libraries\arcore-master: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\arcore-master
Invalid library found in C:\Program Files (x86)\Arduino\libraries\MIDIUSB: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\MIDIUSB
tttapa commented 4 years ago

I'm unable to reproduce this using 28ed279942c5fbe289151901182a303edf46bf5c and Arduino IDE version 1.8.9, AVR Core 1.8.2. The code you posed (as well as the Dual MIDI Interface example) compiles fine for me.

Malensky commented 4 years ago

Hello, thank you for your quick reply! So, any guess where it migth go sideways? Thanks again, Malen

tttapa commented 4 years ago
C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:477:32: note: candidate: CS::BidirectionalMIDI_Pipe& CS::operator|(CS::TrueMIDI_SinkSource&, CS::BidirectionalMIDI_Pipe&)

 inline BidirectionalMIDI_Pipe &operator|(TrueMIDI_SinkSource &sinksource,

                                ^~~~~~~~

C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:477:32: note:   no known conversion for argument 1 from 'CS::Control_Surface_' to 'CS::TrueMIDI_SinkSource&'

This part of the error message indicates that Control_Surface_ doesn't inherit from TrueMIDI_SinkSource, but clearly, it does in the latest version: https://github.com/tttapa/Control-Surface/blob/28ed279942c5fbe289151901182a303edf46bf5c/src/Control_Surface/Control_Surface_Class.hpp#L26-L27

The only explanation I can come up with is that you're not using the latest master version.

Malensky commented 4 years ago

Thank you! I will look into it! Again, brilliant work! Warmly, Malen

Malensky commented 4 years ago

Yes, just removed and reinstalled my Arduino IDE and the included libraries. It works now!!! Many thanks!!!!

tttapa commented 4 years ago

Glad to hear!