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.

RTOS: Create Algoritham link and validate whether it has created or not

Tool/software: TI-RTOS

Hello,

I am creating algorithm link as convertToGray (taking reference of Alg_ColorToGray link ).

But name of alg link is not able to see after executing "./vsdk_linux.out"

I have completed steps what mentioned in /vision_sdk/docs/FeatureSpecificUserGuides/VisionSDK_DevelopmentGuide.pdf

Want to know,

1. what steps to do to add link.

2. How to know weather link has created or not successfully.

3. What additional things need to do to create algorithm link.

Platform details,

TDA2xx , sys bios, PROCESSOR_SDK_VISION_03_00_00_00 sdk.

Regards,

Kajal Karande

  • Hi Kajal,

    I have forwarded your question to a VisionSDK expert.

    Regards,
    Yordan
  • I am creating this algorithm link for IPU.

    Regads,

    Kajal

  • Kajal,

    For adding support for new alg plugin in use-case gen tool refer to section 4.2 Adding support for new Algorithm Plugin in the tool in vision_sdk\docs\FeatureSpecificUserGuides\VisionSDK_UserGuide_UsecaseGen.pdf

    Let us know if any issues
  • Hello Prasad,

    Thanks!!
    Steps mentioned in vision_sdk\docs\FeatureSpecificUserGuides\VisionSDK_UserGuide_UsecaseGen.pdf were missing from my side.
    This is done.

    But how files at vision_sdk/apps/tools/vision_sdk_usecase_gen/ get build??

    Because it does not show name of alg link in supported links list . ( By executing ./vsdk_linux.out )
    I have build with "gmake -s -j depend " and "gmake -s -j " commands.

    Please correct me if I am wrong.

    Regards,
    Kajal Karande
  • Kajal,

    You need to build use-case gen tools separately. Use command "make all" in the tool directory.
  • Hello Prasad,

    with " make all " I am able to build algorithm link, it shows in list of supported links.

    I have written use case using this link as,

    Capture -> Alg_ConvertToGray -> Display

    This link has created for IPU.

    gmake -s -j command through below error on console,


    # /home/kajalk/TDA/sdk_installed/vision_sdk/binaries/apps/tda2xx_evm_bios_all/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_2_release.xe66 created.
    #
    #
    # /home/kajalk/TDA/sdk_installed/vision_sdk/binaries/apps/tda2xx_evm_bios_all/vision_sdk/bin/tda2xx-evm/vision_sdk_c66xdsp_1_release.xe66 created.
    #

    undefined first referenced
    symbol in file
    --------- ----------------
    AlgorithmLink_ConvertToGray_initPlugin /home/kajalk/TDA/sdk_installed/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/vision_sdk/tda2xx-evm/ipu1_1/release/app_init_ipu1_1.oem4

    error: unresolved symbols remain
    error: errors encountered during linking;
    "/home/kajalk/TDA/sdk_installed/vision_sdk/binaries/apps/tda2xx_evm_bios_all
    /vision_sdk/bin/tda2xx-evm/vision_sdk_ipu1_1_release.xem4" not built
    make[7]: *** [/home/kajalk/TDA/sdk_installed/vision_sdk/binaries/apps/tda2xx_evm_bios_all/vision_sdk/bin/tda2xx-evm/vision_sdk_ipu1_1_release.xem4] Error 1
    make[6]: *** [ipu1_1] Error 2
    make[5]: *** [apps_ipu1_1] Error 2
    make[4]: *** [apps] Error 2
    make[3]: *** [apps] Error 2
    make[2]: *** [apps_exe] Error 2
    make[1]: *** [apps] Error 2
    gmake: *** [vision_sdk] Error 2

    Can you help me in this case.

    Regards,

    Kajal Karande.
  • Kajal,

    This is problem we are debugging in other e2e thread. Somehow your plugin is not getting built.

    I had suggested you few changes. We can continue debug there.