This is a multi-part message in MIME format. --Boundary_(ID_9WB0oRYBMzMPvso8kxHfbQ) Content-type: multipart/alternative; boundary="Boundary_(ID_/pZmJwQcSc+Yq9+TEb0Tpw)" --Boundary_(ID_/pZmJwQcSc+Yq9+TEb0Tpw) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Hi there: I downloaded PICC-18 and installed it on c:\ht-pic18.. I also followed the manual to integrate it with MPLAB.. yet I'm not able to get a simple C file compiled.. this is even if I run it completely from the DOS window.. (I'm using windows2000) The command I ran (copied from the MPLAB window): C:\>C:\HT-PIC18\BIN\PICC18.EXE -V -fakelocal -D24 -E -18C658 -C C:\HT-PIC18\HT.C > err.txt HI-TECH C COMPILER (Microchip PIC18) V8.01 PL1 Copyright (C) 1984-2001 HI-TECH SOFTWARE And I'm also attaching the ht.c and err.txt for your perusal Thanks! Charlie --Boundary_(ID_/pZmJwQcSc+Yq9+TEb0Tpw) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT
Hi there:
 
I downloaded PICC-18 and installed it on c:\ht-pic18.. I also followed the manual to integrate it with MPLAB.. yet I'm not able to get a simple C file compiled.. this is even if I run it completely from the DOS window.. (I'm using windows2000)
 
The command I ran (copied from the MPLAB window):
 
C:\>C:\HT-PIC18\BIN\PICC18.EXE -V -fakelocal -D24 -E -18C658 -C C:\HT-PIC18\HT.C
 > err.txt
HI-TECH C COMPILER (Microchip PIC18) V8.01 PL1
Copyright (C) 1984-2001 HI-TECH SOFTWARE
 
And I'm also attaching the ht.c and err.txt for your perusal
 
Thanks!
 
Charlie
 
 
--Boundary_(ID_/pZmJwQcSc+Yq9+TEb0Tpw)-- --Boundary_(ID_9WB0oRYBMzMPvso8kxHfbQ) Content-type: application/octet-stream; name=ht.c Content-transfer-encoding: 7bit Content-disposition: attachment; filename=ht.c #include /* * a trivial program to count up in binary the value on PORT D. * The program will run on PIC18C4x2 chips. */ void delay(unsigned int count); unsigned char value; void main(void) { PORTD = 0x00; TRISD = 0x00; value = 0; while(1) { PORTD = value++; delay(10000); } } void delay(unsigned int count) { while(count--) ; return; } --Boundary_(ID_9WB0oRYBMzMPvso8kxHfbQ) Content-type: text/plain; name=err.txt Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=err.txt Compiler not installed properly - error code (4) clist.exe C:\HT-PIC18\HT.C C:\HT-PIC18\HT.lst cpp.exe -DHI_TECH_C -D_MPC_ -SP1,1,1,1,1,1,1 -IC:\HT-PIC18\INCLUDE -S1,2,2,4,3,3 -E1 -D_18C658 -D_PIC18 C:\HT-PIC18\HT.C -D_HTC_VER_MAJOR_=8 -D_HTC_VER_MINOR_=1 _TS.AAA p1.exe -E1 -M -B -QCu,const -QL,low_priority -Gstrings,const -Y -r -u _TS.AAA _TS.AAB _TS.AAC C:\HT-PIC18\INCLUDE\pic18xx8.h: 752: qualifiers redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1451: undefined identifier: RXM1EIDL (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1451: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1452: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1453: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1454: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1455: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1456: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1457: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1458: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1460: undefined identifier: RXM1EIDH (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1460: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1461: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1462: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1463: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1464: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1465: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1466: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1467: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1484: undefined identifier: RXM0EIDL (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1484: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1485: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1486: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1487: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1488: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1489: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1490: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1491: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1491: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1493: undefined identifier: RXM0EIDH (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1493: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1494: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1495: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1496: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1497: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1498: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1499: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1500: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1500: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1524: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1533: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1558: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1560: undefined identifier: RXF4EID8 (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1560: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1561: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1562: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1563: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1564: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1565: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1566: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1567: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1567: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1592: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1601: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1626: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1635: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1660: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1669: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1687: undefined identifier: RXF0EID0 (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1687: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1688: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1689: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1690: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1691: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1692: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1693: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1694: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1694: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1696: undefined identifier: RXF0EID8 (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1696: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1697: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1698: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1699: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1700: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1701: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1702: simple integer expression required (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1703: type redeclared (error) C:\HT-PIC18\INCLUDE\pic18xx8.h: 1703: simple integer expression required (error) del _TS.AAA del _TS.AAB del _TS.AAC del D:\DOCUME~1\CHARLI~1\LOCALS~1\Temp\l.obj del _TS.AAD --Boundary_(ID_9WB0oRYBMzMPvso8kxHfbQ)-- -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body