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.

CCS/TMS320C6678: TMS320C6678

Part Number: TMS320C6678
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Hello,

i'm trying to build to example Hello World for OpenMP  ( link : http://downloads.ti.com/mctools/esd/docs/openmp-dsp/building_openmp_app.html#build-prereq)

When i try to build the project , the below errors appears :

xdctools_3_60_01_27_core\gmake.exe: *** [package.mak:204: package/cfg/omp_config_pe66.xdl] Error 1
js: "C:/ti/ccs920/xdctools_3_60_01_27_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-581759137-inproc] Error 1
subdir_rules.mk:16: recipe for target 'build-581759137' failed
gmake: *** [build-581759137] Error 2
gmake: Target 'all' not remade because of errors.

please could you help me to fix this issue ?

  • Smeil,

    Can you try changing the build to use the version of the xdctools that came with the Processor SDK.  

    You can specify the xdctools verison here. 

    If you do not see any other verisons of xdctools if you go to the preferences dialog you can specify where CCS should look for software here:

    Regards,

    John

  • John,

    I modified XDCtool coming with SDK :  xdctools_3_55_02_22_core

     

     


    FYI : i'm using CCSTUDIO 9.2 and SDK ti-processor-sdk-rtos-c667x-evm-06.01.00.08-Windows-x86-Install

    Error still exist :

    **** Build of configuration Debug for project OpenMP_FirstExample ****
    
    "C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k -j 4 all -O 
     
    Building file: "../omp_config.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_55_02_22_core/xs" --xdcpath="C:/ti/openmp_dsp_c667x_2_06_03_00/packages;C:/ti/pdk_c667x_2_0_15/packages;C:/ti/ctoolslib_2_2_0_0/packages;C:/ti/linalg_1_2_0_0/packages;C:/ti/edma3_lld_2_12_05_30E/packages;C:/ti/framework_components_3_40_02_07/packages;C:/ti/framework_components_3_40_02_07/examples;C:/ti/imglib_c66x_3_1_1_0/packages;C:/ti/ipc_3_50_04_07/packages;C:/ti/libarch_1_0_0_0/packages;C:/ti/ndk_3_61_01_01/packages;C:/ti/bios_6_76_02_02/packages;C:/ti/uia_2_30_01_02/packages;C:/ti/xdais_7_24_00_04/packages;C:/ti/xdais_7_24_00_04/examples;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r release -c "C:/ti/ccs920/ccs/tools/compiler/ti-cgt-c6000_8.3.4" "../omp_config.cfg"
    configuring omp_config.xe66 from package/cfg/omp_config_pe66.cfg ...
    subdir_rules.mk:19: recipe for target 'build-581759137-inproc' failed
    js: "C:/Users/smeil/workspace_v9_2/OpenMP_FirstExample/omp_config.cfg", line 128: TypeError: Cannot read property "base" from undefined (C:/Users/smeil/workspace_v9_2/OpenMP_FirstExample/omp_config.cfg#128)
        "./package/cfg/omp_config_pe66.cfg", line 196
    xdctools_3_55_02_22_core\gmake.exe: *** [package.mak:204: package/cfg/omp_config_pe66.xdl] Error 1
    js: "C:/ti/xdctools_3_55_02_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-581759137-inproc] Error 1
    gmake: *** [build-581759137] Error 2
    subdir_rules.mk:16: recipe for target 'build-581759137' failed
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    

  • Let me loop in someone with more knowledge of the processor SDK

  • Hi,

    See the log you get from CCS:
    js: "C:/Users/smeil/workspace_v9_2/OpenMP_FirstExample/omp_config.cfg", line 128: TypeError: Cannot read property "base" from undefined

    Can you share omp_config.cfg? Perhaps there is some variable in the base section that is not properly defined.

    Best Regards,
    Yordan

  • Hi,

    Attached the  omp_config.cfg file.

    I used the file provided in the following path : C:\ti\openmp_dsp_c667x_2_06_03_00\packages\examples\hello_with_make

    omp_config.cfg

  • Hi,

    I've asked the design team for help. Note that their responses will be delayed because of the holidays.

    Best Regards,
    Yordan

  • Hi,

    Can you check if your .bld files has the definitions of msmc or base, len, etc.. ?

    Best Regards,
    Yordan