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.

컴파일러 / TDA2 : TIDL modules compile error / TDA2

Part Number: TDA2
Other Parts Discussed in Thread: MATHLIB,

Tool/software: TI C/C++ Compiler

Hello All

I installed the development environment such as Vsion SDK(3.3.0.0), CCS(v8), XDC Tools(4_9-2015q3) by reference to the Vision SDK_UserGuide_TDA2xx.pdf.

Then I tried building application by commend (gmake -s -j depend and gmake -s -j ) and successful compiled it.

but I can't see updated the latest .out file in the folder(c:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\algorithms\REL.TIDL.01.01.00.00\modules\ti_dl\test\out\)

Here is my question

1. How can I build the source(ti_dl\test) ? while using gmake -s -j

2. I tried installation to do building the folder by reference to the TIDeepLearningLibrary_UserGuide.pdf

    But these packages needed in the document  were already installed as below according to config.mk (c:\PROCESSOR_SDK_VISION_03_03_00_00\ti_components\algorithms\REL.TIDL.01.01.00.00\makerules\)

    It turn out that these packages does not need to be installed and set environment variables.

DSP_TOOLS ?="c:\ti\ti-cgt-c6000_8.2.3"
ARP32_TOOLS ?="/datalocal1/ti_components/cg_tools/windows/C6000_7.4.2"
TIARM_TOOLS ?="/datalocal1/ti_components/cg_tools/linux/ti-cgt-arm_5.2.5"
XDAIS_PATH ?="/datalocal1/ti_components/codecs/xdais_7_24_00_04"
UTILS_PATH ?="C:\ti\ccsv5\utils\cygwin"
VXLIB_PATH ?="/datalocal1/ti_components/algorithms/vxlib_c66x_1_1_1_0"
DMAUTILS_PATH ?=/datalocal1/ti_components/algorithms/REL.DMAUTILS.00.08.00.02/dmautils
ALGFRAMEWORK_PATH ?=a0393754@bangvideoapps01:/datalocal1/ti_components/algorithms/REL.ALGFRAMEWORK.02.08.00.00/algframework
MATHLIB_INSTALL_DIR ?="/datalocal1/ti_components/algorithms/mathlib_c66x_3_1_0_0"

    Should I install these packages again?

 3. When I build with command " gmake CORE=DSP" or "CORE-EVE " in path(PROCESSOR_SDK_VISION_03_03_00_00\ti_components\algorithms\REL.TIDL.01.01.00.00\modules\ti_dl\test\), there was a error message "The specified path can not be found.

     I tried it after #1 and tried it  after installation of new package.

My development environment is as below

   PC : Intel i7-6500 CPU 2.5GHz, windows7 64bit, RAM 16GB

   Target : TDA2X, sys-bios

