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.

CCS/66AK2H14: CCS v7 Fatal error #1966 : cannot open source file <xdc/std.h>

Part Number: 66AK2H14
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

hi Team,

There is the #1966 error "can not find the include file".I can find it in the Includes folder on the left, but I do not know why...

On clicking the Build Project button I see fatal errors recorded in the Console view, as follows:


**** Build of configuration Release for project InspectionSystemDSP7 ****

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

making ../src/sysbios/sysbios.ae66 ...
making ../src/ipc.ae66 ...
making ../src/utils.ae66 ...
gmake[1]: Entering directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/utils'
cle66 C:/ti/copy-ipc_3_36_02_13/packages/ti/sdo/utils/UTILS.c ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.

>> Compilation failure
makefile:44: recipe for target 'UTILS.obj' failed
gmake[1]: Leaving directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/utils'
../src/makefile.libs:80: recipe for target '../src/utils.ae66' failed
gmake[1]: Entering directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/ipc'
cle66 C:/ti/copy-ipc_3_36_02_13/packages/ti/sdo/utils/NameServer.c ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.

>> Compilation failure
makefile:36: recipe for target 'Ipc.obj' failed
"C:/ti/copy-ipc_3_36_02_13/packages/ti/sdo/utils/NameServer.c", line 106: fatal error #1966: cannot open source file "xdc/std.h": Invalid argument
1 catastrophic error detected in the compilation of "C:/ti/copy-ipc_3_36_02_13/packages/ti/sdo/utils/NameServer.c".
Compilation terminated.
gmake[1]: *** [UTILS.obj] Error 1
gmake[1]: Target 'all' not remade because of errors.
gmake: *** [../src/utils.ae66] Error 2
"C:/ti/copy-ipc_3_36_02_13/packages/ti/sdo/utils/NameServer.c", line 106: fatal error #1965: cannot open source file "xdc/std.h"
1 catastrophic error detected in the compilation of "C:/ti/copy-ipc_3_36_02_13/packages/ti/sdo/utils/NameServer.c".
Compilation terminated.
gmake[1]: *** [Ipc.obj] Error 1
gmake[1]: Target 'all' not remade because of errors.
gmake[1]: Leaving directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/ipc'
../src/makefile.libs:72: recipe for target '../src/ipc.ae66' failed
gmake: *** [../src/ipc.ae66] Error 2
gmake[1]: Entering directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/sysbios'
asme66 C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
10 Assembly Errors, 1 Assembly Warning

>> Compilation failure
makefile:40: recipe for target 'c64p_Exception_asm.obj' failed
"C:\ti\bios_6_41_04_54\packages\ti\sysbios\family\c64p\package/internal/Exception.xdc.h", line 15: fatal error #1966: cannot open source file "ti/sysbios/family/c64p/Exception.h": Invalid argument
Compilation terminated.
"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", WARNING! at line 231:
[E1000]
error while processing C code in .cdecls directive
.cdecls C,NOLIST,"package/internal/Exception.xdc.h"

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", ERROR! at line 258:
[E0004]
Structure/Union tag symbol expected
_ti_sysbios_family_c64p_Exception_Module__state__V .tag ti_sysbios_family_c64p_Exception_Module_State

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", REMARK at line 258:
[R0001]
After symbol substitution the line became:
ti_sysbios_family_c64p_Exception_Module__state__V .tag ti_sysbios_family_c64p_Exception_Module_State

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", ERROR! at line 270:
[E0009]
Missing struct/union member or tag
|| MVKL _ti_sysbios_family_c64p_Exception_Module__state__V.scratch, b4

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", REMARK at line 270:
[R0001]
After symbol substitution the line became:
|| MVKL ti_sysbios_family_c64p_Exception_Module__state__V.scratch, b4

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", ERROR! at line 270:
[E0009]
Missing struct/union member or tag
MVKH _ti_sysbios_family_c64p_Exception_Module__state__V.scratch, b4

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", REMARK at line 270:
[R0001]
After symbol substitution the line became:
MVKH ti_sysbios_family_c64p_Exception_Module__state__V.scratch, b4

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", ERROR! at line 277:
[E0009]
Missing struct/union member or tag
|| mvkl _ti_sysbios_family_c64p_Exception_Module__state__V.excPtr, a1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", REMARK at line 277:
[R0001]
After symbol substitution the line became:
|| mvkl ti_sysbios_family_c64p_Exception_Module__state__V.excPtr, a1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", ERROR! at line 278:
[E0009]
Missing struct/union member or tag
mvkh _ti_sysbios_family_c64p_Exception_Module__state__V.excPtr, a1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", REMARK at line 278:
[R0001]
After symbol substitution the line became:
mvkh ti_sysbios_family_c64p_Exception_Module__state__V.excPtr, a1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", ERROR! at line 373:
[E0009]
Missing struct/union member or tag
mvkl _ti_sysbios_family_c64p_Exception_Module__state__V.excContext, b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", REMARK at line 373:
[R0001]
After symbol substitution the line became:
mvkl ti_sysbios_family_c64p_Exception_Module__state__V.excContext, b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", ERROR! at line 374:
[E0009]
Missing struct/union member or tag
mvkh _ti_sysbios_family_c64p_Exception_Module__state__V.excContext, b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", REMARK at line 374:
[R0001]
After symbol substitution the line became:
mvkh ti_sysbios_family_c64p_Exception_Module__state__V.excContext, b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", ERROR! at line 378:
[E0009]
Missing struct/union member or tag
mvkl _ti_sysbios_family_c64p_Exception_Module__state__V.returnHook, b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", REMARK at line 378:
[R0001]
After symbol substitution the line became:
mvkl ti_sysbios_family_c64p_Exception_Module__state__V.returnHook, b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", ERROR! at line 379:
[E0009]
Missing struct/union member or tag
mvkh _ti_sysbios_family_c64p_Exception_Module__state__V.returnHook, b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", REMARK at line 379:
[R0001]
After symbol substitution the line became:
mvkh ti_sysbios_family_c64p_Exception_Module__state__V.returnHook, b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Exception_asm.s64P", ERROR! at EOF:
[E0300]
The following symbols are undefined:
ti_sysbios_family_c64p_Exception_Module_State
returnHook
scratch
excPtr
excContext

