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.

PACKAGE_NOT_FOUND

I changed  viddec_copy in ce example, and compiled successfully in the ce. But when I moved it to cs1omap3530_1_00_01 and compiled, it throwed the following error.

======= .executables [packages/ti/sdo/server/cs] ========
#
# configuring bin/cs.x64P from package/cfg/bin/cs_x64P.cfg ...
/usr/local/dvsdk_3_00_00_40/xdctools_3_15_01_59/xs -Dxdc.path="/usr/local/dvsdk_3_00_00_40/cs1omap3530_1_00_01;/usr/local/dvsdk_3_00_00_40/cs1omap3530_1_00_01/packages;/usr/local/dvsdk_3_00_00_40/xdais_6_24/packages;/usr/local/dvsdk_3_00_00_40/framework_components_2_24/packages;/usr/local/dvsdk_3_00_00_40/framework_components_2_24/fctools/packages;/usr/local/dvsdk_3_00_00_40/bios_5_33_05/packages;/usr/local/dvsdk_3_00_00_40/biosutils_1_01_00/packages;/usr/local/dvsdk_3_00_00_40/linuxutils_2_24_02/packages;/usr/local/dvsdk_3_00_00_40/dsplink_1_61_03/packages;/usr/local/dvsdk_3_00_00_40/dsplink_1_61_03;/usr/local/dvsdk_3_00_00_40/codec_engine_2_24/packages;/usr/local/dvsdk_3_00_00_40/codec_engine_2_24/cetools/packages;/usr/local/dvsdk_3_00_00_40/xdctools_3_15_01_59/packages;../../../.." -Dxdc.root=/usr/local/dvsdk_3_00_00_40/xdctools_3_15_01_59 -Dxdc.hostOS=Linux -Dconfig.importPath=".;/usr/local/dvsdk_3_00_00_40/cs1omap3530_1_00_01;/usr/local/dvsdk_3_00_00_40/cs1omap3530_1_00_01/packages;/usr/local/dvsdk_3_00_00_40/xdais_6_24/packages;/usr/local/dvsdk_3_00_00_40/framework_components_2_24/packages;/usr/local/dvsdk_3_00_00_40/framework_components_2_24/fctools/packages;/usr/local/dvsdk_3_00_00_40/bios_5_33_05/packages;/usr/local/dvsdk_3_00_00_40/biosutils_1_01_00/packages;/usr/local/dvsdk_3_00_00_40/linuxutils_2_24_02/packages;/usr/local/dvsdk_3_00_00_40/dsplink_1_61_03/packages;/usr/local/dvsdk_3_00_00_40/dsplink_1_61_03;/usr/local/dvsdk_3_00_00_40/codec_engine_2_24/packages;/usr/local/dvsdk_3_00_00_40/codec_engine_2_24/cetools/packages;/usr/local/dvsdk_3_00_00_40/xdctools_3_15_01_59/packages;../../../..;/usr/local/dvsdk_3_00_00_40/xdctools_3_15_01_59;/usr/local/dvsdk_3_00_00_40/xdctools_3_15_01_59/etc ;/usr/local/dvsdk_3_00_00_40/bios_5_33_05/packages/ti/bios/include" -Dxdc.bld.targets="" -DTOOLS=  -Dxdc.cfg.check.fatal=false xdc.cfg bin/cs.x64P package/cfg/bin/cs_x64P.cfg package/cfg/bin/cs_x64P
platform   = ti.platforms.evm3530
js: "./codec.cfg", line 14: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sdo.codecs.viddec_copy.ce' along the path: '/usr/local/dvsdk_3_00_00_40/cs1omap3530_1_00_01;/usr/local/dvsdk_3_00_00_40/cs1omap3530_1_00_01/packages;/usr/local/dvsdk_3_00_00_40/xdais_6_24/packages;/usr/local/dvsdk_3_00_00_40/framework_components_2_24/packages;/usr/local/dvsdk_3_00_00_40/framework_components_2_24/fctools/packages;/usr/local/dvsdk_3_00_00_40/bios_5_33_05/packages;/usr/local/dvsdk_3_00_00_40/biosutils_1_01_00/packages;/usr/local/dvsdk_3_00_00_40/linuxutils_2_24_02/packages;/usr/local/dvsdk_3_00_00_40/dsplink_1_61_03/packages;/usr/local/dvsdk_3_00_00_40/dsplink_1_61_03;/usr/local/dvsdk_3_00_00_40/codec_engine_2_24/packages;/usr/local/dvsdk_3_00_00_40/codec_engine_2_24/cetools/packages;/usr/local/dvsdk_3_00_00_40/xdctools_3_15_01_59/packages;../../../..;'. Ensure that the package path is set correctly.
    "./server.cfg", line 65
    "./package/cfg/bin/cs_x64P.cfg", line 768
    "./package/cfg/bin/cs_x64P.cfg", line 727
