您的位置:首页 > 其它

使用MPLAB遇到的问题及解决笔记

2010-06-01 22:53 281 查看
1. Error - processor types do not agree across all input files.

Solution
This error typically occurs when you have selected the wrong linker script file.
Double click on the linker script in the Project Tree and make sure you are using the correct linker script for the device you have selected under Configure>Select Device.

建工程时的Device ( Configure>Select Device设置 ) 与 Linker Script文件夹下面包含的 .lkr文件 不匹配

2. 出现了could not find file ‘c018i.o’错误

project -> build options -> project -> directories

对include serach path 和 library serach path等添加(点NEW)默认路径就行了,一般指向C:/mcc18/h C:/mcc18/lib

OK!纠正上面两个错误后编译成功!兴奋!开始Zigbee之旅了……
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: