This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
CCS:5.4.0
MCSDK:bios_mcsdk_02_01_02_06,补丁:bios_mcsdk_02_01_02_06_patch01
PDK:pdk_C6678_1_1_2_6
compiler:c6000_7.4.2
使用的从论坛上下载的Keystone_SPI例程
已经在Include Options的Add dir to #include search path添加了"C:\ti\pdk_C6678_1_1_2_6\packages"和"E:\DSP_ex\common"
在File Search Path中也添加了"C:\ti\pdk_C6678_1_1_2_6\packages\ti\csl\lib\ti.csl.intc.ae66" 和"C:\ti\pdk_C6678_1_1_2_6\packages\ti\csl\lib\ti.csl.ae66"
编译时报错:
could not open source file "tistdtypes.h"
could not open source file "tistdtypes.h"
could not open source file "csl_bootcfgAux.h"
在调用头文件的地方使用右键的Open Declaration命令,是可以打开所调用的头文件的。
我将#includ<csl_bootcfgAux.h>修改为#include <C:\ti\pdk_C6678_1_1_2_6 \packages\ti\csl\csl_bootcfgAux.h>
将#include <tistdtypes.h>修改为#include <C:\ti\pdk_C6678_1_1_2_6\packages\ti\csl\tistdtypes.h>
会报错三次could not open source file "tistdtypes.h"
如果将Include Options的Add dir to #include search path更改为"C:\ti\pdk_C6678_1_1_2_6
\packages\ti\csl"
报错信息如下:
could not open source file "ti/csl/cslr.h"
could not open source file "ti/csl/cslr.h"
could not open source file "csl_bootcfgAux.h"
如果在Include Options的Specify a preinclude file中添加C:\ti\pdk_C6678_1_1_2_6\packages
编译后Problems窗口中不再报错,但是Console窗口还是报错,提示Fatal error #5: could not open source file "C:/ti/pdk_C6678_1_1_2_6/packages"。并且此时虽然可以debug,但是无法生成.out文件