-
Notifications
You must be signed in to change notification settings - Fork 70
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
Arduino DUE don't works whit Button Matrix Example. #79
Comments
I have no idea why I only wrote that for AVR, but it should be fixed now. |
Hi, Appears not to be fixed. Today I am getting the same error when I try to compile the same example for Teensy 3.0 .
|
Description of the problem or question
When I compile the example "Ex.11.Button-Matrix" whith the Arduino Due board I get the following error and it does not compile the code, it just happens with that board:
"C:\\Users\\Gratiman\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-gcc" -mcpu=cortex-m3 -mthumb -Os -Wl,--gc-sections "-TC:\\Users\\Gratiman\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\sam\\1.6.11\\variants\\arduino_due_x/linker_scripts/gcc/flash.ld" "-Wl,-Map,C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152/Ex.11.Button-Matrix.ino.map" -o "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152/Ex.11.Button-Matrix.ino.elf" "-LC:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152" -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--start-group -u _sbrk -u link -u _close -u _fstat -u _isatty -u _lseek -u _read -u _write -u _exit -u kill -u _getpid "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\sketch\\Ex.11.Button-Matrix.ino.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\Banks\\Bank.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\Banks\\BankSelector.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\ExtendedInputOutput\\AnalogMultiplex.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\ExtendedInputOutput\\ExtendedIOElement.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\ExtendedInputOutput\\ExtendedInputOutput.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\ExtendedInputOutput\\ShiftRegisterOut.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\Helpers\\Hysteresis.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\MIDI_Controller\\MIDI_Controller_Class.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\MIDI_Interfaces\\MIDI_Interface.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\MIDI_Outputs\\Analog.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\MIDI_Outputs\\ButtonMatrix.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\MIDI_Outputs\\Digital.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\MIDI_Outputs\\DigitalCC.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\MIDI_Outputs\\DigitalLatch.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDI_controller-master\\MIDI_Outputs\\MIDI_Control_Element.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\libraries\\MIDIUSB-master\\MIDIUSB.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152\\core\\variant.cpp.o" "C:\\Users\\Gratiman\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\sam\\1.6.11\\variants\\arduino_due_x/libsam_sam3x8e_gcc_rel.a" "C:\\Users\\Gratiman\\AppData\\Local\\Temp\\arduino_build_318152/..\\arduino_cache_113158\\core\\core_arduino_sam_arduino_due_x_dbg_5bbfd5192b497a66a4690bfd3a3ea30f.a" -Wl,--end-group -lm -gcc C:\Users\Gratiman\AppData\Local\Temp\arduino_build_318152\sketch\Ex.11.Button-Matrix.ino.cpp.o: In function
__static_initialization_and_destruction_0':C:\Users\Gratiman\Documents\Arduino\libraries\MIDI_controller-master\examples\Ex.11.Button-Matrix/Ex.11.Button-Matrix.ino:30: undefined reference to `ButtonMatrix<4u, 3u>::ButtonMatrix(unsigned short const (&) [4], unsigned short const (&) [3], unsigned char const (&) [4][3], unsigned char, unsigned char)'
C:\Users\Gratiman\AppData\Local\Temp\arduino_build_318152\sketch\Ex.11.Button-Matrix.ino.cpp.o: In function `_GLOBAL__sub_I_buttonmatrix':
C:\Users\Gratiman\Documents\Arduino\libraries\MIDI_controller-master\examples\Ex.11.Button-Matrix/Ex.11.Button-Matrix.ino:37: undefined reference to `ButtonMatrix<4u, 3u>::~ButtonMatrix()'
collect2.exe: error: ld returned 1 exit status
Usando librería MIDI_controller-master con versión 3.1.0 en la carpeta: C:\Users\Gratiman\Documents\Arduino\libraries\MIDI_controller-master
Usando librería MIDIUSB-master con versión 1.0.3 en la carpeta: C:\Users\Gratiman\Documents\Arduino\libraries\MIDIUSB-master
exit status 1
Error compilando para la tarjeta Arduino Due (Programming Port).`
Steps to reproduce the problem
Hardware
Arduino board: Arduino DUE
Software versions:
MIDI Controller library: 3.1.0
Arduino IDE: 1.8.8
Operating System: Windows
Operating System version: 10 & 8.1
(Teensyduino): N/A
(Encoder library): 1.4.1
(MIDIUSB library): 1.0.3
Settings in the IDE
Full code
Steps taken to try to diagnose or solve the problem
None.
The goal of your project and aditional information
I only need to use that example to do a full keyboard whit the Arduino DUE.
The text was updated successfully, but these errors were encountered: