TI论坛
直播中

张润佘

7年用户 221经验值
私信 关注
[问答]

c6455编译错误,提示打不开.H文件,请问是为什么?

买了C6455的板子,光盘 的例程编译错误。
提示打不开.H文件。没找到对应的文件。谁晓得为什么,谢了!
--------------------------- c6455test.pjt - Debug ---------------------------
[C6455_pci.c] "C:CCStudio_v3.3C6000cgtoolsbincl6x" -g -fr"F:/cs/PROJECT/DSP/6455/board/13W/syth_ccs/C6455test_syth_led/Debug" -i"C:/CCStudio_v3.3PLA/dsk6455_v2/csl_c6455/inc" -d"_DEBUG" -mr1 -mv6400+ --mem_model:data=far -@"Debug.lkf" "C6455_pci.c"
"C6455_pci.c", line 14: fatal error: could not open source file "csl_edma3.h"
1 fatal error detected in the compilation of "C6455_pci.c".
Compilation terminated.
>> Compilation failure
[DDR2_32bit.c] "C:CCStudio_v3.3C6000cgtoolsbincl6x" -g -fr"F:/cs/PROJECT/DSP/6455/board/13W/syth_ccs/C6455test_syth_led/Debug" -i"C:/CCStudio_v3.3PLA/dsk6455_v2/csl_c6455/inc" -d"_DEBUG" -mr1 -mv6400+ --mem_model:data=far -@"Debug.lkf" "DDR2_32bit.c"
"DDR2_32bit.c", line 19: fatal error: could not open source file "csl_ddr2.h"
1 fatal error detected in the compilation of "DDR2_32bit.c".
Compilation terminated.
>> Compilation failure
[DNA_flash.c] "C:CCStudio_v3.3C6000cgtoolsbincl6x" -g -fr"F:/cs/PROJECT/DSP/6455/board/13W/syth_ccs/C6455test_syth_led/Debug" -i"C:/CCStudio_v3.3PLA/dsk6455_v2/csl_c6455/inc" -d"_DEBUG" -mr1 -mv6400+ --mem_model:data=far -@"Debug.lkf" "DNA_flash.c"
"C:/CCStudio_v3.3/C6000/csl/include/csl_chiphal.h", line 267: fatal error: #error NO CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e. 6201)
1 fatal error detected in the compilation of "DNA_flash.c".
Compilation terminated.
>> Compilation failure
[main.c] "C:CCStudio_v3.3C6000cgtoolsbincl6x" -g -fr"F:/cs/PROJECT/DSP/6455/board/13W/syth_ccs/C6455test_syth_led/Debug" -i"C:/CCStudio_v3.3PLA/dsk6455_v2/csl_c6455/inc" -d"_DEBUG" -mr1 -mv6400+ --mem_model:data=far -@"Debug.lkf" "main.c"
"C:/CCStudio_v3.3/C6000/csl/include/csl_chiphal.h", line 267: fatal error: #error NO CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e. 6201)
1 fatal error detected in the compilation of "main.c".
Compilation terminated.
>> Compilation failure
[mcbsp.c] "C:CCStudio_v3.3C6000cgtoolsbincl6x" -g -fr"F:/cs/PROJECT/DSP/6455/board/13W/syth_ccs/C6455test_syth_led/Debug" -i"C:/CCStudio_v3.3PLA/dsk6455_v2/csl_c6455/inc" -d"_DEBUG" -mr1 -mv6400+ --mem_model:data=far -@"Debug.lkf" "mcbsp.c"
"mcbsp.c", line 1: fatal error: could not open source file "csl_pllc.h"
1 fatal error detected in the compilation of "mcbsp.c".
Compilation terminated.
>> Compilation failure
Build Complete,
5 Errors, 0 Warnings, 0 Remarks.

回帖(2)

李峰

2018-8-2 07:03:51
由于你本地主机的一些软件或安装包的的安装路径和工程中指定的路径不一致,导致编译不成功。你可以查看一下工程中指定的路径是否符合本地主机。
举报

张润佘

2018-8-2 07:15:41
引用: kingnet_52004 发表于 2018-8-2 07:03
由于你本地主机的一些软件或安装包的的安装路径和工程中指定的路径不一致,导致编译不成功。你可以查看一下工程中指定的路径是否符合本地主机。

谢了!
举报

更多回帖

发帖
×
20
完善资料,
赚取积分