打印

C18 编译问题

[复制链接]
2609|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
ljm041128|  楼主 | 2011-11-8 10:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Debug build of project `E:\LJT\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\crowcon8008.mcp' started.
Language tool versions: mplink.exe v4.38, mplink.exe v4.38, mcc18.exe v3.37.01, mplib.exe v4.38
Preprocessor symbol `__DEBUG' is defined.
Target debug platform is `__MPLAB_DEBUGGER_ICD2=1'.
Debug platform options are: `__ICD2RAM=1'.
Tue Nov 08 10:30:18 2011
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean Warning: File "E:\LJT\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.o" doesn't exist.
Clean: Deleted file "E:\LJT\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\crowcon8008.mcs".
Clean: Done.
Executing: "E:\mcc18\bin\mcc18.exe" -p=18F45K22 "maxver2.0.c" -fo="maxver2.0.o" -D__DEBUG -D__MPLAB_DEBUGGER_ICD2=1 -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "E:\mcc18\bin\mplink.exe" /l"C:\mcc18\lib" "..\..\..\mcc18\lkr\18f45k20.lkr" "maxver2.0.o" /u_CRUNTIME /u_DEBUG /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /z__MPLAB_DEBUGGER_ICD2=1 /z__ICD2RAM=1 /o"crowcon8008.cof" /M"crowcon8008.map" /W
MPLINK 4.38, Linker
Copyright (c) 1998-2010 Microchip Technology Inc.
Error - Device not specified. Use /p option to specify a device.
Errors    : 1
Link step failed.
----------------------------------------------------------------------
Debug build of project `E:\LJT\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\crowcon8008.mcp' failed.
Language tool versions: mplink.exe v4.38, mplink.exe v4.38, mcc18.exe v3.37.01, mplib.exe v4.38
Preprocessor symbol `__DEBUG' is defined.
Target debug platform is `__MPLAB_DEBUGGER_ICD2=1'.
Debug platform options are: `__ICD2RAM=1'.
Tue Nov 08 10:30:25 2011
----------------------------------------------------------------------
BUILD FAILED
这个错误怎么了!能从原理上帮我解决下?谢谢!!!!
沙发
yewuyi| | 2011-11-8 10:14 | 只看该作者
在MPLAB中的选择正确的芯片型号了吗?

使用特权

评论回复
评分
参与人数 1威望 +1 收起 理由
ljm041128 + 1 可以
板凳
ljm041128|  楼主 | 2011-11-8 10:14 | 只看该作者
解决了!!换个目录,把原来LkR删掉就行了!

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

130

主题

455

帖子

0

粉丝