IAR报错记录

Question1:

Fatal Error[Pe1696]: cannot open source file "api_config.h" 
Error while running C/C++ Compiler 
Solution:

一、找到对应文件所在位置 

IAR报错记录_第1张图片

二、右键工程,点击Options

IAR报错记录_第2张图片

三 、点击图中“click to add”,添加对应的文件路径即可。

IAR报错记录_第3张图片

Question 2:

Fatal Error[Lc002]: could not open file "F:\HighAD_ChangeVersion\Projects_V2\High_ARM\HighBoard_testmode\Project\stm32f10x_flash.icf" C:\Users\26058\AppData\Local\Temp\EWAEFE.tmp 1 
Error while running Linker 
Solution:

一、

出现这个问题说明此工程是别人的工程复制到自己电脑上的,只需要 将下图中红框路径修改为自己电脑中工程保存所在的正确的路径即可解决问题。IAR报错记录_第4张图片

Question 3:

Error[Li005]: no definition for "__iar_system_Mtxinit" [referenced from xsyslock_mtx.o(th7M_tlf.a)] 
Error[Li005]: no definition for "__iar_file_Mtxinit" [referenced from xsyslock_mtx.o(th7M_tlf.a)] 
Error[Li005]: no definition for "__iar_file_Mtxdst" [referenced from xsyslock_mtx.o(th7M_tlf.a)] 
Error[Li005]: no definition for "__iar_system_Mtxdst" [referenced from xsyslock_mtx.o(th7M_tlf.a)] 
Error[Li005]: no definition for "__iar_file_Mtxunlock" [referenced from xsyslock_mtx.o(th7M_tlf.a)] 
Error[Li005]: no definition for "__iar_system_Mtxunlock" [referenced from xsyslock_mtx.o(th7M_tlf.a)] 
Error[Li005]: no definition for "__iar_system_Mtxlock" [referenced from xsyslock_mtx.o(th7M_tlf.a)] 
Error[Li005]: no definition for "__iar_file_Mtxlock" [referenced from xsyslock_mtx.o(th7M_tlf.a)] 
Error while running Linker 
Solution:

把下图中的勾取下即可

IAR报错记录_第5张图片

 

你可能感兴趣的:(开发语言)