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.
Tool/software: Code Composer Studio
I am encountering a compiler issue when compiling the Area Scanner demo from the mmWave Industrial Toolbox version 4.2.0. It states that D:/ti/ti-cgt-arm_19.6.0.STS/bin/cl6x: not found this file is not in any version of the ti-cgt I have checked.
Previous debug output not marked as an error reported that a library build failed.
Starting build of library sources ...
making D:/ti/mmwave_industrial_toolbox_4_2_0/labs/area_scanner/68xx_area_scanner/src/dss/src/sysbios/sysbios.ae674 ...
cle674 D:/ti/bios_6_76_04_02/packages/ti/sysbios/BIOS.c ...
Build of libraries failed.
I am using Code Composer 9.3.0.00012. CCS is installed at C:\ti and the toolbox and other libraries are installed at D:\ti.
Full compiler output below.
**** Build of configuration ods for project area_scanner_68xx_dss ****
"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
Building file: "D:/ti/mmwave_industrial_toolbox_4_2_0/labs/area_scanner/68xx_area_scanner/src/dss/mmw_dss.cfg"
Invoking: XDCtools
"C:/ti/ccs930/xdctools_3_60_02_34_core/xs" --xdcpath="C:/ti/mathlib_c674x_3_1_2_1/packages;C:/ti/dsplib_c64Px_3_4_0_0/packages;C:/ti/dsplib_c674x_3_4_0_0/packages;D:/ti/bios_6_76_04_02/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.c6x:IWR68XX:false:600 -r release -c "D:/ti/ti-cgt-arm_19.6.0.STS" --compileOptions "--enum_type=int " "D:/ti/mmwave_industrial_toolbox_4_2_0/labs/area_scanner/68xx_area_scanner/src/dss/mmw_dss.cfg"
making package.mak (because of config.bld) ...
configuring mmw_dss.xe674 from package/cfg/mmw_dss_pe674.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making D:/ti/mmwave_industrial_toolbox_4_2_0/labs/area_scanner/68xx_area_scanner/src/dss/src/sysbios/sysbios.ae674 ...
cle674 D:/ti/bios_6_76_04_02/packages/ti/sysbios/BIOS.c ...
Build of libraries failed.
dss/subdir_rules.mk:19: recipe for target 'build-1256941103-inproc' failed
C:/Users/aredman/AppData/Local/Temp/make20128-3.sh: 1: C:/Users/aredman/AppData/Local/Temp/make20128-3.sh: D:/ti/ti-cgt-arm_19.6.0.STS/bin/cl6x: not found
gmake[1]: *** [makefile:68: BIOS.obj] Error 127
gmake: *** [D:/ti/mmwave_industrial_toolbox_4_2_0/labs/area_scanner/68xx_area_scanner/src/dss/src/makefile.libs:57: D:/ti/mmwave_industrial_toolbox_4_2_0/labs/area_scanner/68xx_area_scanner/src/dss/src/sysbios/sysbios.ae674] Error 2
error: xdc.cfg.SourceDir: "C:/ti/ccs930/xdctools_3_60_02_34_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
js: "C:/ti/ccs930/xdctools_3_60_02_34_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package.mak:204: package/cfg/mmw_dss_pe674.xdl] Error 1
gmake.exe: *** Deleting file 'package/cfg/mmw_dss_pe674.xdl'
gmake.exe: *** [package/cfg/mmw_dss_pe674.xdl] Deleting file 'package/cfg/mmw_dss_pe674.h'
gmake.exe: *** [package/cfg/mmw_dss_pe674.xdl] Deleting file 'package/cfg/mmw_dss_pe674.c'
js: "C:/ti/ccs930/xdctools_3_60_02_34_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-1256941103-inproc] Error 1
gmake: *** [build-1256941103] Error 2
dss/subdir_rules.mk:16: recipe for target 'build-1256941103' failed
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Andrew,
The build is supposed to call the C6000 compiler but in your case it is trying to find it in the ARM compiler's path, for some reason.
Your build shows this:
Building file: "D:/ti/mmwave_industrial_toolbox_4_2_0/labs/area_scanner/68xx_area_scanner/src/dss/mmw_dss.cfg"
Invoking: XDCtools
"C:/ti/ccs930/xdctools_3_60_02_34_core/xs" --xdcpath="C:/ti/mathlib_c674x_3_1_2_1/packages;C:/ti/dsplib_c64Px_3_4_0_0/packages;C:/ti/dsplib_c674x_3_4_0_0/packages;D:/ti/bios_6_76_04_02/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.c6x:IWR68XX:false:600 -r release -c "D:/ti/ti-cgt-arm_19.6.0.STS" --compileOptions "--enum_type=int " "D:/ti/mmwave_industrial_toolbox_4_2_0/labs/area_scanner/68xx_area_scanner/src/dss/mmw_dss.cfg"
My successful build looks like this:
Building file: "C:/ti/mmwave_industrial_toolbox_4_2_0/labs/area_scanner/68xx_area_scanner/src/dss/mmw_dss.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_51_02_21_core/xs" --xdcpath="C:/ti/bios_6_75_02_00/packages;C:/ti/mathlib_c674x_3_1_2_1/packages;C:/ti/dsplib_c64Px_3_4_0_0/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.c6x:IWR68XX:false:600 -r release -c "C:/CCStudio_9.3.0.00012/ccs/tools/compiler/ti-cgt-c6000_8.3.5" --compileOptions "--enum_type=int " "C:/ti/mmwave_industrial_toolbox_4_2_0/labs/area_scanner/68xx_area_scanner/src/dss/mmw_dss.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring mmw_dss.xe674 from package/cfg/mmw_dss_pe674.cfg ...
Notice the difference in the highlighted portion.
What do your Project Properties->General settings look like?
Can you confirm that you have the C6000 compiler installed in your CCS installation path? You can check physically inside the /compiler sub-directory as well as confirm that the compiler is installed into CCS by looking in Window->Preferences->Code Composer Studio->Build->Compilers.
I have found a work around. When I import the MSS project, the DSS project is automatically imported. For some reason this sets the DSS project build settings to ARM build settings which are appropriate to the MSS processor. If I import them separately they build setting are handled correctly.
Andrew,
Thanks for the update. In my previous test, I had imported just the DSS project. Now I tried it by importing the MSS project (which automatically imports the DSS project) and see the same problem as you.
I will forward this to the team responsible for the Industrial Toolbox. Thank you for bringing this to our attention.
Andrew,
The issue is specific to importing the projects via Resource Explorer in CCS. If they are imported using the import wizard (CCS menu Project->Import CCS Projects) then it works fine.
We are investigating root cause and I have filed a bug report. The tracking # is EXT_EP-9655. Feel free to track its status at this link.