你好,我的系统是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中相同