Errors in Source - Assembler Aborted
gmake[1]: *** [c64p_Exception_asm.obj] Error 1
gmake[1]: Leaving directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/sysbios'
gmake[1]: Entering directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/sysbios'
asme66 C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
4 Assembly Errors, 1 Assembly Warning

>> Compilation failure
makefile:52: recipe for target 'c64p_Hwi_disp_always.obj' failed
"C:\ti\bios_6_41_04_54\packages\ti\sysbios\family\c64p\package/internal/Hwi.xdc.h", line 15: fatal error #1966: cannot open source file "ti/sysbios/family/c64p/Hwi.h": Invalid argument
Compilation terminated.
"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", WARNING! at line 37:
[E1000]
error while processing C code in .cdecls directive
.cdecls C,NOLIST,"package/internal/Hwi.xdc.h"

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", ERROR! at line 106:
[E0004]
Structure/Union tag symbol expected
_ti_sysbios_family_c64p_Hwi_Module__state__V .tag ti_sysbios_family_c64p_Hwi_Module_State

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", REMARK at line 106:
[R0001]
After symbol substitution the line became:
ti_sysbios_family_c64p_Hwi_Module__state__V .tag ti_sysbios_family_c64p_Hwi_Module_State

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", ERROR! at line 129:
[E0009]
Missing struct/union member or tag
|| mvkl _ti_sysbios_family_c64p_Hwi_Module__state__V.bss, a9

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", REMARK at line 129:
[R0001]
After symbol substitution the line became:
|| mvkl ti_sysbios_family_c64p_Hwi_Module__state__V.bss, a9

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", ERROR! at line 134:
[E0009]
Missing struct/union member or tag
|| mvkh _ti_sysbios_family_c64p_Hwi_Module__state__V.bss, a9

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", REMARK at line 134:
[R0001]
After symbol substitution the line became:
|| mvkh ti_sysbios_family_c64p_Hwi_Module__state__V.bss, a9

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", ERROR! at EOF:
[E0300]
The following symbols are undefined:
ti_sysbios_family_c64p_Hwi_Module_State
ti_sysbios_family_c64p_Hwi_Module__state__V
bss

Errors in Source - Assembler Aborted
gmake[1]: *** [c64p_Hwi_disp_always.obj] Error 1
gmake[1]: Leaving directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/sysbios'
gmake[1]: Entering directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/sysbios'
asme66 C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.
20 Assembly Errors, 1 Assembly Warning

