IAR编译错误

2019-06-17 19:53

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


IAR编译错误.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:指南在一日生活中的合理运用_贺冬梅

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: