PIC Vietnam

Go Back   PIC Vietnam > Microchip PIC > Các ngôn ngữ lập trình khác (CCS C, HT PIC,...) > Lỗi lập trình ngôn ngữ cấp cao

Tài trợ cho PIC Vietnam
Trang chủ Đăng Kí Hỏi/Ðáp Thành Viên Lịch Tìm Kiếm Bài Trong Ngày Ðánh Dấu Ðã Ðọc Vi điều khiển

Lỗi lập trình ngôn ngữ cấp cao Những lỗi trường gặp trong lập trình. Khóa luồng khi bug được lỗi.

 
 
Ðiều Chỉnh Xếp Bài
Prev Previous Post   Next Post Next
Old 21-02-2012, 09:57 PM   #1
tieuthienho
Nhập môn đệ tử
 
Tham gia ngày: Jul 2010
Bài gửi: 2
:
Lỗi khi compile source code PIC webserver bằng HTPICC18

Mình mới mua bộ kit phát triển Ethernet EP1 của công ty hlab. Nhưng khi mình compile code demo của bộ kit sang file hex bằng HTPICC18 v9.65 và MPLAB v8.73 thì không build được. Output như sau:

---------------------------
Build E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\hlab_ep1_firmware for device 18F4680
Using driver C:\Program Files\HI-TECH Software\PICC-18\PRO\9.65\bin\picc18.exe
Make: The target "E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\MainDemo.p1" is out of date.
Executing: "C:\Program Files\HI-TECH Software\PICC-18\PRO\9.65\bin\picc18.exe" --pass1 "E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\MainDemo.c" -q --chip=18F4680 -P --runtime=default --opt=default -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Warning [111] C:\Program Files\HI-TECH Software\PICC-18\PRO\9.65\include\stdlib.h; 8.50 redefining preprocessor macro "offsetof"
Error [267] E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\string.h; 806.26 bad storage class
Make: The target "E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\MPFSimg.p1" is out of date.
Executing: "C:\Program Files\HI-TECH Software\PICC-18\PRO\9.65\bin\picc18.exe" --pass1 "E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\MPFSimg.c" -q --chip=18F4680 -P --runtime=default --opt=default -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Error [267] E:\Do an tot nghiep\Remote control over IP\Ethernet Pic 1\hlab_ep1_pjt_rev_3_2A\stdlib.h; 140.23 bad storage class

********** Build failed! **********

Xin nhờ các cao thủ giúp đỡ vì mình chưa biết nhiều về HTPIC.
tieuthienho vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
 

Ðiều Chỉnh
Xếp Bài

Quyền Sử Dụng Ở Diễn Ðàn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Smilies đang Mở
[IMG] đang Mở
HTML đang Tắt

Chuyển đến


Múi giờ GMT. Hiện tại là 06:43 AM.


Được sáng lập bởi Đoàn Hiệp
Powered by vBulletin®
Page copy protected against web site content infringement by Copyscape
Copyright © PIC Vietnam