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.

codec engine problem!

Other Parts Discussed in Thread: OMAP3530

    When I try to build codec engine, I met some problems as following:

"ti/sdo/ce/examples/codecs/viddec1_copy/VIDDEC1_COPY.xdc", line 49:  can't resolve name (ti.sdo.ce.video1.IVIDDEC1)
error:  compilation failed: parser failed
gmake[1]: *** [package/package.xdc.inc] 错误 1
gmake: *** [/home/davinci/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/viddec1_copy,.interfaces] 错误 2
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/home/davinci/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/viddec1_copy'
make: *** [all] 错误 2
    What should I do?

Thanks!

  • Can you post your complete build log failure?  This error is most likely because $(CE_INSTALL_DIR)/packages isn't included on the XDCPATH when building the codec... but failure to have $(CE_INSTALL_DIR)/packages on your XDCPATH is typically caught much sooner - so I'm curious to see your complete build log.

    Chris

  • Hello , I  have  met   the  same  problem.

    in  xdcpaths.mak  :

    CE_INSTALL_DIR        := /home/newton/dvsdk_3_00_02_44/codec_engine_2_24

    this  is  my  log  failure

    newton@ubuntu:~/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs$ make
    make -C viddec1_copy all
    make[1]: 正在进入目录 `/home/newton/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/viddec1_copy'
    /home/newton/dvsdk_3_00_02_44/xdctools_3_15_01_59/xdc XDCPATH="/home/newton/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../..;/home/newton/dvsdk_3_00_02_44/local_power_manager_1_24/packages" \
            XDCOPTIONS=v XDCARGS="DEVICES=\"OMAP3530\" PROGRAMS=\"APP_CLIENT DSP_SERVER APP_LOCAL\" GPPOS=\"LINUX_GCC\" CGTOOLS_V5T=/home/newton/toolchain/arm-2008q1 CC_V5T=bin/arm-none-linux-gnueabi-gcc CGTOOLS_C64P=/home/newton/dvsdk_3_00_02_44/cg6_0 CGTOOLS_C674=/db/toolsrc/library/tools/vendors/ti/c6x/6.1.5/Linux CGTOOLS_UCARM9=/db/toolsrc/library/tools/vendors/opensource/buildroot/10122007/build_arm/staging_dir/usr WINCE_ROOTDIR=C:/WINCE600 WINCE_PROJECTROOT=C:/WINCE600/_your_ProjectRoot_/Wince600/TI_EVM_3530_ARMV4I CGTOOLS_LINUX86=/usr" all -PD .
    making all: 2010年 06月 14日 星期一 23:59:51 CST ...
    ======== .interfaces [/home/newton/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/xdais/dm/examples/viddec1_copy] ========
    gmake[1]: “.interfaces”是最新的。
    ======== .interfaces [/home/newton/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/viddec1_copy] ========
    #
    # generating interfaces for package ti.sdo.ce.examples.codecs.viddec1_copy (because package/package.xdc.inc is older than package.xdc) ...
    /home/newton/dvsdk_3_00_02_44/xdctools_3_15_01_59/xs -Dxdc.path="/home/newton/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../..;/home/newton/dvsdk_3_00_02_44/local_power_manager_1_24/packages;/home/newton/dvsdk_3_00_02_44/xdctools_3_15_01_59/packages;../../../../../.." -Dxdc.root=/home/newton/dvsdk_3_00_02_44/xdctools_3_15_01_59 -Dxdc.hostOS=Linux -Dconfig.importPath=".;/home/newton/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../..;/home/newton/dvsdk_3_00_02_44/local_power_manager_1_24/packages;/home/newton/dvsdk_3_00_02_44/xdctools_3_15_01_59/packages;../../../../../..;/home/newton/dvsdk_3_00_02_44/xdctools_3_15_01_59;/home/newton/dvsdk_3_00_02_44/xdctools_3_15_01_59/etc" -Dxdc.bld.targets="" -DTOOLS=  -f xdc/services/intern/cmd/build.xs  -m package/package.xdc.dep -i package/package.xdc.inc package.xdc
        translating VIDDEC1_COPY
    "ti/sdo/ce/examples/codecs/viddec1_copy/VIDDEC1_COPY.xdc", line 49:  can't resolve name (ti.sdo.ce.video1.IVIDDEC1)
    error:  compilation failed: parser failed
    gmake[1]: *** [package/package.xdc.inc] 错误 1
    gmake: *** [/home/newton/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/viddec1_copy,.interfaces] 错误 2
    make[1]: *** [all] 错误 2
    make[1]:正在离开目录 `/home/newton/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/viddec1_copy'
    make: *** [all] 错误 2

    Thanks !

  • For some reason, CE_INSTALL_DIR isn't being added to your XDCPATH, and as a result, the error msg is correct, XDC really can't resolve the name 'ti.sdo.ce.video1.IVIDDEC1'.

    From your build, log, I've highlighted in red your XDCPATH below.  It should, as a result of running the xdcpaths.mak makefile, include the value you assigned to CE_INSTALL_DIR, but doesn't:

    Wen Liu said:
    /home/newton/dvsdk_3_00_02_44/xdctools_3_15_01_59/xdc XDCPATH="/home/newton/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../..;/home/newton/dvsdk_3_00_02_44/local_power_manager_1_24/packages" \
            XDCOPTIONS=v XDCARGS="DEVICES=\"OMAP3530\" PROGRAMS=\"APP_CLIENT DSP_SERVER APP_LOCAL\" GPPOS=\"LINUX_GCC\" CGTOOLS_V5T=/home/newton/toolchain/arm-2008q1 CC_V5T=bin/arm-none-linux-gnueabi-gcc CGTOOLS_C64P=/home/newton/dvsdk_3_00_02_44/cg6_0 CGTOOLS_C674=/db/toolsrc/library/tools/vendors/ti/c6x/6.1.5/Linux CGTOOLS_UCARM9=/db/toolsrc/library/tools/vendors/opensource/buildroot/10122007/build_arm/staging_dir/usr WINCE_ROOTDIR=C:/WINCE600 WINCE_PROJECTROOT=C:/WINCE600/_your_ProjectRoot_/Wince600/TI_EVM_3530_ARMV4I CGTOOLS_LINUX86=/usr" all -PD .

    It should also include several other paths (e.g. BIOS, DSP Link, etc) but doesn't.  If you had an errant CE_INSTALL_DIR, it should also warn you, but I don't see that either.

    Have you edited xdcpaths.mak more than just setting a few variables at the top of it?  Or are you setting XDCPATH some other way that perhaps overrides the XDCPATH set by xdcpaths.mak?

    Chris