关于iar for stm8: iar Fatal Error[Pe1696]: cannot open source file "xx.h"错误
2017-01-20 23:59
531 查看
关于iar for stm8: iar Fatal Error[Pe1696]: cannot open source file “xx.h”错误
最近项目用到stm8,先前只用过MDK for stm32 ,对于熟悉MDK的朋友来说使用iar有时挺让人头痛的! 上面的问题,在百度中找到一个包含文件.c/.h文件的方法以做记录如下: 如何解决此问题? 这属于iar配置问题,可能你的例程是从别人的电脑上粘贴过来的,所以出现了一个文件路径配置问题。 如果从其他地方考过来的例程首先要更新一下它的文件路径配置问题。如何配置请按以下步骤操作: 1、点击file-->open-->file 2、找到你文件所在的盘、文件夹直到project的位置 有的可以复制 或者写下来 例: F:\LCDTEST\COMMON 3、点开options 将此路径分别粘贴到aseembler 中的preprocesser下的 additional direction和c/c++中的preprocess下的此同样位置即可 (似乎只设置c/c++中的就行了,具体可以在实际工程中测试) 4、编译即可
相关文章推荐
- IAR 编译报错 Fatal Error[Pe1696]: cannot open source file "Lcd_Display.h"
- IAR:Fatal Error[Pe005]: could not open source file
- Fatal Error[Pe1696]: cannot open source file "core_cmInstr.h"
- VC++6.0错误:fatal error:cannot open include file "xxxx.h"修正的一个方法
- Fatal Error[Pe1696]: cannot open source file "Coordinator.h" 解决办法
- Fatal Error[Pe1696]: cannot open source file "intrinsics.h" 的问题
- IAR:Fatal Error[Pe005]: could not open source file
- MDK编译提示错误cannot open source input file "stdint.h"
- vs2013 error : cannot open source file "SDKDDKVer.h"
- error: #5: cannot open source input file "core_cm4.h": No such file or directory
- error: #5: cannot open source input file "core_cm3.h": No such file or directory
- 小熊arm学习总结:iar7.3建立工程报错:cannot open the source file "XXXxxx.h
- error LNK1104: cannot open file "xx.exe"
- 关于"fatal error C1083: Cannot open precompiled header file"错误
- LINK : fatal error LNK: cannot open file "uafxcw.lib"的解决方法
- 驱动工程中添加新文件后出现的“cannot open source file '***.tmh'"编译错误
- KEIL MDK编译报错“error: #5: cannot open source input file "stdarg.h": No”
- error : cannot open source file "SDKDDKVer.h"
- error : cannot open source file "SDKDDKVer.h"