fatal error C1083: Cannot open include file: 'soc_cfg.h': No such file or directory
fatal error C1083: Cannot open include file: 'intr_reg.h': No such file or directory
解决:
1、
The include path of build system does not rely on settings in VS but solely by the macros in SOURCES and makefiles.
Since you are building Emulator but encounter build error in irrelative SOC tree, it indicates the build process (SOURCES files) of S5PV210_SEC_V1 SoC lib is not well organized.
So perhaps you need to fix the SOURCES file in COMMON\SRC\SOC\S5PV210_SEC_V1\OAL\INTR\
Or just simply remove COMMON\SRC\SOC\S5PV210_SEC_V1 as a quick workaround.
2、
上面提示的信息是系统不能打开soc_cfg.h,这个函数的前面三个字母是soc,而WINCE6.0的设计思想有一条就是芯片共用的代码(比如6410),就把这些共用的代码放在\WINCE600\PLATFORM\COMMON\SRC\SOC文件夹下面,而6410开发板有S3C6410_SEC_V1这个文件夹,这个文件夹包含的就是6410共用的代码,而soc_cfg.h头文件就在S3C6410_SEC_V1\OAL\INC文件夹下面,楼主只需要把S3C6410_SEC_V1文件夹拷贝在\WINCE600\PLATFORM\COMMON\SRC\SOC文件夹下面,并且把SOC文件夹下面的dirs文件改为
DIRS=\
S3C6410_SEC_V1
然后rebuild整个BSP包应该就可以解决这个问题了。
3、
把E:\WINCE600\PLATFORM\COMMON\SRC\SOC\S5PV210_SEC_V1这个目录删了。和BSP包无关。
fatal error C1083: Cannot open include file: 'soc_cfg.h': No such file or directory
原创
©著作权归作者所有:来自51CTO博客作者xingyuan1hao的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章