Moppy2 icon indicating copy to clipboard operation
Moppy2 copied to clipboard

errors in the code

Open iwantpizza10 opened this issue 2 years ago • 1 comments

no idea what is going on, i am not very good at c++ so i will send this

C:\Users\-\AppData\Local\Temp\ccoQd4Ct.ltrans0.ltrans.o: In function `setup':
C:\Users\-\Downloads\Moppy2Microcontroller-2.1.0\Moppy2-Arduino\main/main.ino:72: undefined reference to `MoppySerial::begin()'
C:\Users\-\AppData\Local\Temp\ccoQd4Ct.ltrans0.ltrans.o: In function `loop':
C:\Users\-\Downloads\Moppy2Microcontroller-2.1.0\Moppy2-Arduino\main/main.ino:80: undefined reference to `MoppySerial::readMessages()'
C:\Users\-\AppData\Local\Temp\ccoQd4Ct.ltrans0.ltrans.o: In function `instruments::FloppyDrives::FloppyDrives()':
C:\Users\-\Downloads\Moppy2Microcontroller-2.1.0\Moppy2-Arduino\main\MoppyInstruments/FloppyDrives.h:16: undefined reference to `vtable for instruments::FloppyDrives'
C:\Users\-\Downloads\Moppy2Microcontroller-2.1.0\Moppy2-Arduino\main\MoppyInstruments/FloppyDrives.h:16: undefined reference to `vtable for instruments::FloppyDrives'
C:\Users\-\AppData\Local\Temp\ccoQd4Ct.ltrans0.ltrans.o: In function `_GLOBAL__sub_I_instrument':
C:\Users\-\Downloads\Moppy2Microcontroller-2.1.0\Moppy2-Arduino\main/main.ino:56: undefined reference to `MoppySerial::MoppySerial(MoppyMessageConsumer*)'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Uno.

iwantpizza10 avatar Aug 04 '22 03:08 iwantpizza10

Sorry this got lost, it's still a pretty busy time here.

What steps did you take to get to this point? It looks like whatever you're using to compile is having issues finding all the code.

Sammy1Am avatar Sep 05 '22 00:09 Sammy1Am