>> Compilation failure
makefile:48: recipe for target 'c64p_Hwi_asm_switch.obj' failed
"C:\ti\bios_6_41_04_54\packages\ti\sysbios\family\c64p\package/internal/Hwi.xdc.h", line 15: fatal error #1966: cannot open source file "ti/sysbios/family/c64p/Hwi.h": Invalid argument
Compilation terminated.
"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", WARNING! at line 6:
[E1000]
error while processing C code in .cdecls directive
.cdecls C,NOLIST,"package/internal/Hwi.xdc.h"

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 32:
[E0004]
Structure/Union tag symbol expected
_ti_sysbios_family_c64p_Hwi_Module__state__V .tag ti_sysbios_family_c64p_Hwi_Module_State

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", REMARK at line 32:
[R0001]
After symbol substitution the line became:
ti_sysbios_family_c64p_Hwi_Module__state__V .tag ti_sysbios_family_c64p_Hwi_Module_State

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 56:
[E0009]
Missing struct/union member or tag
ldw *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP), b0

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 56:
[E0009]
B14 or B15 required as long displacement base register
ldw *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP), b0

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 57:
[E0009]
Missing struct/union member or tag
ldw *a0(ti_sysbios_family_c64p_Hwi_Module_State.isrStack), b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 57:
[E0009]
B14 or B15 required as long displacement base register
ldw *a0(ti_sysbios_family_c64p_Hwi_Module_State.isrStack), b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 62:
[E0009]
Missing struct/union member or tag
[!b0] stw SP, *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP)

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 62:
[E0009]
B14 or B15 required as long displacement base register
[!b0] stw SP, *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP)

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 67:
[E0009]
Missing struct/union member or tag
mvkl _ti_sysbios_family_c64p_Hwi_Module__state__V.taskSP, a0

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", REMARK at line 67:
[R0001]
After symbol substitution the line became:
mvkl ti_sysbios_family_c64p_Hwi_Module__state__V.taskSP, a0

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 68:
[E0009]
Missing struct/union member or tag
mvkh _ti_sysbios_family_c64p_Hwi_Module__state__V.taskSP, a0

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", REMARK at line 68:
[R0001]
After symbol substitution the line became:
mvkh ti_sysbios_family_c64p_Hwi_Module__state__V.taskSP, a0

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 87:
[E0009]
Missing struct/union member or tag
ldw *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP), b0 ; get current taskSP value

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 87:
[E0009]
B14 or B15 required as long displacement base register
ldw *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP), b0 ; get current taskSP value

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 88:
[E0009]
Missing struct/union member or tag
ldw *a0(ti_sysbios_family_c64p_Hwi_Module_State.isrStack), b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 88:
[E0009]
B14 or B15 required as long displacement base register
ldw *a0(ti_sysbios_family_c64p_Hwi_Module_State.isrStack), b1

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 92:
[E0009]
Missing struct/union member or tag
[!b0] stw SP, *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP) ; save old SP

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 92:
[E0009]
B14 or B15 required as long displacement base register
[!b0] stw SP, *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP) ; save old SP

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 106:
[E0009]
Missing struct/union member or tag
[!b0] ldw *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP), b1 ; get current taskSP value

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 106:
[E0009]
B14 or B15 required as long displacement base register
[!b0] ldw *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP), b1 ; get current taskSP value

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 111:
[E0009]
Missing struct/union member or tag
[!b0] stw a1, *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP) ; taskSP = 0

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at line 111:
[E0009]
B14 or B15 required as long displacement base register
[!b0] stw a1, *a0(ti_sysbios_family_c64p_Hwi_Module_State.taskSP) ; taskSP = 0

"C:/ti/bios_6_41_04_54/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62", ERROR! at EOF:
[E0300]
The following symbols are undefined:
ti_sysbios_family_c64p_Hwi_Module_State
ti_sysbios_family_c64p_Hwi_Module__state__V
taskSP
isrStack

Errors in Source - Assembler Aborted
gmake[1]: *** [c64p_Hwi_asm_switch.obj] Error 1
gmake[1]: Leaving directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/sysbios'
gmake[1]: Entering directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/sysbios'
cle66 C:/ti/bios_6_41_04_54/packages/ti/sysbios/BIOS.c ...
remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
subsequent release. The behavior is enabled by default.

>> Compilation failure
makefile:65: recipe for target 'BIOS.obj' failed
"C:/ti/bios_6_41_04_54/packages/ti/sysbios/BIOS.c", line 36: fatal error #1966: cannot open source file "xdc/std.h": Invalid argument
1 catastrophic error detected in the compilation of "C:/ti/bios_6_41_04_54/packages/ti/sysbios/BIOS.c".
Compilation terminated.
gmake[1]: *** [BIOS.obj] Error 1
gmake[1]: Target 'all' not remade because of errors.
gmake[1]: Leaving directory 'C:/Users/111631/Desktop/rtdsp_vn3.02a_mat4_hs2/dsp/InspectionSystemDSP7/src/sysbios'
../src/makefile.libs:64: recipe for target '../src/sysbios/sysbios.ae66' failed
gmake: *** [../src/sysbios/sysbios.ae66] Error 2
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

I’ve tried searching these forums and general Googling but haven’t found much to help me.

I’m guessing that there’s some problem with accessing the xdc directory, of course. Any help would therefore be greatly appreciated.

 Tatsuya

  • Hi Tatsuya,

    Can you remove the '-' from C:/ti/copy-ipc_3_36_02_13? Also, can you import a SYS/BIOS example and see if it builds properly? If the problem persists after removing hte '-', can you enable a more verbose build log output and attach the build output to a thread. Please attach the file instead of copying/pasting into the file like you did above. It makes the thread easier to manage.

    Todd
  • Did this get resolved?

    Todd

    [9/7 update: Marking this as TI Thinks Resolved because of no activity by the original poster]