LCDInfo.com

http://www.lcdinfo.com
It is currently Fri Mar 29, 2024 8:44

All times are UTC + 2 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Feb 26, 2008 19:20 
Offline

Joined: Tue Feb 26, 2008 18:36
Posts: 1
Hi all

Don't know if this is the correct place in this forum... if not, please remove this message!

Anyhow i tried "all possible lcd sources" mainly for PCF8833 Nokia 6610 LCD at different forums and i always get compile errors.
All hints are welcome..

Tried the GLCD.zip source dated 040414 taken from another forum i get the following when i try to compile it with WINAVR 20071221:

By the way i found the glcd.zip source at:
http://www.mikrocontroller.net/topic/12218

Best regards,
Hans



C:\make clean
-------- begin --------
Cleaning project:
..
..
Errors: none
-------- end --------
C:\make all
set -e; avr-gcc -MM -mmcu=atmega32 -I. -Os -mcall-prologues
-funsigned-char -fun
signed-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes
-Wa,-adhl
ns=test.lst -std=gnu99 test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
[ -s test.d ] || rm -f test.d
-------- begin --------
avr-gcc (GCC) 4.2.2 (WinAVR 20071221)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Compiling: test.c
avr-gcc -c -mmcu=atmega32 -I. -Os -mcall-prologues -funsigned-char
-funsigned-bi
tfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes
-Wa,-adhlns=test.l
st -std=gnu99 test.c -o test.o
In file included from test.c:2:
c:/avr/include/glcd.h:49: error: expected identifier or '(' before '}'
token
c:/avr/include/glcd.h:49: error: expected ';' before 'glcdFlags_t'
make: *** [test.o] Error 1
Press any key to continue . . .

----
Error as shown below:
}
} glcdFlags_t; <<<<<<----------

removed one "} " by using //

Then i got the :
In file included from test.c:2:
c:/avr/include/glcd.h:52: error: expected specifier-qualifier-list
before 'extern'
Which is the line below:

extern uint8_t glcd_MemCtrl; // display RAM access and degree
of rotation

I've done the installation steps by editing and copy the requested
files... i assume....


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group