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

新手求教:DM6437例程在CCSv5运行出现错误

新手求教:用CCSv5.1开发DM6437,在导入例程后“#include <xdc/std.h>”显示无法找到,之后添加了include options,可以找到了,但是build后显示这些错误:

**** Build of configuration Debug for project video_copy ****

F:\DM6437\ccsv5\utils\bin\gmake -k all'Building target: video_copy.out'
'Invoking: C6000 Linker'
"F:/DM6437/ccsv5/tools/compiler/c6000/bin/cl6x" –cmd_file="../=F:/DM6437/dvsdk_1_01_00_15/examples/video_copy/evmDM6437/xdcconfig/compiler.opt" –cmd_file="F:\DM6437\dvsdk_1_01_00_15\dm6437_demo_1_30_00\xdcconfig\compiler.opt" -mv64+ -g –define="_DEBUG" –display_error_number –issue_remarks –diag_warning=225 –abi=coffabi -z -m"video_copy.map" –stack_size=800 –heap_size=800 –warn_sections -i"F:/DM6437/ccsv5/tools/compiler/c6000/lib" -i"F:/DM6437/ccsv5/tools/compiler/c6000/include" -i"F:/DM6437/bios_6_32_05_54/packages/ti/rtdx/include/c6000" -i"F:/DM6437/dvsdk_1_01_00_15/psp_1_00_02_00/pspdrivers/lib/C6424/Debug" -i"F:/DM6437/bios_5_41_11_38/packages/ti/rtdx/lib/c6000" -i"F:/DM6437/xdctools_3_22_04_46/packages" -i"F:/DM6437/xdais_7_21_01_07/packages" -i"F:/DM6437/bios_5_41_11_38/packages/ti/bios/lib" -i"F:/DM6437/dvsdk_1_01_00_15/examples/video_copy/evmDM6437" -i"F:/DM6437/ccsv5/tools/compiler/c6000/lib" -i"/packages/ti/rtdx/lib/c6000" –reread_libs –rom_model -o "video_copy.out" "./video_copy.obj" "./main.obj" "../lnk.cmd"<Linking>
>> ERROR: Cannot open command file '../=F:/DM6437/dvsdk_1_01_00_15/examples/video_copy/evmDM6437/xdcconfig/compiler.opt': Invalid argument
remark #10209-D: automatic RTS selection: linking in index library "libc.a"

undefined first referenced
remark #10205-D: automatic RTS selection: linking in "rts64plus.lib" in place
of index library "libc.a"
symbol in file ——— —————-
_CERuntime_init ./main.obj _Engine_close ./video_copy.obj
_Engine_open ./video_copy.obj
_Memory_cacheInv ./video_copy.obj
_Memory_cacheWbInv ./video_copy.obj
_Memory_contigAlloc ./video_copy.obj
_Memory_contigFree ./video_copy.obj
_SYS_abort ./main.obj _TSK_ATTRS ./main.obj _TSK_create ./main.obj _VIDDEC_control ./video_copy.obj
_VIDDEC_create ./video_copy.obj
_VIDDEC_delete ./video_copy.obj
_VIDDEC_process ./video_copy.obj
_VIDENC_control ./video_copy.obj
_VIDENC_create ./video_copy.obj
_VIDENC_delete ./video_copy.obj
_VIDENC_process ./video_copy.obj

error #10234-D: unresolved symbols remain

>> Compilation failure
error #10010: errors encountered during linking; "video_copy.out" not built
gmake: *** [video_copy.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

air anson:

这个应该是路径设置问题吧,从3.3到5.1确实很多问题,我们可以一起交流 QQ435895824

Hanlei Li:

回复 Chris Meng:

后来确实是使用的CCS3.3,不过还要在xp上装

user5112336:

回复 Chris Meng:

你好,我想问一下,你指的旧的编译器是指的什么?

Chris Meng:

回复 user5112336:

老版本的C6000 code generation tool (cgtool),也就是CCS3.3自带的那个版本。

赞(0)
未经允许不得转载:TI中文支持网 » 新手求教:DM6437例程在CCSv5运行出现错误
分享到: 更多 (0)