The "Copy Error Messages" isn't there, but the errors themselves are there, so here ya go:
/Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.ino: In function 'void loop()':
/Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.ino:154:31: error: invalid conversion from 'long unsigned int' to 'char*' [-fpermissive]
Milliseconds->print(millis());
~~~~~~^~
In file included from /Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.hpp:14:0,
from /Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.ino:10:
/Users/jhyland/Documents/Arduino/SimpleUI/TextAnchor.hpp:128:18: note: initializing argument 1 of 'TextAnchor* TextAnchor::print(char*)'
TextAnchor * print(char *charValue);
^~~~~
/Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.ino:158:28: error: invalid conversion from 'long unsigned int' to 'char*' [-fpermissive]
Minutes->print(millis()/60000);
~~~~~~~~^~~~~~
In file included from /Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.hpp:14:0,
from /Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.ino:10:
/Users/jhyland/Documents/Arduino/SimpleUI/TextAnchor.hpp:128:18: note: initializing argument 1 of 'TextAnchor* TextAnchor::print(char*)'
TextAnchor * print(char *charValue);
^~~~~
/Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.ino:162:27: error: invalid conversion from 'int32_t {aka long int}' to 'char*' [-fpermissive]
Iterations->print(iter);
^
In file included from /Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.hpp:14:0,
from /Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.ino:10:
/Users/jhyland/Documents/Arduino/SimpleUI/TextAnchor.hpp:128:18: note: initializing argument 1 of 'TextAnchor* TextAnchor::print(char*)'
TextAnchor * print(char *charValue);
^~~~~
/Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.ino: In function 'void updateEncoder()':
/Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.ino:259:34: error: invalid conversion from 'int' to 'char*' [-fpermissive]
EncoderPos->print(encoderPos);
^
In file included from /Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.hpp:14:0,
from /Users/jhyland/Documents/Arduino/SimpleUI/SimpleUI.ino:10:
/Users/jhyland/Documents/Arduino/SimpleUI/TextAnchor.hpp:128:18: note: initializing argument 1 of 'TextAnchor* TextAnchor::print(char*)'
TextAnchor * print(char *charValue);
^~~~~
exit status 1
Compilation error: invalid conversion from 'long unsigned int' to 'char*' [-fpermissive]
Yeah, understood. I didn't initially include them because if I fixed them, some more errors popped up, then once I fixed those, more popped up. But here's the code it's referring to in the above error (where it says TextAnchor.hpp:128:18):
TextAnchor * print(char *charValue);
That's in the header file. I know why that error is occurring, its because I was passing long variable type to it when it takes a char. This was caused by removing the ArduinoSTL library (since it seems its not supported on the Uno), which I was using to help with the templates. Using Overloading instead of making some templates seems to get past this one, but then it runs into some others that I couldn't fix.
Yeah, that's what I realize now. When I was googling differences between the Uno and Nano, I saw a lot about the memory, storage, pins, etc. But I guess I must have overlooked the fact the chip is totally different.
Tomorrow, I'll paste the error that I got really stuck on. But is there any advice or guides on how to write something that's compatible with most arduino boards? Or at the very least, the Uno, Mega and Nano?
P.S. If you're thinking "Why didn't he post the error he was actually stuck on? What a dummy", It's because I kept running into error after error, so I figured the current error was likely irrelevant and it was something deeper than just the code (eg: switching to a board with a totally different chip). Also, I closed out of the error I got stuck on and reverted to the code in the github, thinking it was just some mistake I made, but then when it worked fine on the Nano, I realized it wasn't just some stupid typo.