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.

C6455工程编译问题?

Other Parts Discussed in Thread: CCSTUDIO

最近买了一个C6455板子,两片DSP。光盘里面的代码出错。

代码是两片DSP通信例程,可是提示我打不开.h文件。工程里面没有找到对应的文件。

-------------------------- srio_master.pjt - Debug --------------------------
[srio.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"Debug" -fs"Debug" -ft"Debug" -fb"Debug" -i"C:/CCStudio_v3.3/boards/dsk6455_v2/csl_c6455/inc" -d"_DEBUG" -mo -ml3 -mv6400+ -@"Debug.lkf" "srio.c"
"srio.c", line 1: fatal error: could not open source file "csl_srio.h"
1 fatal error detected in the compilation of "srio.c".
Compilation terminated.

>> Compilation failure

[srio_master.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"Debug" -fs"Debug" -ft"Debug" -fb"Debug" -i"C:/CCStudio_v3.3/boards/dsk6455_v2/csl_c6455/inc" -d"_DEBUG" -mo -ml3 -mv6400+ -@"Debug.lkf" "srio_master.c"
"srio_master.c", line 1: fatal error: could not open source file "csl_srio.h"
1 fatal error detected in the compilation of "srio_master.c".
Compilation terminated.

>> Compilation failure

[mastercfg.s62] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"Debug" -fs"Debug" -ft"Debug" -fb"Debug" -i"C:/CCStudio_v3.3/boards/dsk6455_v2/csl_c6455/inc" -d"_DEBUG" -mo -ml3 -mv6400+ -@"Debug.lkf" "mastercfg.s62"
"mastercfg.s62", WARNING! at line 51: [ ***** USER WARNING ***** - ]
Application stack size is too small; decrease the number of SWI
priorities or increase the stack in MEM.
.wmsg "Application stack size is too small; decrease the number of SWI priorities or increase the stack in MEM."

No Assembly Errors, 1 Assembly Warning

[mastercfg_c.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"Debug" -fs"Debug" -ft"Debug" -fb"Debug" -i"C:/CCStudio_v3.3/boards/dsk6455_v2/csl_c6455/inc" -d"_DEBUG" -mo -ml3 -mv6400+ -@"Debug.lkf" "mastercfg_c.c"

Build Complete,
2 Errors, 1 Warnings, 0 Remarks.

  • 由于你本地主机的一些软件或安装包的的安装路径和工程中指定的路径不一致,导致编译不成功。你可以查看一下工程中指定的路径是否符合本地主机。