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/TDC1000-TDC7200EVM: Build

Part Number: TDC1000-TDC7200EVM
Other Parts Discussed in Thread: TDC1000, TDC7200

Tool/software: Code Composer Studio

Hello,

I am trying to build demo4_tdc1000_tdc7200_usb using  CCS 9.x version. I get build errors as in the attached document. Kindly help me resolve this.

Regards,

A N Arunkumar

**** Build of configuration Debug for project demo4 ****

"C:\\ti\\ccs901\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
 
Building file: "../host_interface.c"
Invoking: MSP430 Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccs901/ccs/ccs_base/msp430/include" --include_path="C:/MyUsers/ANA/tattva/workspace_v9/demo4" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/include" --advice:power=all --define=__MSP430F5528__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="host_interface.d_raw"  "../host_interface.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'host_interface.obj' failed
"../host_interface.c", line 34: fatal error #1965: cannot open source file "cstring"
1 catastrophic error detected in the compilation of "../host_interface.c".
Compilation terminated.
gmake: *** [host_interface.obj] Error 1
Building file: "../main.c"
Invoking: MSP430 Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccs901/ccs/ccs_base/msp430/include" --include_path="C:/MyUsers/ANA/tattva/workspace_v9/demo4" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/include" --advice:power=all --define=__MSP430F5528__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="main.d_raw"  "../main.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'main.obj' failed
"../main.c", line 37: fatal error #1965: cannot open source file "cstring"
1 catastrophic error detected in the compilation of "../main.c".
Compilation terminated.
gmake: *** [main.obj] Error 1
Building file: "../msp430tdc_calculation.c"
Invoking: MSP430 Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccs901/ccs/ccs_base/msp430/include" --include_path="C:/MyUsers/ANA/tattva/workspace_v9/demo4" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/include" --advice:power=all --define=__MSP430F5528__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="msp430tdc_calculation.d_raw"  "../msp430tdc_calculation.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'msp430tdc_calculation.obj' failed
"../msp430tdc_calculation.c", line 34: fatal error #1965: cannot open source file "cstring"
1 catastrophic error detected in the compilation of "../msp430tdc_calculation.c".
Compilation terminated.
gmake: *** [msp430tdc_calculation.obj] Error 1
Building file: "../ports.c"
Invoking: MSP430 Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccs901/ccs/ccs_base/msp430/include" --include_path="C:/MyUsers/ANA/tattva/workspace_v9/demo4" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/include" --advice:power=all --define=__MSP430F5528__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="ports.d_raw"  "../ports.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'ports.obj' failed
"../ports.c", line 34: fatal error #1965: cannot open source file "TI_TDC1000.h"
1 catastrophic error detected in the compilation of "../ports.c".
Compilation terminated.
gmake: *** [ports.obj] Error 1
Building file: "../tdc7200_calculation.c"
Invoking: MSP430 Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccs901/ccs/ccs_base/msp430/include" --include_path="C:/MyUsers/ANA/tattva/workspace_v9/demo4" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/include" --advice:power=all --define=__MSP430F5528__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="tdc7200_calculation.d_raw"  "../tdc7200_calculation.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'tdc7200_calculation.obj' failed
"../tdc7200_calculation.c", line 34: fatal error #1965: cannot open source file "cstring"
1 catastrophic error detected in the compilation of "../tdc7200_calculation.c".
Compilation terminated.
gmake: *** [tdc7200_calculation.obj] Error 1
Building file: "../timer_queue.c"
Invoking: MSP430 Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccs901/ccs/ccs_base/msp430/include" --include_path="C:/MyUsers/ANA/tattva/workspace_v9/demo4" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/include" --advice:power=all --define=__MSP430F5528__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="timer_queue.d_raw"  "../timer_queue.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'timer_queue.obj' failed
"../timer_queue.c", line 34: fatal error #1965: cannot open source file "cstring"
1 catastrophic error detected in the compilation of "../timer_queue.c".
Compilation terminated.
gmake: *** [timer_queue.obj] Error 1
Building file: "../uart_commn.c"
Invoking: MSP430 Compiler
"C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccs901/ccs/ccs_base/msp430/include" --include_path="C:/MyUsers/ANA/tattva/workspace_v9/demo4" --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/include" --advice:power=all --define=__MSP430F5528__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="uart_commn.d_raw"  "../uart_commn.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'uart_commn.obj' failed
"../uart_commn.c", line 34: fatal error #1965: cannot open source file "cstring"
1 catastrophic error detected in the compilation of "../uart_commn.c".
Compilation terminated.
gmake: *** [uart_commn.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Looking at the build log I see lots of errors like this:

    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'host_interface.obj' failed
    "../host_interface.c", line 34: fatal error #1965: cannot open source file "cstring"
    1 catastrophic error detected in the compilation of "../host_interface.c".

    Can you show ups what line 34 of host_interface.c looks like? 

    Regards,

    John

  • Arunkumar,

    Since we haven’t heard back from you, we are assuming you were able to move past this issue. If not, please feel free to post a reply with an update below or create a new thread. Thanks!