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.

Compiler/TM4C1294NCPDT: fatal error #1965: cannot open source file "xdc/std.h"

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI C/C++ Compiler

Hi,

I am trying to build project which shows "fatal error #1965: cannot open source file "xdc/std.h". But In Include Folder It already shown XDC tool.

TI RTOS Version : 2.16.1.14

CCS Version : 6.1.0

XDC Tool : xdctools_3_32_00_06_core

Here i send Console Detail Please Check it.

**** Build of configuration Debug for project CSL1601_v02YYXXXX ****

"C:\\ti_2\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../EK_TM4C1294XL.c'
'Invoking: ARM Compiler'
"C:/ti_2/ccsv6/tools/compiler/arm_5.1.6/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti_2/ccsv6/tools/compiler/arm_5.1.6/include" --include_path="C:/ti_2/wolfssl-3.9.6w" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --include_path="D:/Nimesh/CCS/workspace_v6_1/CSL1601_v02YYXXXX" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=WOLFSSL_TIRTOS --define=ccs --define=TIVAWARE --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="EK_TM4C1294XL.pp" --cmd_file="./configPkg/compiler.opt" "../EK_TM4C1294XL.c"
>> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
"../EK_TM4C1294XL.c", line 43: fatal error #1965: cannot open source file "xdc/std.h"
1 catastrophic error detected in the compilation of "../EK_TM4C1294XL.c".
Compilation terminated.

>> Compilation failure
gmake: *** [EK_TM4C1294XL.obj] Error 1
'Building file: ../tcpEchoHooks.c'
'Invoking: ARM Compiler'
"C:/ti_2/ccsv6/tools/compiler/arm_5.1.6/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti_2/ccsv6/tools/compiler/arm_5.1.6/include" --include_path="C:/ti_2/wolfssl-3.9.6w" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --include_path="D:/Nimesh/CCS/workspace_v6_1/CSL1601_v02YYXXXX" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=WOLFSSL_TIRTOS --define=ccs --define=TIVAWARE --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="tcpEchoHooks.pp" --cmd_file="./configPkg/compiler.opt" "../tcpEchoHooks.c"
>> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
"../tcpEchoHooks.c", line 39: fatal error #1965: cannot open source file "xdc/std.h"
1 catastrophic error detected in the compilation of "../tcpEchoHooks.c".
Compilation terminated.

>> Compilation failure
gmake: *** [tcpEchoHooks.obj] Error 1
'Building file: ../tcpEchoTLS.c'
'Invoking: ARM Compiler'
"C:/ti_2/ccsv6/tools/compiler/arm_5.1.6/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti_2/ccsv6/tools/compiler/arm_5.1.6/include" --include_path="C:/ti_2/wolfssl-3.9.6w" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --include_path="D:/Nimesh/CCS/workspace_v6_1/CSL1601_v02YYXXXX" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=WOLFSSL_TIRTOS --define=ccs --define=TIVAWARE --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="tcpEchoTLS.pp" --cmd_file="./configPkg/compiler.opt" "../tcpEchoTLS.c"
>> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
"../tcpEchoTLS.c", line 40: fatal error #1965: cannot open source file "xdc/std.h"
1 catastrophic error detected in the compilation of "../tcpEchoTLS.c".
Compilation terminated.

>> Compilation failure
gmake: *** [tcpEchoTLS.obj] Error 1
'Building file: ../uart.c'
'Invoking: ARM Compiler'
"C:/ti_2/ccsv6/tools/compiler/arm_5.1.6/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="C:/ti_2/ccsv6/tools/compiler/arm_5.1.6/include" --include_path="C:/ti_2/wolfssl-3.9.6w" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages/ti/ndk/inc/bsd" --include_path="D:/Nimesh/CCS/workspace_v6_1/CSL1601_v02YYXXXX" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti_2/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/posix" -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=WOLFSSL_TIRTOS --define=ccs --define=TIVAWARE --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="uart.pp" --cmd_file="./configPkg/compiler.opt" "../uart.c"
>> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
"..\uart.h", line 13: fatal error #1965: cannot open source file "xdc/std.h"

>> Compilation failure
1 catastrophic error detected in the compilation of "../uart.c".
Compilation terminated.
gmake: *** [uart.obj] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • You need to address the first error, which is ...

    Nimesh Modi said:
    >> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory

    Your current build configuration is named Debug.  Because of this option ...

    Nimesh Modi said:
    --cmd_file="./configPkg/compiler.opt"

    ... the compiler expects attempts to use the file project_root/Debug/configPkg/compiler.opt, but it is not there.  It is good guess that this file contains the --include_path setting that enables the compiler to find the include file xdc/std.h .

    Thanks and regards,

    -George