-
Notifications
You must be signed in to change notification settings - Fork 421
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
ugui with arduino/teensy #30
Comments
Hi, `uGUI_Test: In function 'void loop()':
uGUI_Test:68: warning: ISO C++ forbids converting a string constant to 'char*'
C:..\AppData\Local\Temp\arduino_build_677234\sketch\uGUI_Test.ino.cpp.o: In function `main': C:..\Arduino\uGUI_Test/uGUI_Test.ino:48: undefined reference to `UG_Init(UG_GUI*, void (*)(short, short, unsigned long), short, short)' collect2.exe: error: ld returned 1 exit status` |
can you show me your sketch code? |
I've moved on to another display which means I don't need the ugui, thank you though! |
What you have noticed are actually bugs in uGui. They are known - but the author never merged fixes from other people. Basically - several functions miss 'const' attributes from their arguments. This causes sever issues for architectures which access 'const' variables ( mostly texts) differently then variables. . |
what do you think, is it difficult to fix that problem? Or just need to change some variable, functions type?? Because is really only one error: it cannot be so complicated to solve that?? |
Hello, I try to implemente ugui with arduino/teensy 3.2, but unfortunately if I implement in the sketch #include "ugui.c" I get follow error:
invalid conversion from 'void*' to 'void ()(UG_COLOR) {aka void ()(long unsigned int)}' [-fpermissive]
?? whats wrong?
The text was updated successfully, but these errors were encountered: