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.

PROCESSOR-SDK-J721E: Build TIDL-RT error

Part Number: PROCESSOR-SDK-J721E

Hi, 

   I see there is an error when I tried to build TIDL-RT.

RTOS SDK: 08.02.00.05

gary@denny-OptiPlex-960:~/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11$ make tidl TARGET_PLATFORM=PC
.
======== MAKING CUSTOM LIB =================
make -C ./ti_dl/custom -f makefile
make[1]: Entering directory '/home/gary/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/ti_dl/custom'
compiling tidl_custom.c
In file included from tidl_custom.c:76:0:
../inc/itidl_ti.h:89:21: fatal error: ivision.h: No such file or directory
compilation terminated.
/home/gary/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/makerules/rules.mk:478: recipe for target '/home/gary/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/out/PC/dsp/algo/release/ti_dl/custom/tidl_custom.obj' failed
make[1]: *** [/home/gary/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/out/PC/dsp/algo/release/ti_dl/custom/tidl_custom.obj] Error 1
make[1]: Leaving directory '/home/gary/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11/ti_dl/custom'
makefile:330: recipe for target 'custom' failed
make: *** [custom] Error 2
gary@denny-OptiPlex-960:~/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/tidl_j721e_08_02_00_11$

  • I have set related environment varabiles in tidl_j721e_08_02_00_11/makerules/
    config.mk as below shown.

    PSDK_INSTALL_PATH ?= /home/gary/ti-processor-sdk-rtos-j721e-evm-08_02_00_05
    else
    PSDK_INSTALL_PATH ?= /ti/j7presi/workarea/
    endif
    
    ifdef SystemRoot
    BIOS_PATH           ?="$(PSDK_INSTALL_PATH)\bios_6_83_02_07"
    XDCTOOLS_PATH       ?="$(PSDK_INSTALL_PATH)\xdctools_3_61_04_40_core"
    IVISION_PATH        ?="$(PSDK_INSTALL_PATH)\ivision"
    UTILS_PATH          ?="$(PSDK_INSTALL_PATH)\ccs910\ccs\utils\cygwin"
    TIDL_PROTOBUF_PATH  ?="$(PSDK_INSTALL_PATH)\protobuf-3.11.3"
    TIDL_OPENCV_PATH    ?=$(PSDK_INSTALL_PATH)\opencv-4.1.0\opencv\sources
    DSP_TOOLS           ?=$(PSDK_INSTALL_PATH)\ti-cgt-c7000_2.1.1.LTS
    TIDL_FLATBUF_PATH   ?=$(PSDK_INSTALL_PATH)\flatbuffers-1.12.0
    MMALIB_PATH         ?=$(PSDK_INSTALL_PATH)\mmalib_02_03_00_04
    PDK_INSTALL_PATH    ?=$(PSDK_INSTALL_PATH)\pdk_jacinto_08_02_00_21\packages
    CONCERTO_ROOT       ?=$(PSDK_INSTALL_PATH)\vision_apps\concerto
    TIOVX_PATH          ?=$(PSDK_INSTALL_PATH)\tiovx
    VISION_APPS_PATH    ?=$(PSDK_INSTALL_PATH)\vision_apps
    GCC_LINUX_ARM_ROOT  ?=$(PSDK_INSTALL_PATH)\gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu
    TIDL_GRAPHVIZ_PATH  ?="$(PSDK_INSTALL_PATH)\graphviz-2.38_x64"
    

    Below software compoments are installed before build

    Software component

    Version

    Google Protobuf

    3.11.3

    Google FlatBuffers

    1.12.0

    Open CV

    4.1.0

  • Looks like you are not setting the right path for Linux system, Are you using Windows or Ubuntu 18.04 for Building? If it is Linux, can you set it below and try

    ifdef SystemRoot
    PSDK_INSTALL_PATH ?= /home/gary/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/
    else
    PSDK_INSTALL_PATH ?= /home/gary/ti-processor-sdk-rtos-j721e-evm-08_00_00_12/
    endif