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

修改DMAI例程编译出错

您好,我修改dmai的video_encode_io1例程,想使用自己的codec engin和codec server。我修改了apps/video_encode_io1/linux下的cfg文件中engine.createfromserver函数,填入自己生成的serve名称和r路径名称,可是编译出错:

======== Building video_encode_io1 ========

Configuring application using linux/video_encode_io1_dm6467.cfg

making package.mak (because of package.bld) …

generating interfaces for package video_encode_io1_dm6467_config (because package/package.xdc.inc is older than package.xdc) …

configuring video_encode_io1_dm6467.xv5T from package/cfg/video_encode_io1_dm6467_xv5T.cfg …

Info: Configuring engine named 'encode' from the info file for DSP server './bin/cs.x64P',

         located in package '/opt/dvsdk_3_10_00_19/myserver/ti/mygroup/servers/cs':

     Target app will look for the DSP server image 'cs.x64P' in its current directory.

     Adding codec 'encode' (ti.encode.ENCODE), scratch groupId=0

js: "/opt/dvsdk_3_10_00_19/codec_engine_2_25_05_16/packages/ti/sdo/ce/Engine.xs", line 351: XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.encode' along the path: '/opt/dvsdk_3_10_00_19/dmai_2_10_00_12/packages;/opt/dvsdk_3_10_00_19/codec_engine_2_25_05_16/packages;/opt/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages;/opt/dvsdk_3_10_00_19/dsplink_linux_1_64/packages;/opt/dvsdk_3_10_00_19/dsplink_linux_1_64;/opt/dvsdk_3_10_00_19/xdais_6_25_02_11/packages;/opt/dvsdk_3_10_00_19/linuxutils_2_25_04_10/packages;/opt/dvsdk_3_10_00_19/cs2dm6467_1_00_00_10/packages;/packages;/opt/dvsdk_3_10_00_19/codec_engine_2_25_05_16/examples/ti/sdo/ce/examples;/opt/dvsdk_3_10_00_19/ti;/opt/myserver/ti/mygroup/servers/cs;/opt/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages;..;'. Ensure that the package path is set correctly.

   "/opt/dvsdk_3_10_00_19/dmai_2_10_00_12/packages/ti/sdo/dmai/apps/video_encode_io1/linux/video_encode_io1_dm6467.cfg", line 41

   "./package/cfg/video_encode_io1_dm6467_xv5T.cfg", line 474

   "./package/cfg/video_encode_io1_dm6467_xv5T.cfg", line 429

gmake: *** [package/cfg/video_encode_io1_dm6467_xv5T.c] 错误 1

Warning: directory "/opt/dvsdk_3_10_00_19/dsplink_linux_1_64/packages" on package path does not exist

Warning: directory "/packages" on package path does not exist

Warning: directory "/opt/myserver/ti/mygroup/servers/cs" on package path does not exist

js: "/opt/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

make: *** [linux/video_encode_io1_dm6467_config/compiler.opt] 错误 1

root@cyn-desktop:/opt/dvsdk_3_10_00_19/dmai_2_10_00_12/packages/ti/sdo/dmai/apps/video_encode_io1# ^C

root@cyn-desktop:/opt/dvsdk_3_10_00_19/dmai_2_10_00_12/packages/ti/sdo/dmai/apps/video_encode_io1# ^C

root@cyn-desktop:/opt/dvsdk_3_10_00_19/dmai_2_10_00_12/packages/ti/sdo/dmai/apps/video_encode_io1# ^C

root@cyn-desktop:/opt/dvsdk_3_10_00_19/dmai_2_10_00_12/packages/ti/sdo/dmai/apps/video_encode_io1# ^C

大概意思说找不到名为'ti.encode'的package(这个package的名字是我自定义codec engine的名字),可是在上层的rules.make里我已经把路径加入到XDCPATH了,请问这是是什么原因?谢谢!

Feng Dong:

从log看还是路径设置的有问题

赞(0)
未经允许不得转载:TI中文支持网 » 修改DMAI例程编译出错
分享到: 更多 (0)