IAR编译错误

更新时间:2023-08-08 17:24:26 阅读: 评论:0

IAR编译错误清单
Warning[Pe1665]: concatenation with "PDOR" in macro "PT" 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 "__VECTOR_TABLE" [referenced from F:\k60 example\E04 WOTCHDOG\Watdog\Debug\Obj\vectors.o]

Error[Li005]: no definition for "__VECTOR_RAM" [referenced from F:\k60 example\E04 WOTCHDOG\Watdog\Debug\Obj\vectors.o]

Error[Li005]: no definition for "__BOOT_STACK_ADDRESS" [referenced from F:\k60 example\E04 WOTCHDOG\Watdog\Debug\Obj\vectors.o]
错误原因(见下图):在linker里没有设置icf文件的路径。说
2,错误:Warning[Pe223]: function "LCD_Init" declared implicitly D:\All learning files\IAR files\exerci\Project\files\main.c 30
Warning[Pe223]: function "Draw_LibLogo" declared implicitly D:\All learning files\IAR files\exerci\Project\files\main.c 31
bacteriaWarning[Pe223]: function "LCD_P8x16Str" declared implicitly D:\All learning files\IAR files\exerci\Project\files\main.c 40
Warning[Pe223]: function "LCD_P6x8Str" declared implicitly D:\All learning files\IAR files\exerci\Project\files\main.c 41
landscapesWarning[Pe223]: function "LCD_CLS" declared implicitly D:\All learning files\IAR files\exerci\Project\files\main.c 44
Error[Pe020]: identifier "longqiu96x64" is undefined D:\All learning files\IAR files\exerci\Project\files\main.c 45
或者Error[Pe101]: "uint8" has already been declared in the current scope (at line 72 of "D:\All learning files\IAR files\exerci\ D:\All learning files\IAR files\exerci\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\exerci\LIB\drivers\LQ12864\LQ12864.h 10
Error[Pe065]: expected a ";" D:\All learning files\IAR files\exerci\LIB\drivers\LQ12864\LQ12864.h 10
Error while running C/C++ Compiler
main.c
Error[Pe101]: "uint8" has already been declared in the current scope (at line 72 of "D:\All learning files\IAR files\exerci\ D:\All learning files\IAR files\exerci\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\exerci\LIB\drivers\LQ12864\LQ12864.h 10
life ntence
Error[Pe065]: expected a ";" D:\All learning files\IAR files\exerci\LIB\drivers\LQ12864\LQ12864.h 10
Warning[Pe223]: function "LCD_Init" declared implicitly D:\All learning files\IAR files\exerci\Project\files\main.c 30
Warning[Pe223]: function "Draw_LibLogo" declared implicitly D:\All learning files\IAR files\exerci\Project\files\main.c 31
Warning[Pe223]: function "LCD_P8x16Str" declared implicitly D:\All learning files\IAR files\exerci\Project\files\main.c 40
Warning[Pe223]: function "LCD_P6x8Str" declared implicitly D:\All learning files\IAR files\exerci\Project\files\main.c 41
双刃剑英文Warning[Pe223]: function "LCD_CLS" declared implicitly D:\All learning files\IAR files\exerci\Project\files\main.c 44
Error[Pe020]: identifier "longqiu96x64" is undefined D:\All learning files\IAR files\exerci\Project\files\main.c 45
Error while running C/C++ Compiler
注意:我这是把LQ12864.h中的
shengtangvoid  byte longqiu96x64[768];
//void LCD_Init(void);
2011美国电影排行榜
//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[]);
slowervoidLCD_Print(byte x, byte y, byte ch[]);
留学diy
// void LCD_PutPixel(byte x,byte y);
hoya
//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]: "uint8" has already been declared in the current scope (at line 72 of "D:\All learning files\IAR files\exerci\ D:\All learning files\IAR files\exerci\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\exerci\LIB\drivers\LQ12864\LQ12864.h 10
Error[Pe065]: expected a ";" D:\All learning files\IAR files\exerci\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)

本文发布于:2023-08-08 17:24:26,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/90/191712.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:错误   设置   文件   美国   级联   电影   创建
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图