neutron3d / u8glib

Automatically exported from code.google.com/p/u8glib
0 stars 0 forks source link

U8G_PROGMEM error during compile for some demos #76

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load XBM sketch 
2. Select UGLIB_ST7920_128X64 u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, U8G_PIN_NONE, 
U8G_PIN_NONE, 17, 16) constructor
3. Select "Compile"

What is the expected output? What do you see instead?
Error during compile: "expected initializer before 'U8G_PROGMEM'"
XBM:67: error: expected initializer before 'U8G_PROGMEM'
XBM.cpp: In function 'void draw();':
XBM:81: error: 'u8g_logo_bits' was not declared in this scope

What version of the product are you using? On what operating system?
Arduino 1.0.1. Windows 7 Professional Service Pack 1

Please provide any additional information below.
In addition to the XBM demo sketch, issue appears in the Wiki, under 
drawBitmap: the rook draw example.

Original issue reported on code.google.com by nscades...@gmail.com on 15 Jun 2012 at 2:34

GoogleCodeExporter commented 8 years ago
Thanks a lot for the feedback!
I will look into this.

Original comment by olikr...@gmail.com on 15 Jun 2012 at 3:03

GoogleCodeExporter commented 8 years ago
U8G_PROGMEM was accidently deactivated and is back again now.

Original comment by olikr...@gmail.com on 15 Jun 2012 at 5:10

GoogleCodeExporter commented 8 years ago

Original comment by olikr...@gmail.com on 15 Jun 2012 at 5:11