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.

Compiler: IMLIB Dsp VISION_SDK 2.10



Tool/software: TI C/C++ Compiler

Hi,

I am using VISION SDK 2.10 on LINUX. I am working on TDA 2x. I want to use IMGLIB on VISION_SDK 2.10. By using IMGLIB, I want to access functions of IMGLIB in my algplugin (working on DSP C66x).

When I installed VISION_SDK 2.10, I checked VISION_SDK_02_10_00_00/ti_components/algorithms_codecs folder, in this folder, I was able to locate VLIB libraries but there was no IMGLIB folder.

So, I installed IMGLIB imglib_c66x_3_2_0_1 inside the folder VISION_SDK_02_10_00_00/ti_components/algorithms_codecs (same location as above).

After this, I made a change in rules.make file (present in  /VISION_SDK_6_1/VISION_SDK_6_1/vision_sdk) -

line no. 233-   imglib_PATH     ?=     $(TI_SW_ROOT)/algorithms_codecs/imglib_c66x_3_2_0_1

line no. 272 - _OPT_PATHS := ndk nsp avbtp hdvicplib jpegvdec jpegvenc vlib imglib

line no. 898 - export imglib_PATH

I also made following changes in rule_66.mk (present in /vision_sdk/build/makerules) -


line no. 226 - LIB_PATHS += $(imglib_PATH)/packages/ti/imglib/lib/imglib.ae66
line no. 227 - LIB_PATHS += $(imglib_PATH)/packages/ti/imglib/lib/imglib_cn.ae66
line no. 228 - LIB_PATHS += $(imglib_PATH)/packages/ti/imglib/lib/common.lib

I also made following changes in env.mk (present in /vision_sdk/build/makerules) -

line no. 162 - imglib_INCLUDE = $(imglib_PATH)/packages
line no. 162 - export imglib_INCLUDE


After making these changes, I added the function to be used (IMG_sobel) my alg_plugin. I have also included header file #include<ti/imglib/imglib> . But I am getting following error -

fatal error: could not open source file "ti/imglib/imglib"

Please help me , I am not able to the reason of error.


Regards,

Neel

  • Hi Neel,

    I have pinged Vision SDK team for help. They will respond here directly.

    Thanks,
    Alex
  • Hi Neel,

    Is it a typo in your code as "#include <ti/imglib/imglib>", instead of ti/imglib/imglib.h?

    In the Makefile for your alg plug-in, did you add "imglib" to INCLUDE_EXTERNAL_INTERFACES?

    When you build again, try removing "-s" option to disable the silent mode in gmake build command.

    You can see from the build log if the img lib package path is correctly added to include path when compiling your alg-plugin source file.

    If not, make sure you add imglib include path to the right makefile. 

    Regards,
    Stanley

  • Hi Stanley,

    Thank you for your reply.
    I mistakenly typed above #include <ti/imglib/imglib> instead of ti/imglib/imglib.h
    I implement the things you mentioned and will reply you at earliest.

    Regards,
    Neel