Thank you in advance

  • Hi Khethan,

    Please follow section 3.3 Building Sample Test Application in the TIDeepLearningLibrary_UserGuide.pdf document.

    Regarding your questions
    1. Don't use -j option, please use gmake CORE=dsp or gmake CORE=eve as shown in build steps

    2. Yes, you need to install and set all the tools paths with exact versions shown in the document.. also copied them here for your reference..
    DSP_TOOLS ?="C:\ti\ccsv5\tools\compiler\c6000_7.4.2"
    ARP32_TOOLS ?="C:\ti\ccsv5\tools\compiler\arp32_1.0.7"
    TIARM_TOOLS ?="C:\ti\ccsv5\tools\compiler\arm_5.0.4"
    XDAIS_PATH ?="C:\ti\xdais_7_22_00_03"
    DMAUTILS_PATH ?="C:\ti\dmautils_08_00_02\REL.DMAUTILS.00.08.00.02\dmautils"

    3. Use build commands shown in senction 3.3.5 of the TIDeepLearningLibrary_UserGuide.pdf .

    Thanks,
    Praveen

  • Hi Praveen,

    I succeeded in creating the file(eve_test_dl_algo.out) by referring to the document.

    By the way,

    The TDA2 EVM is not available and I have not tried the next step, and I am trying to host emulation function by referring to chapter 3.5.

    I downloaded vision SDK source release version(3.01) for host emulation and installed VS 2017

    When executing the command(gmake CORE=eve TARGET_BUILD=debug TARGET_PLATFORM=PC) in Chapter 3.5.2, an error occurred as follows.

    What seems to be the problem?

    c:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\algorithms\REL.TIDL.00.08.00.0
    0\modules\ti_dl\test>gmake CORE=eve
    "C:/ti/ccsv8/utils/cygwin/"\mkdir -p "./out" || cd "./out"
    if exist .\out\eve_test_dl_algo.out.exe del .\out\eve_test_dl_algo.out.exe
    LINK /NODEFAULTLIB:msvcrtd.lib "C:/PROCESSOR_SDK_VISION_03_01_00_00/ti_component
    s/algorithms/REL.DMAUTILS.00.08.00.02/dmautils/libs/PC/eve/debug/dmautils.lib ""
    ../../ti_dl"/lib/PC/eve/debug/tidl_algo.lib" /DEBUG /nologo /MACHINE:X86 /OUT
    :.\out\eve_test_dl_algo.out.exe c:\PROCESSOR_SDK_VISION_03_01_00_00\ti_componen
    ts\algorithms\REL.TIDL.00.08.00.00\out\PC\eve\debug\modules\ti_dl\test\.\src\rep
    ort_utils.obj c:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\algorithms\REL.T
    IDL.00.08.00.00\out\PC\eve\debug\modules\ti_dl\test\.\src\tidl_config.obj c:\PRO
    CESSOR_SDK_VISION_03_01_00_00\ti_components\algorithms\REL.TIDL.00.08.00.00\out\
    PC\eve\debug\modules\ti_dl\test\.\src\tidl_image_preproc.obj c:\PROCESSOR_SDK_VI
    SION_03_01_00_00\ti_components\algorithms\REL.TIDL.00.08.00.00\out\PC\eve\debug\
    modules\ti_dl\test\.\src\tidl_tb.obj c:\PROCESSOR_SDK_VISION_03_01_00_00\ti_comp
    onents\algorithms\REL.TIDL.00.08.00.00\out\PC\eve\debug\modules\ti_dl\test\..\..
    \..\common\configparser.obj c:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\al
    gorithms\REL.TIDL.00.08.00.00\out\PC\eve\debug\modules\ti_dl\test\..\..\..\commo
    n\ti_draw_utils.obj c:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\algorithms
    \REL.TIDL.00.08.00.00\out\PC\eve\debug\modules\ti_dl\test\..\..\..\common\ti_mem
    _manager.obj c:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\algorithms\REL.TI
    DL.00.08.00.00\out\PC\eve\debug\modules\ti_dl\test\..\..\..\common\eve\eve_profi
    le.obj c:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\algorithms\REL.TIDL.00.
    08.00.00\out\PC\eve\debug\modules\ti_dl\test\..\..\..\common\eve\curve_fitting.o
    bj c:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\algorithms\REL.TIDL.00.08.0
    0.00\out\PC\eve\debug\modules\ti_dl\test\..\..\..\common\eve\ti_stats_collector.
    obj c:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\algorithms\REL.TIDL.00.08.
    00.00\out\PC\eve\debug\modules\ti_dl\test\..\..\..\common\eve\cred.obj
    Microsoft (R) Incremental Linker Version 14.14.26431.0
    Copyright (C) Microsoft Corporation. All rights reserved.

    LINK : fatal error LNK1181: '.obj' 입력 파일을 열 수 없습니다.
    gmake: *** [outfile] Error 1181

    Thanks,

    khethan

  • Hi Khethan,

    It looks like you using older version of Vision SDK and TIDL releases.

    Can you please use latest release of VSDK 3.3 and TIDL 01.01 releases.

    Thanks,
    Praveen