TI中文支持网
TI专业的中文技术问题搜集分享网站

ccs 8.1.0.00011 创建DSP端New Platform后,编译出错

你好,我的系统是win10,用的ccs 8.1.0.00011版本,在新建带有bios 的dsp工程 test(工程名) 后,创建了DSP端New Platform,test工程更换了platform编译报错,具体表现如下:

1.新建工程时使用默认平台ti.platforms.evm6748,可以正常生成out

2.更改为自定义的new platform ,app.cfg文件自动被exclude from build,直接编译提示找不到cfg文件

3.将app.cfg文件手动取消exclude from build,再次编译,报错

>> Compilation failure
gmake[1]: Leaving directory `C:/workspace_v8/test/src/sysbios'
Build of libraries failed.
c6748/package/subdir_rules.mk:12: recipe for target 'build-2081674415-inproc' failed
/cygdrive/c/ti/xdctools_3_50_07_20_core/bin/mkdir: cannot create directory `package/internal': File exists
gmake[1]: *** [BIOS.obj] Error 1
gmake: *** [C:/workspace_v8/test/src/sysbios/sysbios.ae674] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_50_07_20_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "C:/ti/xdctools_3_50_07_20_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/app_pe674.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/app_pe674.xdl'
gmake.exe: *** [package/cfg/app_pe674.xdl] Deleting file `package/cfg/app_pe674.h'
gmake.exe: *** [package/cfg/app_pe674.xdl] Deleting file `package/cfg/app_pe674.c'
js: "C:/ti/xdctools_3_50_07_20_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-2081674415-inproc] Error 1
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Exception_asm.s64P …
remark #24038-D: –optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Hwi_asm.s62 …
remark #24038-D: –optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 …
remark #24038-D: –optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P …
remark #24038-D: –optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/ti/tls_get_tp.asm …
remark #24038-D: –optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 …
remark #24038-D: –optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
asme674 C:/ti/bios_6_52_00_12/packages/ti/sysbios/timers/timer64/Timer_asm.s64P …
remark #24038-D: –optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
are674 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj ti_tls_get_tp.obj c62_TaskSupport_asm.obj timer64_Timer_asm.obj …
gmake[1]: Leaving directory `C:/workspace_v8/test/src/sysbios'
Build of libraries done.
subdir_rules.mk:12: recipe for target 'build-2025655903-inproc' failed
C:/ti/xdctools_3_50_07_20_core/bin/sed: can't read package/cfg/app_pe674.xdl: No such file or directory
gmake.exe: *** [linker.cmd] Error 2
gmake.exe: *** Deleting file `linker.cmd'
js: "C:/ti/xdctools_3_50_07_20_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-2025655903-inproc] Error 1
gmake: *** No rule to make target 'build-2025655903', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-2025655903', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-2081674415', needed by 'configPkg/linker.cmd'.
gmake: Target 'all' not remade because of errors.

 

4.把平台重新选择为默认的ti.platforms.evm6748,编译依然报错,错误信息与3中相同

Tony Tang:

把你的工程贴上来看看。

Shine:

用低版本的CCS试试。

RAN YU:

回复 Tony Tang:

附件为在win7上ccs8.1 进行上述操作的录屏视频,虽然操作系统不同,但现象相同

ccs8.1 bug record.rar

RAN YU:

回复 Shine:

尝试了用ccs8.0.16 更换自定义platform会出现同样的错误

RAN YU:

回复 Shine:

尝试了用ccs7.3同样的问题

RAN YU:

回复 Tony Tang:

找到一点线索,用ccs8.1,把新建的platform文件夹放在工程目录下就会编译不过,platform文件夹放在其他目录,让工程链接过去就可以正常编译链接通过。但是我们公司以前一直使用ccs5 和ccs6 把platform文件夹放在工程目录下也是可以正常使用的,请问新版ccs中的这个现象属于bug还是不再支持platform文件夹放在工程目录下?

赞(0)
未经允许不得转载:TI中文支持网 » ccs 8.1.0.00011 创建DSP端New Platform后,编译出错
分享到: 更多 (0)