-
Notifications
You must be signed in to change notification settings - Fork 85
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
Error variable 'colors' with dynamic initialization put into program memory area #24
Comments
I think this is the wrong place to ask. U8gLibOut.h is not a file which was created inside this project. |
I am sorry about that
I will try today to change that in the program
Thank you
El lun., 22 jun. 2020 22:09, olikraus <[email protected]> escribió:
… I think this is the wrong place to ask. U8gLibOut.h is not a file which
was created inside this project.
Moreover U8glib is replaced by U8g2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQBAM5A2LDVOJ3KQJOGVXPLRX63BLANCNFSM4OEAJF6A>
.
|
Hello again
With U8G2 library i get the same error compilation
Do you know how to solve this problem?
Is with the example included on library "ArduinoMenu" called U8G2
C:\....\Arduino\libraries\ArduinoMenu-master\src/menuIO/u8g2Out.h: In
function 'global constructors keyed to 65535_0_U8G2.ino.cpp.o':
U8G2:80:25: error: variable 'colors' with dynamic initialization put into
program memory area
const colorDef<uint8_t> colors[] MEMMODE={
^
lto-wrapper.exe: fatal error: C:\Program Files
(x86)\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
c:/program files
(x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe:
error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
exit status 1
variable 'colors' with dynamic initialization put into program memory area
Thank you in advance
El mié., 24 jun. 2020 a las 6:55, Rafael Angel (<[email protected]>)
escribió:
… I am sorry about that
I will try today to change that in the program
Thank you
El lun., 22 jun. 2020 22:09, olikraus ***@***.***> escribió:
> I think this is the wrong place to ask. U8gLibOut.h is not a file which
> was created inside this project.
> Moreover U8glib is replaced by U8g2.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#24 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQBAM5A2LDVOJ3KQJOGVXPLRX63BLANCNFSM4OEAJF6A>
> .
>
|
Not sure what I can do here. I did not wrote the code. Better to ask the author of u8g2Out.h. |
ok thanks
El sáb., 27 jun. 2020 a las 0:55, olikraus (<[email protected]>)
escribió:
… Not sure what I can do here. I did not wrote the code. Better to ask the
author of u8g2Out.h.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQBAM5GEF4JMIPPIM4RQKVDRYURNTANCNFSM4OEAJF6A>
.
|
you can't use |
On the example U8GLib.ino is not possible to compile.
Error on line 142: const colorDef<uint8_t> colors[] MEMMODE={
full error of compiler is:
src/menuIO/U8GLibOut.h: In function 'global constructors keyed to 65535_0_U8GLib.ino.cpp.o':
U8GLib:142:25: error: variable 'colors' with dynamic initialization put into program memory area
const colorDef<uint8_t> colors[] MEMMODE={
^
lto-wrapper.exe: fatal error: C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
exit status 1
variable 'colors' with dynamic initialization put into program memory area
Arduino version 1.8.13
Any idea?
The text was updated successfully, but these errors were encountered: