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.

Example Video Codec Build Error

Other Parts Discussed in Thread: DM3730

Hi,


Based on document SPRUED6C - Codec Engine Algorithm Creator UG, I am trying to build the example viddec_copy codec for DM6446 (DSP only). When I issues "xdc" command to build the package, I get the following error

$ xdc
making package.mak (because of package.bld) ...
config.bld: Running the version from Codec Engine Examples.
js: "C:/Xctc/Software_Packages/codec-engine_2_26_02_11/examples/ti/sdo/ce/exampl
es/buildutils/Platforms.xs", line 75: TypeError: Cannot call method "match" of u
ndefined
    "C:/Xctc/Software_Packages/codec-engine_2_26_02_11/examples/config.bld", lin
e 138
all files complete.

Can somebody help in parsing this error?

Thanks.

  • Hi jdt3672,

    Do the codec packages and server packages you are building all originate from the same version of CE? I see someone got a similar error message in this thread: http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/112/p/11621/45340.aspx

    Best regards,

    Vincent

  • My xdcpaths.mak file looks like

    CE_INSTALL_DIR        := c:/Xctc/Software_Packages/codec-engine_2_26_02_11
    XDC_INSTALL_DIR       := C:/Xctc/Software_Packages/xdctools_3_16_03_36
    BIOS_INSTALL_DIR      := C:/Xctc/Software_Packages/dspbios_5_41_03_17
    DSPLINK_INSTALL_DIR   := C:/Xctc/Software_Packages/dsplink_1_65_01_05_eng

    # no need to specify the installation directories below if your CE installation
    # has cetools/ directory on top
    #
    # Note, CMEM_INSTALL_DIR is a misnomer - it should be LINUXUTILS_INSTALL_DIR
    # but we've got an existing user base.  Need to fix this later.
    USE_CETOOLS_IF_EXISTS := 1
    XDAIS_INSTALL_DIR     := C:/Xctc/Software_Packages/xdais_6_26_01_03
    FC_INSTALL_DIR        := C:/Xctc/Software_Packages/framework-components_2_26_00_01
    CMEM_INSTALL_DIR      := C:/Xctc/Software_Packages/linuxutils_2_26_02_05
    #WINCEUTILS_INSTALL_DIR:= _your_WINCEUTILS_installation_directory/winceutils_1_01_00_01
    BIOSUTILS_INSTALL_DIR := C:/Xctc/Software_Packages/biosutils_1_02_02
    EDMA3_LLD_INSTALL_DIR := C:/Xctc/Software_Packages/edma3lld_01_11_02_05
    LPM_INSTALL_DIR       := C:/Xctc/Software_Packages/local-power-manager_1_24_03_10_eng


    I believe all these packages are part of DVSDK 4.3.0.6 .

    Eventually I want to write a simple but arbitrary DSP algorithm to utilize that core on DM3730 processor. Any help is appreciated.

    Thanks

  • Hi jdt3672,

    According to the instructions in build_instructions.html, you should be able to rebuild viddec_copy from the ti/sdo/ce/examples/codecs/viddec_copy directory by running 'gmake clean' then 'gmake'. Were you successful in doing that? Could you attach your xdcpaths.mak file if you are still having trouble?

    Best regards,

    Vincent

  • This may not be totally useful but I think you'd find it much easier if you built the codec on Linux rather than Windows.