PIC单片机william hill官网
直播中

冯宝广

7年用户 5经验值
私信 关注
[问答]

求助本人刚开始学习单片机,做实验出现如下情况

求助:
本人刚开始学习单片机,做实验出现如下情况:
Warning[205] F:MYPICEE.ASM 1 : Found directive in column 1. (LIST)
Warning[207] F:MYPICEE.ASM 2 : Found label after column 1. (status)
Warning[207] F:MYPICEE.ASM 3 : Found label after column 1. (trisd)
Warning[207] F:MYPICEE.ASM 4 : Found label after column 1. (portd)

我怀疑是下载的MPLAB IDE V8.92不完整,缺少头文件。怎么办?谢谢专家。

回帖(3)

冯宝广

2017-7-24 17:22:17
Debug build of project `F:MYPICff.mcp' started.
Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49
Preprocessor symbol `__DEBUG' is defined.
Mon Jul 24 17:16:55 2017
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "F:MYPICff.mcs".
Clean: Done.
Executing: "C:Program Files (x86)MicrochipMPASM SuiteMPASMWIN.exe" /q /p16F877A "ff.asm" /l"ff.lst" /e"ff.err" /d__DEBUG=1
Error[105]   F:MYPICFF.ASM 2 : Cannot open file (Include File "PIC16F877A.INC" not found)
Error[113]   F:MYPICFF.ASM 5 : Symbol not previously defined (STATUS)
Error[113]   F:MYPICFF.ASM 6 : Symbol not previously defined (TRISD)
Error[113]   F:MYPICFF.ASM 7 : Symbol not previously defined (STATUS)
Error[113]   F:MYPICFF.ASM 8 : Symbol not previously defined (PORTD)
Error[113]   F:MYPICFF.ASM 9 : Symbol not previously defined (PORTD)
Error[113]   F:MYPICFF.ASM 10 : Symbol not previously defined (PORTD)
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `F:MYPICff.mcp' failed.
Language tool versions: MPASMWIN.exe v5.51, mplink.exe v4.49, mplib.exe v4.49
Preprocessor symbol `__DEBUG' is defined.
Mon Jul 24 17:17:03 2017
----------------------------------------------------------------------
BUILD FAILED
请大神看看怎么回事?
举报

人中狼

2017-7-24 19:07:02
Error[105]   F:MYPICFF.ASM 2 : Cannot open file (Include File "PIC16F877A.INC" not found)
这个文件没找到,先把这个解决了吧,通常都会有一些连带错误,比如一个文件没找到,与该文件相关的就都会报错了 。
举报

一叶倾城wwq

2018-8-13 11:58:08
好多人都在用的编译环境,不会出现这种差头文件的情况的,你是不是建项目时属性没选对?头文件包含先试试
举报

更多回帖

发帖
×
20
完善资料,
赚取积分