英锐恩单片机论坛,Microchip单片机,模拟器件,接口电路,麦肯单片机,单片机应用交流

标题: 在编译中出现以下问题,请教如何解决? [打印本页]

作者: winnie    时间: 2009-4-25 16:42
标题: 在编译中出现以下问题,请教如何解决?
我用的PICC8.05PL2正式版,MPLAB是6.60版,程序在编译中出现以下问题:
Clean: Deleting intermediary and output files.
Clean: Deleted file "G:\chengxu\c\shiyan1\SHIYAN1.obj".
Clean: Deleted file "G:\chengxu\c\shiyan1\SHIYAN1.cce".
Clean: Deleted file "shiyan1.cof".
Clean: Deleted file "G:\chengxu\c\shiyan1\shiyan1.mcs".
Clean: Done.
Executing: "C:\HT-PIC\BIN\PICC.EXE" -C -E"SHIYAN1.cce" "SHIYAN1.C" -O"SHIYAN1.obj" -Zg9 -O -ASMLIST -Q -MPLAB -16F57
Warning[000] G:\chengxu\c\shiyan1\SHIYAN1.C 1 : Spelling of #include file "C:\HT-PIC\INCLUDE\PIC.H" does not match actual name
Warning[000] G:\chengxu\c\shiyan1\SHIYAN1.C 2 : Spelling of #include file "C:\HT-PIC\INCLUDE\PIC16F5X.H" does not match actual name
Executing: "C:\HT-PIC\BIN\PICC.EXE" -E"shiyan1.lde" "G:\chengxu\c\shiyan1\SHIYAN1.obj" -M"shiyan1.map" -O"shiyan1.cof" -O"shiyan1.hex" -Q -MPLAB -16F57
Memory Usage Map:
Program ROM   $0000 - $0028  $0029 (    41) words
Program ROM   $004A - $0270  $0227 (   551) words
Program ROM   $07FF - $07FF  $0001 (     1) words
                             $0251 (   593) words total Program ROM
Bank 0 RAM    $0008 - $001E  $0017 (    23) bytes total Bank 0 RAM  
Bank 1 RAM    $0030 - $0030  $0001 (     1) bytes total Bank 1 RAM  

Program statistics:
Total ROM used      593 words (29.0%)
Total RAM used       24 bytes (33.3%)
Loaded G:\chengxu\c\shiyan1\shiyan1.cof
BUILD SUCCEEDED: Sun Sep 04 13:55:55 2005

就是其中的#INCLUDE 说是不匹配,我想不明白,明显我是包含了库文件了,可就是出现WARNING...
作者: winnie    时间: 2009-4-25 16:44
编译已经成功警告对编程没有关系,那么怎么来解决没有警告呢!将warning level设低即可。
[attach]704[/attach]




欢迎光临 英锐恩单片机论坛,Microchip单片机,模拟器件,接口电路,麦肯单片机,单片机应用交流 (http://enroobbs.com/) Powered by Discuz! X3.2