Building a MIDI synth control

Hi! How are you guys? My name is Daniel Nobre, and Im follow the YouTube (DIIY MiniMoog) https://www.youtube.com/watch?v=PATlf0W3m7k - Ryan Boggs - so I download his Arduino Firmware sketch: MiniControl_v1.1 - Google Drive

and the MIDI Library 5.0.2

, installed the sketch and the MIDI Library at Arduino IDE....

Then I tried to verify the program and I receive a lot of errors...if someone could please load this sketch, install the library and then verify whats happening, Id be always grateful ! It will be my Xmas gift!!

Thanks!

Daniel...

C:\Users\DANIEL~1\AppData\Local\Temp\cc115YrU.ltrans0.ltrans.o: In function handleModWheel': H:\BackToElectrons\SynthEra\MoogProject\MiniControl_v1.1\MiniControl_Firmware/MiniControl_Firmware.ino:109: undefined reference to MCP41HVX1::WiperSetPosition(unsigned char)'
C:\Users\DANIEL~1\AppData\Local\Temp\cc115YrU.ltrans0.ltrans.o: In function handlePitchBend': H:\BackToElectrons\SynthEra\MoogProject\MiniControl_v1.1\MiniControl_Firmware/MiniControl_Firmware.ino:95: undefined reference to MCP492X::analogWrite(bool, unsigned int)'
C:\Users\DANIEL~1\AppData\Local\Temp\cc115YrU.ltrans0.ltrans.o: In function handleNotesChanged': H:\BackToElectrons\SynthEra\MoogProject\MiniControl_v1.1\MiniControl_Firmware/MiniControl_Firmware.ino:60: undefined reference to MCP492X::analogWrite(bool, unsigned int)'
C:\Users\DANIEL~1\AppData\Local\Temp\cc115YrU.ltrans0.ltrans.o: In function global constructors keyed to 65535_0_MiniControl_Firmware.ino.cpp.o.2122': <artificial>:(.text.startup+0x1da): undefined reference to MCP492X::MCP492X(unsigned char)'
:(.text.startup+0x1e6): undefined reference to MCP41HVX1::MCP41HVX1(int)' <artificial>:(.text.startup+0x1f0): undefined reference to MCP41HVX1::WiperSetPosition(unsigned char)'
C:\Users\DANIEL~1\AppData\Local\Temp\cc115YrU.ltrans0.ltrans.o: In function setup': H:\BackToElectrons\SynthEra\MoogProject\MiniControl_v1.1\MiniControl_Firmware/MiniControl_Firmware.ino:123: undefined reference to MCP492X::begin()'
H:\BackToElectrons\SynthEra\MoogProject\MiniControl_v1.1\MiniControl_Firmware/MiniControl_Firmware.ino:124: undefined reference to MCP492X::analogWrite(bool, unsigned int)' H:\BackToElectrons\SynthEra\MoogProject\MiniControl_v1.1\MiniControl_Firmware/MiniControl_Firmware.ino:125: undefined reference to MCP492X::analogWrite(bool, unsigned int)'
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

Hello deepsky

Welcome to the world's best Arduino forum ever.

Post your sketch, well formated, with well-tempered comments in so called code tags and schematic to see how we can help.

Have a nice day and enjoy coding in C++.

How are you Paul? My goal here isnt coding, but just make the MIDI controller work... lol :slight_smile:

If you could please download the Arduino Firmware sketch for MIDI : MiniControl_v1.1 - Google Drive

and the MIDI Library 5.0.2 (MIDI Library - Arduino Reference)

, installed the sketch and the MIDI Library at Arduino IDE....

and then if you could run this program without errors...it will really be amazing! Anything you could do!

The MCP492X.h and MCP41HVX1.h are also needed for running the sketch......its available at:

Thanks!

@deepsky
Did you install the MCP492X and MCP41HVX1 libraries?

@deepsky ,

I've deleted your reply #5 because it is inappropriate with regard to the purpose of this forum. Please keep the discussion on track for what you are asking for help for, and the general nature of this forum, which is help with Arduino based projects.

Thank you

Edit
@StefanL38
I've deleted your reply too.

Please keep on track, otherwise don't reply.

Thank you

1 Like

no you need to

install the complete libraries not only *.h-files

I did so and it compiles just fine.
This means your installation is missing files.
So you should either install it new
or check what files are missing

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.