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/TDA2PXEVM: Unable to compile SDK

Part Number: TDA2PXEVM

Tool/software: TI C/C++ Compiler

Hi, 

I have been developing on Vision and Radar SDKs, versions 3.04 and 3.05, for a few months. Recently I had to take a several week break from working on these SDKs, but on returning, I am finding that I can no longer compile any of the SDKs, they all give me the same error message: 

The only modifications to the PC have been windows updates. Why would I no longer be able to compile SDKs that compiled without any errors several weeks ago? 

Thanks,

Richard

  • Hi Richard,

    Can you clean using "rm -rf binaries" and then try the build?

    Regards,
    Rishabh

  • and also rm -rf links_fw\include\config.

    it seems you are giving recipe for the target, for which it is already defined. 

    Regards,

    Brijesh

  • Hi,

    I haven't heard back from you, I'm assuming you were able to resolve your issue.
    If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

    Regards,
    Rishabh
  • Hi Rishabh/Brijesh, 

    I have tried both "rm -rf binaries" and "rm -rf links_fw\include\config". However, the error persists. 

    What else could be the problem? 

    Thanks,

    Richard

  • Hi Richard,

    Can you run "which gmake" and check if gmake is pointing to XDC?

    Regards,
    Rishabh
  • Hi Rishabh,

    I have verified that gmake is pointing to XDC.

    Thanks,
    Richard
  • Hi Richard,

    What is the output of "gmake showconfig"?
    Are you using git bash or command prompt?

    Regards,
    Rishabh
  • Hi Rishabh, 

    Here is the output of "gmake showconfig": 

    8105.showconfig.txt
    gmake -C C:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/apps/configs -f build_makeconfig.mk showconf
    ig
    gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/apps/configs'
    #
    # Build Config is [ tda2px_evm_bios_all ]
    # Build Config file is @ C:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/configs/tda2px_evm_bios_all/
    cfg.mk
    # Build Config .h file is @ C:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/links_fw/include/config/a
    pps/tda2px_evm_bios_all/system_cfg.h
    # Build CPUs is @ ipu1_0 ipu1_1 a15_0 dsp1 dsp2 eve1 eve2
    #
    # CPUs included in application,
    # PROC_IPU1_0_INCLUDE=yes
    # PROC_IPU1_1_INCLUDE=yes
    # PROC_IPU2_INCLUDE=no
    # PROC_DSP1_INCLUDE=yes
    # PROC_DSP2_INCLUDE=yes
    # PROC_EVE1_INCLUDE=yes
    # PROC_EVE2_INCLUDE=yes
    # PROC_EVE3_INCLUDE=no
    # PROC_EVE4_INCLUDE=no
    # PROC_A15_0_INCLUDE=yes
    #
    # Platform config,
    # VSDK_BOARD_TYPE=TDA2PX_EVM [options: TDA2XX_EVM TDA2EX_EVM TDA3XX_EVM TDA3XX_RVP TDA2XX_RVP]
    # PLATFORM=tda2px-evm
    # DUAL_A15_SMP_BIOS=no
    # IPU1_SMP_BIOS=no
    # DDR_MEM=DDR_MEM_512M [options: DDR_MEM_128M DDR_MEM_512M DDR_MEM_1024M]
    # EMIFMODE=SINGLE_EMIF_512MB [options: SINGLE_EMIF_512MB SINGLE_EMIF_1GB ref build_pdk.mk]
    # NDK_PROC_TO_USE=a15_0 [options: a15_0 ipu1_0 ipu1_1 ipu2 none]
    # NSP_TFDTP_INCLUDE=no [options: yes no]
    # TDA2EX_ETHSRV_BOARD=no [options: yes no]
    # FATFS_PROC_TO_USE=ipu1_0 [options: ipu1_0 none]
    # RADAR_BOARD=none [options: TDA3XX_AR12_ALPS TDA3XX_AR12_VIB_DAB_BOOSTER TDA3XX_RADAR_RVP none]
    #
    # Build config,
    # BUILD_OS=Windows_NT [options: Windows_NT Linux]
    # BUILD_DEPENDENCY_ALWAYS=no
    # BUILD_ALGORITHMS=no
    # BUILD_INFOADAS=no
    # PROFILE=release [options: debug release]
    # KW_BUILD=no
    # CPLUSPLUS_BUILD=no
    # IPU_PRIMARY_CORE=ipu1_0 [options: ipu1_0 ipu2]
    # IPU_SECONDARY_CORE=ipu2 [options: ipu1_0 ipu2]
    # A15_TARGET_OS=Bios [options: Bios Linux Qnx]
    # BSP_STW_PACKAGE_SELECT=all [options: all vps-iss-dss-only vps-vip-vpe]
    #
    # Safety Module config,
    # RTI_INCLUDE=no
    # ECC_FFI_INCLUDE=no
    # DCC_ESM_INCLUDE=no
    #
    # Video Module config,
    # IVAHD_INCLUDE=yes
    # VPE_INCLUDE=yes
    # CAL_INCLUDE=yes
    # ISS_INCLUDE=yes
    # ISS_ENABLE_DEBUG_TAPS=no
    # WDR_LDC_INCLUDE=no
    # DSS_INCLUDE=yes
    #
    # Open Compute config,
    # OPENCL_INCLUDE=no
    # TARGET_ROOTDIR=C:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/apps/src/rtos/opencl
    # ENABLE_OPENCV=no
    # ENABLE_OPENCV_TESTS=no
    # OPENVX_INCLUDE=no
    #
    # Log config,
    # ENABLE_UART_LOG=yes
    # ENABLE_NETWORK_LOG=no
    # ENABLE_CCS_LOG=no
    # CIO_REDIRECT=yes
    #
    # IPC config,
    # WORKQ_INCLUDE=yes
    # IPC_LIB_INCLUDE=no
    #
    # AUTOSAR_APP=no
    #
    # Surround View config,
    # SRV_FAST_BOOT_INCLUDE=no
    #
    # Other Module config,
    # AVB_INCLUDE=no
    # DCAN_INCLUDE=no
    # RADAR_ONLY=no
    # CPU_IDLE_ENABLED=yes
    # FAST_BOOT_INCLUDE=no
    # DATA_VIS_INCLUDE=no
    # HS_DEVICE=no
    # ULTRASONIC_INCLUDE=no
    # PGA450=
    # PGA460=
    # ENABLE_ALL_DEPTH=
    #
    # Linux config,
    # DEFAULT_UBOOT_CONFIG=dra7xx_evm_vision_config
    # DEFAULT_KERNEL_CONFIG=ti_sdk_dra7x_release_defconfig
    # DEFAULT_DTB=dra7-evm-infoadas.dtb
    # CMEM_INCLUDE=no
    # IPUMM_INCLUDE=no
    # IPU1_EVELOADER_INCLUDE=no
    # ROBUST_RVC_INCLUDE=no
    # BUILD_ADAM_CAR=no
    #
    # Alg plugins included in build,
    # ALG_autocalibration ALG_clr ALG_deWarp ALG_dmaSwMs ALG_vpeSwMs ALG_edgedetection ALG_framecopy ALG
    _lanedetection ALG_objectdetection ALG_safe_framecopy ALG_sceneobstruction ALG_sfm ALG_sparseoptical
    flow ALG_subframecopy ALG_surroundview ALG_tidl ALG_radarprocess ALG_iss_aewb
    #
    # Use-cases included in build,
    # UC_iss_capture_isp_simcop_display UC_iss_mult_capture_isp_2d_3d_sv_tda3x UC_iss_mult_capture_isp_d
    ewarp_3dsv_tda3xx UC_iss_mult_capture_isp_simcop_sv_tda3xx UC_iss_multi_inst_capture_display UC_srv_
    calibration UC_lvds_vip_multi_cam_view UC_lvds_vip_sv_standalone UC_network_rx_tx UC_null_src_dec_di
    splay UC_null_src_display UC_saveDisFrame UC_vip_single_cam_analytics2 UC_vip_single_cam_edge_detect
    ion UC_vip_single_cam_frame_copy UC_vip_single_cam_frame_copy_safety UC_vip_single_cam_lane_detectio
    n UC_vip_single_cam_object_detection2 UC_vip_single_cam_sfm UC_vip_single_cam_sparse_optical_flow UC
    _vip_single_cam_subframe_copy UC_vip_single_cam_tlr UC_vip_single_cam_view UC_vip_single_cam_view_en
    cdec UC_camera_radar_capture_display UC_tidl_OD_radar_process_display UC_radar_objectdetect_display
    UC_cascade_radar_object_detect
    #
    gmake -s -fbuild_makeconfig.mk check_cpu_include
    gmake[2]: Entering directory `C:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/apps/configs'
    #
    # CPUs that are NOT required but included in config [ tda2px_evm_bios_all ],
    #
    #
    # CPUs that are required but not included in config [ tda2px_evm_bios_all ],
    #
    #
    # Edit C:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/build/configs/tda2px_evm_bios_all/cfg.mk to in
    clude or exclude CPUs in an application
    #
    gmake[2]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/apps/configs'
    gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_05_00_00/vision_sdk/apps/configs'

    I have been using command prompt. I just tried using git bash, the error seems to have gone away, I will continue using git bash for now. 

    Thanks,

    Richard

  • Hi Richard,

    Glad to know that the build issue is resolved.
    Kindly mark the post that answers your query as "This resolved my issue" and close the thread.

    Regards,
    Rishabh
  • Hi Rishabh, 

    The "gmake -s depend" build worked on git bash. However, the following "gmake -s" build failed on git bash: 

    I went back and realized I hadn't set the correct path for gmake in git bash. However, when I try to do this using the syntax in the user guide, I get "bash: PATH: command not found" and "bash: fg: %PATH%: no such job" errors. 

    Thanks,

    Richard

  • Hi Richard,

    Are you trying clean build after changing gmake 's path?
    Can you look at this query:
    e2e.ti.com/support/processors/f/791/t/689250

    Regards,
    Rishabh