romel_emperado
Advanced Member level 2
- Joined
- Jul 23, 2009
- Messages
- 606
- Helped
- 45
- Reputation
- 132
- Reaction score
- 65
- Trophy points
- 1,318
- Location
- philippines
- Activity points
- 6,061
hello, i've worked this project yesterday using PIC18f2550 with Hi-tech C v9.64 and it builds pretty well with no error and it's working.. this in not my work I just want to edit this project to port it to other device.
today Im using PIC18f4550 with Hi-tech C v9.66 compiler and I got many errors.. I need your help because Im lack of programming knowledge and I don't want to get it into worse outcome.. I dont believe it's a systax error because it buils well in lower version and working in simulation.
I already commented out the config fuses of the device and this error is not register related errors..
these are the errors:
I will attached the whole project I am working and the original project.
today Im using PIC18f4550 with Hi-tech C v9.66 compiler and I got many errors.. I need your help because Im lack of programming knowledge and I don't want to get it into worse outcome.. I dont believe it's a systax error because it buils well in lower version and working in simulation.
I already commented out the config fuses of the device and this error is not register related errors..
these are the errors:
PHP:
Error [983] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\pff.h; 103.6 storage class redeclared
Error [984] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\pff.h; 103.6 type redeclared
Error [1098] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\pff.h; 103.6 conflicting declarations for variable "DIR" (C:\Program Files\HI-TECH Software\PICC-18\PRO\9.66\include\pic18f2550.h:449)
Error [194] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\pff.h; 142.24 ")" expected
Warning [349] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\pff.h; 142.39 non-prototyped function declaration for "pf_opendir"
Error [313] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\pff.h; 142.39 function body expected
Error [194] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\pff.h; 143.24 ")" expected
Warning [349] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\pff.h; 143.36 non-prototyped function declaration for "pf_readdir"
Error [313] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\pff.h; 143.36 function body expected
Warning [374] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\main.c; 18.5 missing basic type; int assumed
Error [984] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\main.c; 18.5 type redeclared
Error [1098] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\main.c; 18.5 conflicting declarations for variable "DIR" (C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\pff.h:103)
Error [372] C:\Documents and Settings\mel\Desktop\PIC184550\materials\PIC18 Petit FAT File System\src_picc18\main.c; 18.5 "," expected
I will attached the whole project I am working and the original project.