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/TDA3XEVM: gmake error

Part Number: TDA3XEVM

Tool/software: TI C/C++ Compiler

when I gmake the test app there is error happened !

C:/Users/shibe/AppData/Local/Temp/make35240-1.sh: line 1: C:PROCESSOR_SDK_VISION_03_02_00_00ti_componentsalgorithmseve_sw_01_18_00_00outvayuevereleaseappsimagePyramid_u8algo\.gitignore: Bad address
g

  • Hi Shi,

    Can you verify which make is used here.
    you need to point to xdc make .
    Refer sdk userguide for more details to set the path of make .

    Regards
    Chetan.M
  • ok,

    I go to the dir C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\algorithms\eve_sw_01_18_00_00\apps\imagePyramid_u8
    and create a mk file for env various define the EVE_SW_PATH and UTILS_PATH like this

    ifndef EVE_SW_ROOT
    EVE_SW_ROOT ?= C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/eve_sw_01_18_00_00
    export EVE_SW_ROOT
    endif

    ifndef UTILS_PATH
    UTILS_PATH ?= C:/ti_ccs7_4/ccsv7/utils/cygwin
    export UTILS_PATH
    endif


    Then I gmake

    There is a error info:
    "C:/Users/shibe/AppData/Local/Temp/make35240-1.sh: line 1: C:PROCESSOR_SDK_VISION_03_02_00_00ti_componentsalgorithmseve_sw_01_18_00_00outvayuevereleaseappsimagePyramid_u8algo\.gitignore: Bad address"


    Thank you!
  • Hi,

       Please use backward slashes the paths. 

    Regards,
    Anshu

  • All paths in makefile is backward slashes !!!
    This dir of "C:PROCESSOR_SDK_VISION_03_02_00_00ti_componentsalgorithmseve_sw_01_18_00_00outvayuevereleaseappsimagePyramid_u8algo" been make by makefile! It is used for output by you make based compiler system!!
  • In your previous response you mentioned that you set the paths as following :
    ifndef EVE_SW_ROOT
    EVE_SW_ROOT ?= C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/eve_sw_01_18_00_00
    export EVE_SW_ROOT
    endif

    ifndef UTILS_PATH
    UTILS_PATH ?= C:/ti_ccs7_4/ccsv7/utils/cygwin
    export UTILS_PATH
    endif

    Here you are using forward shash (/) and not backword slash (\)

    Regards,
    Anshu

  • Sorry! It is my fault!!

    The makefiles in your make based compiler system under EVE_SW used shash(/) for example in the file C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\algorithms\eve_sw_01_18_00_00\apps\imagePyramid_u8\test\makefile
    ALGINCPATH= $(EVEALGORITHMS)/imagePyramid_u8/algo/inc
    ALGLIBPATH= $(EVEALGORITHMS)/imagePyramid_u8/algo/lib/$(TARGET_BUILD)

    Do I need to changed it all?
    My version is"PROCESSOR_SDK_VISION_03_02_00_00"!
    Is it a bug in this version?

    Thank you
    Waiting for you !
  • The slashes within our internal makefiles are OK. Our build system changes them to appropriate style based on Linux or Windows OS. But the external variable like EVE_SW_ROOT and UTILS_PATH are used as provided by user. Can you try changing these variables to use appropriate slashes and see if the build is working.

    Regards,
    Anshu
  • Yes I try it,

    ifndef EVE_SW_ROOT
    EVE_SW_ROOT ?= C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\algorithms\eve_sw_01_18_00_00
    export EVE_SW_ROOT
    endif

    ifndef UTILS_PATH
    UTILS_PATH ?= C:\ti_ccs7_4\ccsv7\utils\cygwin
    export UTILS_PATH
    endif

    I Change my config file, But it is still wrong! Showing the same information

    *
    C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\algorithms\eve_sw_01_18_00_00\apps\imagePyramid_u8>gmake
    .
    ======== Image Pyramid ALGO =================
    gmake -C ./algo -f makefile
    gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/eve_sw_01_18_00_00/apps/imagePyramid_u8/algo'
    C:/Users/shibe/AppData/Local/Temp/make18316-1.sh: line 1: C:PROCESSOR_SDK_VISION_03_02_00_00ti_componentsalgorithmseve_sw_01_18_00_00outvayuevereleaseappsimagePyramid_u8algo\.gitignore: Bad address
    gmake[1]: *** [C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\algorithms\eve_sw_01_18_00_00\out\vayu\eve\release\apps\imagePyramid_u8\algo\\.gitignore] Error 1
    gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/eve_sw_01_18_00_00/apps/imagePyramid_u8/algo'
    gmake: *** [all] Error 2

    *

    Maybe It is not the result!

    Thank You!
  • Can you try forcing these variables value as following :

    EVE_SW_ROOT := C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\algorithms\eve_sw_01_18_00_00
    export EVE_SW_ROOT

    UTILS_PATH := C:\ti_ccs7_4\ccsv7\utils\cygwin
    export UTILS_PATH

    Regards,
    Anshu
  • I do it

    It is the same wrong!

    "
    C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\algorithms\eve_sw_01_18_00_00\apps\imagePyramid_u8>gmake
    .
    ======== Image Pyramid ALGO =================
    gmake -C ./algo -f makefile
    gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/eve_sw_01_18_00_00/apps/imagePyramid_u8/algo'
    C:/Users/shibe/AppData/Local/Temp/make14276-1.sh: line 1: C:PROCESSOR_SDK_VISION_03_02_00_00ti_componentsalgorithmseve_sw_01_18_00_00outvayuevereleaseappsimagePyramid_u8algo\.gitignore: Bad address
    gmake[1]: *** [C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\algorithms\eve_sw_01_18_00_00\out\vayu\eve\release\apps\imagePyramid_u8\algo\\.gitignore] Error 1

    gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/algorithms/eve_sw_01_18_00_00/apps/imagePyramid_u8/algo'
    gmake: *** [all] Error 2

    C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\algorithms\eve_sw_01_18_00_00\apps\imagePyramid_u8>
    "

    Is it some trouble about GIT??


    Thank you!

  • Is it some trouble about git???
  • Can you confirm if you are building the code from windows command prompt?

    Regards,
    Anshu
  • hello ,

    Can you find out if the path is taken effect ,
    which make should point to xdc make ,
    It might be pointing to some other custom make of other installed dir ,

    try with
    set PATH = <Install_dir>/ti_components/os_tools/windows/xdctools_x_xx_xx_xx;%PATH%
    and build in the same shell

    Regards
    Chetan.M