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.

RTOS/TMS320C6678: openmp example project build

Part Number: TMS320C6678
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi, Does anyone know how to build the omp example project in CCS?  The version of omp I use is openmp_dsp_c667x_2_06_01_00 . The error information is as below:


examples/hello_with_make/subdir_rules.mk:19: recipe for target 'build-1181491807-inproc' failed
js: "E:/ti_ccs_workspace/omp_hello/ti/runtime/rts6000/config.bld", line 40: Error: XDCCGROOT environment variable not set
"./config.bld", line 4
js: "E:/ti_ccs_workspace/omp_hello/ti/runtime/rts6000/config.bld", line 40: Error: XDCCGROOT environment variable not set
"./config.bld", line 4
xdctools_3_50_04_43_core\gmake.exe: *** No rule to make target `.configuro'. Stop.
xdctools_3_50_04_43_core\gmake.exe: *** No rule to make target `.configuro'. Stop.
js: "C:/ti/xdctools_3_50_04_43_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
js: "E:/ti_ccs_workspace/omp_hello/ti/runtime/rts6000/config.bld", line 40: Error: XDCCGROOT environment variable not set

Looking forward to any reply soon

Thanks

  • Hi,

    I've notified the OpenMP experts. They will post their feedback directly here.

    Best Regards,
    Yordan
  • Hi,

    Do you follow the steps here to build the CCS project? downloads.ti.com/.../building_openmp_app.html

    Note, you need to add C:\ti\openmp_dsp_c667x_2_06_02_00\packages in the CCS 'Products and Repositories' in order to get 'ti.runtime.openmp.platforms.evm6678' listed in Platform.

    Also you may need to update COMP_TI_RTSC_OPENMP_INSTALL_DIR and COM_TI_RTSC_OPENMP_INCLUDE_PATH so the openMP library and header file can be found.

    Regards,
    Garrett
  • Hello, you can use my experience https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/638486

    First of all, try to use xdctools from pdk (I don't remember clearly but there was a problem with higher version).

    Second, enable option --omp in project properties.

    And don't forget to use ti.runtime.openmp.platforms.evm6678 as RTSC platform in your build.

  • Thanks for your reply. I've set the correct platform as you have instructed. But I met another problem as below:

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O

    'Building file: "../omp_config.cfg"'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_04_43_core/xs" --xdcpath="C:/ti/openmp_dsp_c667x_2_06_01_00/packages/ti/runtime/openmp/platforms;C:/ti/ipc_3_46_00_02/packages;C:/ti/openmp_dsp_c667x_2_06_01_00/packages;C:/ti/bios_6_46_05_55/packages;C:/ti/pdk_c667x_2_0_6/packages;C:/ti/ctoolslib_2_2_0_0/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.runtime.openmp.platforms.evm6678 -r release -c "C:/ti/ti-cgt-c6000_8.1.3" "../omp_config.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring omp_config.xe66 from package/cfg/omp_config_pe66.cfg ...
    Configuring OpenMP runtime for device: TMS320C6678
    subdir_rules.mk:19: recipe for target 'build-813160335-inproc' failed
    error: xdc.cfg.Program: "C:/ti/xdctools_3_50_04_43_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.family.c64p' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.
    js: "C:/ti/xdctools_3_50_04_43_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/omp_config_pe66.xdl] Error 1
    js: "C:/ti/xdctools_3_50_04_43_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-813160335-inproc] Error 1
    gmake: *** [build-813160335] Error 2
    subdir_rules.mk:16: recipe for target 'build-813160335' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    Could you fix this problem?

  • Hi,

    Where is your openmp_dsp_c667x_2_06_01_00 from? You may try the latest openmp_dsp_c667x_2_06_02_01 and its dependant compoents from Processor SDK 4. 3 - www.ti.com/.../PROCESSOR-SDK-C667X

    software-dl.ti.com/.../Release_Specific.html

    Regards,
    Garrett