IAR编译错误
更新时间:2024-04-27 19:36:01 阅读量: 综合文库 文档下载
IAR编译错误清单
Warning[Pe1665]: concatenation with \in macro \does not create a valid token E:\\All learning files\\IAR files\\四轴\\电调\\VCANBLDC\\Board\\src\\VCAN_NRF24L0.c 317警告:“PDDR”宏“PT”不创建有效的TOK级联 未解 1,错误:
Error[Li005]: no definition for \[referenced from F:\\k60 example\\E04 WOTCHDOG\\Watdog\\Debug\\Obj\\vectors.o]
Error[Li005]: no definition for \[referenced from F:\\k60 example\\E04 WOTCHDOG\\Watdog\\Debug\\Obj\\vectors.o]
Error[Li005]: no definition for \[referenced from F:\\k60 example\\E04 WOTCHDOG\\Watdog\\Debug\\Obj\\vectors.o] 错误原因(见下图):在linker里没有设置icf文件的路径。说
2,错误:Warning[Pe223]: function \declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 30
Warning[Pe223]: function \declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 31
Warning[Pe223]: function \declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 40
Warning[Pe223]: function \declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 41
Warning[Pe223]: function \declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 44
Error[Pe020]: identifier \is undefined D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 45
或者:Error[Pe101]: \has already been declared in the current scope (at line 72 of \learning files\\IAR files\\exercise\\ D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ12864\\LQ12864.h 10 Project\\iar\\..\\..\\LIB\\cpu\\arm_cm4.h\
Error[Pe070]: incomplete type is not allowed D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ12864\\LQ12864.h 10
Error[Pe065]: expected a \D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ12864\\LQ12864.h 10
Error while running C/C++ Compiler main.c
Error[Pe101]: \has already been declared in the current scope (at line 72 of \learning files\\IAR files\\exercise\\ D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ12864\\LQ12864.h 10 Project\\iar\\..\\..\\LIB\\cpu\\arm_cm4.h\
Error[Pe070]: incomplete type is not allowed D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ12864\\LQ12864.h 10
Error[Pe065]: expected a \D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ12864\\LQ12864.h 10
Warning[Pe223]: function \declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 30
Warning[Pe223]: function \declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 31
Warning[Pe223]: function \declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 40
Warning[Pe223]: function \declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 41
Warning[Pe223]: function \declared implicitly D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 44
Error[Pe020]: identifier \is undefined D:\\All learning files\\IAR files\\exercise\\Project\\files\\main.c 45
Error while running C/C++ Compiler 注意:我这是把LQ12864.h中的 void byte longqiu96x64[768]; //void LCD_Init(void); //void LCD_CLS(void);
//void LCD_P6x8Str(byte x,bytey,bytech[]); //void LCD_P8x16Str(byte x,bytey,bytech[]); //void LCD_P14x16Str(byte x,bytey,bytech[]); voidLCD_Print(byte x, byte y, byte ch[]); // void LCD_PutPixel(byte x,byte y);
//void LCD_Rectangle(byte x1,byte y1,byte x2,byte y2,byte gif); //void Draw_LQLogo(void); //void Draw_LibLogo(void);
看到没我都给注释了,然后出现这么多错误,最后又把本来是extern byte longqiu96x64[768];改成voidbyte longqiu96x64[768];于是出现了:
Error[Pe101]: \has already been declared in the current scope (at line 72 of \learning files\\IAR files\\exercise\\ D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ12864\\LQ12864.h 10 Project\\iar\\..\\..\\LIB\\cpu\\arm_cm4.h\
Error[Pe070]: incomplete type is not allowed D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ12864\\LQ12864.h 10
Error[Pe065]: expected a \D:\\All learning files\\IAR files\\exercise\\LIB\\drivers\\LQ12864\\LQ12864.h 10
Error while running C/C++ Compiler
IAR 6.20编译错误清单
1、 ①错误描述:Tool Internal Error:
Internal Error: [CoreUtil/General]: Access violation (0xc0000005) at 007588A5 (reading from address 0x0)
Internal Error: [CoreUtil/General]: Access violation (0xc0000005) at 007588A5 (reading from address 0x0)
Error while running C/C++ Compiler
②错误原因:High配置设置为Size,应该为Low
2、①错误描述:Fatal Error[Pe1696]: cannot open source file \E:\\StellarisWareM3_9D92\\boards\\dk-lm3s9b96\\boot_demo2\\boot_demo2.c 25
②错误原因:C/C++ Complier(Assember)->Preprocessor->Additional include directories:
$PROJ_DIR$\\. $PROJ_DIR$\\..
$PROJ_DIR$\\..\\..\\..
3、①错误描述:Fatal Error[Pe1696]: cannot open source file \E:\\StellarisWareM3_9D92\%utils\\lwiplib.h 44
②错误原因:C/C++ Complier-(Assember)>Preprocessor->Additional include directories:
$PROJ_DIR$\\..\\..\\..\\third_party\\lwip-1.3.2\\apps $PROJ_DIR$\\..\\..\\..\\third_party\\bget
$PROJ_DIR$\\..\\..\\..\\third_party\\lwip-1.3.2\\ports\\stellaris\\include $PROJ_DIR$\\..\\..\\..\\third_party\\lwip-1.3.2\\src\\include
$PROJ_DIR$\\..\\..\\..\\third_party\\lwip-1.3.2\\src\\include\\ipv4
$PROJ_DIR$\\..\\..\\..\\third_party\\lwip-1.3.2\\src\\include\\lwip $PROJ_DIR$\\..\\..\\..\\third_party
4、①错误描述:Fatal Error[Pe035]: #error directive: Unrecognized COMPILER! E:\\StellarisWareM3_9D92\\boards\\dk-lm3s9b96\\drivers\\set_pinout.h 59
Error while running C/C++ Compiler
②错误原因:C/C++ Complier-(Assember)>Preprocessor->Defined symbols: ewarm
5、①错误描述:Error[Pe020]: identifier \is undefined E:\\StellarisWareM3_9D92\\third_party\\aes\\aes.c 319
②错误原因:
6、①错误描述:Error[Li005]: no definition for \ Error while running Linker
②错误原因:定义函数:intmain(void){ return (0);}
7、①错误描述:Error[Li005]: no definition for \ Error while running Linker
②错误原因:如果是库是库函数,在:General Options->Output->Output file:选择: Library项
4、①错误描述:Fatal Error[Pe1696]: cannot open source file \E:\\StellarisWareM3_9D92\\third_party\%uip-1.0\\apps\\dhcpc\\dhcpc.c 37 ②错误原因:
5、①错误描述: ②错误原因:
$PROJ_DIR$\\..\\..\\..\\third_party\\lwip-1.3.2\\apps $PROJ_DIR$\\..\\..\\..\\third_party\\bget
$PROJ_DIR$\\..\\..\\..\\third_party\\lwip-1.3.2\\ports\\stellaris\\include $PROJ_DIR$\\..\\..\\..\\third_party\\lwip-1.3.2\\src\\include
$PROJ_DIR$\\..\\..\\..\\third_party\\lwip-1.3.2\\src\\include\\ipv4 $PROJ_DIR$\\..\\..\\..\\third_party
$PROJ_DIR$\\..\\..\\..\\third_party\%uip-1.0 $PROJ_DIR$\\..\\..\\..\\third_party\%uip-1.0\%uip $PROJ_DIR$\\..\\..\\..\\third_party\%uip-1.0\\apps
$PROJ_DIR$\\..\\..\\..\\third_party\\\\speex-1.2rc1\\include
$PROJ_DIR$\\..\\..\\..\\third_party\\\\speex-1.2rc1\\include\\speex $PROJ_DIR$\\..\\..\\..\\third_party\\\\speex-1.2rc1\\stellaris
6、①错误描述:Fatal Error[Pe035]: #error directive: You now need to define either FIXED_POINT or FLOATING_POINT E:\\StellarisWareM3_9D92\\third_party\\speex-1.2rc1\\libspeex\\arch.h 65 ②错误原因:
7、①错误描述:Fatal Error[Pe035]: #error directive: \E:\\StellarisWareM3_9D92\\third_party\\fatfs\\port\\dual-disk-driver.c 62
Error while running C/C++ Compiler ②错误原因: UART_BUFFERED DISK0_DK_LM3S9B96 DISK1_USB_MSC
INCLUDE_BGET_STATS
8、①错误描述:Error[Pe020]: identifier \is undefined E:\\SWM3_9D92(6.20)\\third_party\\aes\\aes.c 359 Error while running C/C++ Compiler ②错误原因:
10、①错误描述:Fatal Error[Pe035]: #error directive: You now need to define either FIXED_POINT or FLOATING_POINT E:\\SWM3_9D92(6.20)\\third_party\\speex-1.2rc1\\libspeex\\arch.h 65 Error while running C/C++ Compiler ②错误原因:
11、①错误描述:
Error[Li005]: no definition for \[referenced from E:\\SWM3_9D92(6.20)\\boards\\dk-lm3s9b96\\safertos_demo\\Debug\\Obj\\safertos_demo.o] Error[Li005]: no definition for \[referenced from E:\\SWM3_9D92(6.20)\\boards\\dk-lm3s9b96\\safertos_demo\\Debug\\Obj\\lwip_task.o]
Error[Li005]: no definition for \[referenced from E:\\SWM3_9D92(6.20)\\boards\\dk-lm3s9b96\\safertos_demo\\Debug\\Obj\\lwip_task.o]
Error[Li005]: no definition for \[referenced from E:\\SWM3_9D92(6.20)\\boards\\dk-lm3s9b96\\safertos_demo\\Debug\\Obj\\led_task.o]
Error[Li005]: no definition for \[referenced from E:\\SWM3_9D92(6.20)\\boards\\dk-lm3s9b96\\safertos_demo\\Debug\\Obj\\led_task.o]
Error[Lp011]: section placement failed: unable to allocate space for sections/blocks with a total estimated minimum size of 0x11e54 bytes in <[0x20000000-0x2000ffff]> (total uncommitted space 0x10000).
Error while running Linker ②错误原因:
12、①错误描述:
Error[Lp011]: section placement failed: unable to allocate space for sections/blocks with a total estimated minimum size of 0x11e54 bytes in <[0x20000000-0x2000ffff]> (total uncommitted space 0x10000). Error while running Linker
正在阅读:
IAR编译错误04-27
中国古代史,考试答案(必过95分以上)05-11
2022年办公室文员年度总结03-26
7 糖代谢的其他途径 006-11
江苏省高级人民法院关于民事、行政申请再审案件审理程序的实施意04-24
B类宏程序10-24
2018-2024年中国西藏房地产市场投资方向研究报告(目录) - 图文03-18
妇幼卫生信息报告制度(定)06-05
探索规律(六年级)06-02
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- 编译
- 错误
- IAR
- 公交公司目标管理考核细则
- 《管理学》周三多 - 大一复习
- 大学校园内学生宿舍应不应该实行熄灯制度(反方)
- 学生论文样例 1 (文)历代文人悲秋情怀小考
- 污水处理283个为什么(绝对不错)
- 第四章Oracle数据库对象
- 五防系统现状及发展(教材)分析 - 图文
- 生命短暂与人生无常——建安诗歌与正始诗歌比较
- 安徽科技学院SYB创业计划书范文
- 热能与动力工程专业英语第1,2,3,4,7,8,9章译文
- 七年级下册第一次月考试题5
- 人民调解能手事迹材料
- Java语言程序设计 第2版 (郑莉)课后习题答案
- 京沪高速铁路牵引供电
- 笔记本电脑四大件编程指导书
- 2018新版部编本二年级下册语文第4单元教学设计(2018年最新审定版
- aisino a6故障及解决方法
- 《微机原理》习题集
- 徐家加油站(报批) - 图文
- 应用统计学复习题 2