首页 > 其他分享 >fatal error C1083: Cannot open include file: 'soc_cfg.h': No such file or directory

fatal error C1083: Cannot open include file: 'soc_cfg.h': No such file or directory

时间:2022-12-08 20:04:49浏览次数:55  
标签:soc SOC V1 文件夹 SEC COMMON file fatal

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包无关。

标签:soc,SOC,V1,文件夹,SEC,COMMON,file,fatal
From: https://blog.51cto.com/u_6958388/5923292

相关文章