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.

Can you help me to fix that errors ?

Other Parts Discussed in Thread: CC1310

  • Hello,

    I guess I have the same problem. Just did a clean install of CCS and TI RTOS simplink bundle. I then imported the RFpacketRX example and then got the same compile error. Below I copied the build log output

    **** Build of configuration Debug for project rfPacketRx_CC1310DK_7XD_TI_CC1310F128 ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../rfPacketRx.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=\"F:/projects/1507/ti/rfPacketRx_CC1310DK_7XD_TI_CC1310F128\" --include_path=\"F:/projects/1507/ti/rfPacketRx_CC1310DK_7XD_TI_CC1310F128/smartrf_settings\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_15_00_17/products/cc13xxware_2_03_00_16456\" -g --define=DEBUG --define=ccs --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --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: ../rfPacketRx.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="F:/projects/1507/ti/rfPacketRx_CC1310DK_7XD_TI_CC1310F128" --include_path="F:/projects/1507/ti/rfPacketRx_CC1310DK_7XD_TI_CC1310F128/smartrf_settings" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_15_00_17/products/cc13xxware_2_03_00_16456" -g --define=DEBUG --define=ccs --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --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.

    ...


    any ideas about what should be done about this? I didn't make any changes on the example codes or the project settings.

    thanks
    rifo
  • Can I just confirm that it is the CC1310 Development Kit you are using and not the CC1310 LaunchPad?
    Yours Simon M.
  • hello simon,

    this is a custom board that I am working on, but before compiling my own application, I wanted to make sure that everything was right hence tried the example projects.
    Btw I am also waiting for the launcpad but I guess there is still time to go
  • Thanks for the update. I got caught once by using the wrong branch if the TiRex.
    Yours Simon M.
  • Interestingly I can't find CC1310DK_7XD.c on my system either..
  • 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?

  • eyup,

    Please see my reply to rifo. Your error may be due to a similar reason. Please try the suggestions in my post. If they do not help, attach your complete build log here (saved to a text file) for us to look at.

  • 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.

  • For people using Turkish Windows who are experiencing this issue, note that some project management improvements were made to better support Turkish Windows. These improvements are available in the latest CCSv6.1.3 release. If you have not done so already, Can you try updating your CCS version and see if this helps?

    Thanks
    ki