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.
rifo,
The error cannot open source file "xdc/std.h" is a result of a previous error Cannot open command file 'configPkg/compiler.opt'.
The compiler.opt file generated by the XDC build process passes the required include paths to the compiler, but looks like that file was not generated properly.
At the top of the build log, you can see this:
xdc.tools.configuro: missing input config script
That command should have a configuration (.cfg) file passed to it, but it looks like that is not happening for some reason. I'm not sure why though.
Can you check what your XDC build properties looks like? Mine looks like this for a newer version of TI-RTOS than what you are using:
Only other thing that stands out is your project directory: "F:/projects/1507/ti/rfPacketRx_CC1310DK_7XD_TI_CC1310F128".
Could you try it in a directory within c:\ instead?
Hello Aartig,
I have done what you've suggested but still have problem. I have attached my buildlog and xdc properties screenshot. My OS is windows 8 (language: turkish)
Thank you
rifo
************build log **********************
**** Build of configuration Debug for project empty_CC1310DK_7XD_TI_CC1310F128 ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../empty.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_cc13xx_cc26xx_2_15_00_17/packages;C:/ti/tirtos_cc13xx_cc26xx_2_15_00_17/products/tidrivers_cc13xx_cc26xx_2_15_00_26/packages;C:/ti/tirtos_cc13xx_cc26xx_2_15_00_17/products/bios_6_45_00_20/packages;C:/ti/tirtos_cc13xx_cc26xx_2_15_00_17/products/uia_2_00_02_39/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5" --compileOptions "-mv7M3 --code_state=16 --float_support=vfplib --abi=eabi -me --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include\" --include_path=\"C:/Users/rturs_000/workspace_v6_1/empty_CC1310DK_7XD_TI_CC1310F128\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_15_00_17/products/cc13xxware_2_03_00_16456\" -g --define=DEBUG --define=ccs --diag_wrap=off --diag_warning=225 --diag_warning=255 --display_error_number --gen_func_subsections=on "
xdc.tools.configuro: missing input config script
Usage: xs xdc.tools.configuro [--help]
[-v | -q]
[-@ optionsfile]
[-o outdir]
[-b config_bld | -c codegen_dir | --cb]
[-t target] [-p platform[:instance]] [-r profile]
[-Dname=value]
[-w | -x regexp]
[--rtsName pkg_name]
[--cfgArgs args_string]
[--linkTemplate linker_template]
[--pkg] [--generationOnly]
[--compileOptions compile_options_string]
[--linkOptions linker_options_string]
[--oc compiler.opt] [--ol linker.cmd]
infile.cfg
'Finished building: ../empty.cfg'
' '
'Building file: ../CC1310DK_7XD.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/Users/rturs_000/workspace_v6_1/empty_CC1310DK_7XD_TI_CC1310F128" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_15_00_17/products/cc13xxware_2_03_00_16456" -g --define=DEBUG --define=ccs --diag_wrap=off --diag_warning=225 --diag_warning=255 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="CC1310DK_7XD.pp" --cmd_file="configPkg/compiler.opt" "../CC1310DK_7XD.c"
>> ERROR: Cannot open command file 'configPkg/compiler.opt': No such file or directory
"../CC1310DK_7XD.c", line 43: fatal error #1965: cannot open source file "xdc/std.h"
1 catastrophic error detected in the compilation of "../CC1310DK_7XD.c".
Compilation terminated.
gmake: *** [CC1310DK_7XD.obj] Error 1
>> Compilation failure
'Building file: ../ccfg.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/Users/rturs_000/workspace_v6_1/empty_CC1310DK_7XD_TI_CC1310F128" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_15_00_17/products/cc13xxware_2_03_00_16456" -g --define=DEBUG --define=ccs --diag_wrap=off --diag_warning=225 --diag_warning=255 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="ccfg.pp" --cmd_file="configPkg/compiler.opt" "../ccfg.c"
>> ERROR: Cannot open command file 'configPkg/compiler.opt': No such file or directory
'Finished building: ../ccfg.c'
' '
'Building file: ../empty.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include" --include_path="C:/Users/rturs_000/workspace_v6_1/empty_CC1310DK_7XD_TI_CC1310F128" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_15_00_17/products/cc13xxware_2_03_00_16456" -g --define=DEBUG --define=ccs --diag_wrap=off --diag_warning=225 --diag_warning=255 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="empty.pp" --cmd_file="configPkg/compiler.opt" "../empty.c"
>> ERROR: Cannot open command file 'configPkg/compiler.opt': No such file or directory
"../empty.c", line 37: fatal error #1965: cannot open source file "xdc/std.h"
1 catastrophic error detected in the compilation of "../empty.c".
Compilation terminated.
>> Compilation failure
gmake: *** [empty.obj] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
rifo said:My OS is windows 8 (language: turkish)
Now that you mention Turkish language, I believe the issue you are seeing is related to this post.
Please take a look at the workarounds suggested there and let us know if it helps.
There is also this other post where a user confirms that changing the language settings to English resolves the same type of error.