gmake[1]: *** [package/cfg/bin/cs_x64P.xdl] Error 1
gmake[1]: *** [package/cfg/bin/cs_x64P.xdl] Deleting file `package/cfg/bin/cs_x64Pcfg.cmd'
gmake[1]: *** [package/cfg/bin/cs_x64P.xdl] Deleting file `package/cfg/bin/cs_x64Pcfg_c.c'
gmake[1]: *** [package/cfg/bin/cs_x64P.xdl] Deleting file `package/cfg/bin/cs_x64Pcfg.s62'
gmake: *** [packages/ti/sdo/server/cs,.executables] Error 2
make: *** [.all-packages] Error 2

I integrated it following http://wiki.omap.com/index.phb/How_do_I_integrate_new_codecs_into_DVSDK

what is wrong ?

I have succesfully integrated mp3dec into cs server.

 

  • Can you get a directory tree of the new location? It will be expecting the full path to include "ti/sdo/codecs/viddec_copy/ce" from the looks of it.

  • No. It is included in 'ti/sdo/codecs/viddec_copy', It only has package.bld, package.xdc, package.xs,  viddec_copy.c , VIDDEC_COPY.xdc,  VIDDEC_COPY.xs,  viddec_copy_ti.h and viddec_copy_ti_priv.h

    When I move them to 'ti/sdo/codecs/viddec_copy/ce', it throws that error. 

    js: "./codec.cfg", line 14: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: /usr/local/dvsdk_3_00_00_40/cs1omap3530_1_00_01/packages/ti/sdo/codecs/viddec_copy/ce/package.xdc found along the package path, but no schema file was found.  Ensure that the package 'ti.sdo.codecs.viddec_copy.ce' is completely built.
        "./server.cfg", line 65
        "./package/cfg/bin/cs_x64P.cfg", line 768
        "./package/cfg/bin/cs_x64P.cfg", line 727
    gmake[1]: *** [package/cfg/bin/cs_x64P.xdl] Error 1
    gmake[1] : *** [package/cfg/bin/cs_x64P.xdl] Deleting file `package/cfg/bin/cs_x64Pcfg.cmd'
    gmake[1]: *** [package/cfg/bin/cs_x64P.xdl] Deleting file `package/cfg/bin/cs_x64Pcfg_c.c'
    gmake[1]: *** [package/cfg/bin/cs_x64P.xdl] Deleting file `package/cfg/bin/cs_x64Pcfg.s62'
    gmake: *** [packages/ti/sdo/server/cs,.executables] Error 2
    make: *** [.all-packages] Error 2
      

    how to fix it ? thanks

  • It looks to me as if you are missing some of the directory structure.

    My codec's ce directory includes a sub-directory called "package", package.bld, package.mak, package.xdc, VQM_RESULTS.xdc, and VQM_RESULTS.xs. (VQM_RESULTS is the name of my codec). The directory called "package" has several more directories and files, including a schema file "a file that ends in ".sch". My make builds the whole "package" sub-directory and package.mak.

    I have three directories under my build area: one for the codec (the one we are talking about), one for the server package, and one for the app package. The server build depends on the codec build. The app build depends on the server build. To make the "make" utility build them in the correct order, I renamed the directories so that, when make tried to build them in alphabetical order, it would build them in code, server, app order.

    I don't know if that is related to your problem, but one way to test it is to move the server and app parts to a holding place while you make the codec. If that works, add in the server directory and build again. If that works, add in the app directory and build again. (If the directories are not in alphabetical order, you would have to do this each time, or change the make. That is why I renamed the directories.)

    I hope this helps. Good luck.

  • If you don't have the "package" subdirectory then the package has not been built (or somehow you accidentally cleaned it, etc.).

  • first, thanks for your reply.

    I have sucessfully complied Codec viddec_copy in the example of ce directory, and copy it /directory viddec_copy to codec dirctory of cs1omap3530. I found the file  whose extension is sch.

    when I type command make .,then it throws that error

    no property named 'ialg'

    how to migrate examle codec of ce example dirctory to cs1omap3530 ??

    and how to set XDCPATH  in RTSC Codec Package Wizard ?

    I set xcdpath is ce/linuxtuils/xdais/fc/bios/biosutils/dsplink packages, it still says  PACKAGE_NOT_FOUND.

    export XDCPATH=/usr/local/dvsdk_3_00_00_40/codec_engine_2_24/packages:/usr/local/dvsdk_3_00_00_40/xdais_6_24

    :/usr/local/dvsdk_3_00_00_40/ceutils_1.06/packages:/usr/local/dvsdk_3_00_00_40/linuxutils_2_24_02/packages

    :/usr/local/dvsdk_3_00_00_40/framework_components_2_24/packages

    :/usr/local/dvsdk_3_00_00_40/biosutils_1_01_00/packages

    :/usr/local/dvsdk_3_00_00_40/bios_5_33_05/packages

    :/usr/local/dvsdk_3_00_00_40/dsplink_1_61_03/packages

    :/usr/local/dvsdk_3_00_00_40/local_power_manager_1_24/packages

    :/usr/local/dvsdk_3_00_00_40/ceutils_1.06/packages

    :/usr/local/dvsdk_3_00_00_40/codec_engine_2_24/examples

    :/usr/local/dvsdk_3_00_00_40/ceutils_1.06/packages

    do I miss some ?

  • After I use  command xs ti.sdo.ce.wizards.genserver, I copy these from codec.cfg which is generated by genserver to the one of cs1omap3530.

            VIDDEC_COPY.manageInBufsCache = [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true];
            VIDDEC_COPY.manageOutBufsCache = [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true];
            VIDDEC_COPY.manageDisplayBufsCache = [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true];

    then, it can be complied successfully.

    I am confuesed about RTSC Server Package Wizard and Codec Engine Genserver Wizard.

    And I try to use RTSC Server Package Wizard and RTSC Codec Package Wizard, but It says ti.sdo.codecutils.genpackage not found.

    Who can tells me how to set XDCPATH. I appreciate you ,if you can supply a script on the base of DVSDK 3.00.00.40.

    Thanks all.

  • Seems like this question has been hanging out there for a while, but you've made some progress! I have a file called xdcpaths.mak. That might be what you are looking for. I think mine is from codec_engine..../examples. Hope that helps.