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.

driverlib.h can not be included

I moved my project into CCS Cloud, but I do not know how to do including the Driverlib. Below are the errors:

**** Build of configuration Debug for project StarMonocular ****

@ccs/utils/bin/gmake -k all 
Building file: ../GPS.c
Invoking: MSP432 Compiler
"@ccs/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="@ccs/ccs_base/arm/include" --include_path="@ccs/ccs_base/arm/include/CMSIS" --include_path="@ccs/tools/compiler/ti-cgt-arm_5.2.5/include" --advice:power=all -g --gcc --define=__MSP432P401R__ --define=TARGET_IS_MSP432P4XX --define=ccs --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="GPS.pp" --diag_error=66 --set_error_limit=10  "../GPS.c"
"../GPS.c", line 2: fatal error #1965: cannot open source file "driverlib.h"
1 catastrophic error detected in the compilation of "../GPS.c".
Compilation terminated.

>> Compilation failure
gmake: *** [GPS.obj] Error 1
Building file: ../buzzer.c
Invoking: MSP432 Compiler
"@ccs/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="@ccs/ccs_base/arm/include" --include_path="@ccs/ccs_base/arm/include/CMSIS" --include_path="@ccs/tools/compiler/ti-cgt-arm_5.2.5/include" --advice:power=all -g --gcc --define=__MSP432P401R__ --define=TARGET_IS_MSP432P4XX --define=ccs --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="buzzer.pp" --diag_error=66 --set_error_limit=10  "../buzzer.c"
"../buzzer.c", line 7: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
Finished building: ../buzzer.c
 
Building file: ../lcd.c
Invoking: MSP432 Compiler
"@ccs/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="@ccs/ccs_base/arm/include" --include_path="@ccs/ccs_base/arm/include/CMSIS" --include_path="@ccs/tools/compiler/ti-cgt-arm_5.2.5/include" --advice:power=all -g --gcc --define=__MSP432P401R__ --define=TARGET_IS_MSP432P4XX --define=ccs --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="lcd.pp" --diag_error=66 --set_error_limit=10  "../lcd.c"
"../lcd.c", line 12: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
"../lcd.c", line 14: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
"../lcd.c", line 16: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
"../lcd.c", line 18: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
"../lcd.c", line 47: remark #1532-D: (ULP 5.3) Detected sprintf() operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
"../lcd.c", line 56: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../lcd.c", line 57: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../lcd.c", line 68: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
Finished building: ../lcd.c
 
Building file: ../main.c
Invoking: MSP432 Compiler
"@ccs/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="@ccs/ccs_base/arm/include" --include_path="@ccs/ccs_base/arm/include/CMSIS" --include_path="@ccs/tools/compiler/ti-cgt-arm_5.2.5/include" --advice:power=all -g --gcc --define=__MSP432P401R__ --define=TARGET_IS_MSP432P4XX --define=ccs --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" --diag_error=66 --set_error_limit=10  "../main.c"
"../main.c", line 1: fatal error #1965: cannot open source file "driverlib.h"

>> Compilation failure
1 catastrophic error detected in the compilation of "../main.c".
Compilation terminated.
gmake: *** [main.obj] Error 1
Building file: ../msp432_startup_ccs.c
Invoking: MSP432 Compiler
"@ccs/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="@ccs/ccs_base/arm/include" --include_path="@ccs/ccs_base/arm/include/CMSIS" --include_path="@ccs/tools/compiler/ti-cgt-arm_5.2.5/include" --advice:power=all -g --gcc --define=__MSP432P401R__ --define=TARGET_IS_MSP432P4XX --define=ccs --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="msp432_startup_ccs.pp" --diag_error=66 --set_error_limit=10  "../msp432_startup_ccs.c"
"../msp432_startup_ccs.c", line 38: fatal error #1965: cannot open source file "driverlib.h"

>> Compilation failure
1 catastrophic error detected in the compilation of "../msp432_startup_ccs.c".
Compilation terminated.
gmake: *** [msp432_startup_ccs.obj] Error 1
Building file: ../subs.c
Invoking: MSP432 Compiler
"@ccs/tools/compiler/ti-cgt-arm_5.2.5/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me --include_path="@ccs/ccs_base/arm/include" --include_path="@ccs/ccs_base/arm/include/CMSIS" --include_path="@ccs/tools/compiler/ti-cgt-arm_5.2.5/include" --advice:power=all -g --gcc --define=__MSP432P401R__ --define=TARGET_IS_MSP432P4XX --define=ccs --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="subs.pp" --diag_error=66 --set_error_limit=10  "../subs.c"
"../subs.c", line 101: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 141: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 147: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 153: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 158: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 163: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 275: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 280: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 280: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 290: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 299: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 275: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 273: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 310: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 313: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 310: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 280: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 280: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.

...(output truncated)...

/power intensive
"../subs.c", line 736: remark #1532-D: (ULP 5.3) Detected sprintf() operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
"../subs.c", line 743: warning #225-D: function "MAP_I2C_disableModule" declared implicitly
"../subs.c", line 743: error #20: identifier "EUSCI_B0_MODULE" is undefined
"../subs.c", line 745: warning #225-D: function "MAP_I2C_setMode" declared implicitly
"../subs.c", line 745: error #20: identifier "EUSCI_B_I2C_TRANSMIT_MODE" is undefined
"../subs.c", line 746: warning #225-D: function "MAP_I2C_setSlaveAddress" declared implicitly
"../subs.c", line 748: warning #225-D: function "MAP_I2C_enableModule" declared implicitly
"../subs.c", line 752: warning #225-D: function "MAP_I2C_disableModule" declared implicitly
"../subs.c", line 752: error #20: identifier "EUSCI_B0_MODULE" is undefined

>> Compilation failure
"../subs.c", line 753: warning #225-D: function "MAP_I2C_setMode" declared implicitly
"../subs.c", line 753: error #20: identifier "EUSCI_B_I2C_RECEIVE_MODE" is undefined
"../subs.c", line 754: warning #225-D: function "MAP_I2C_setSlaveAddress" declared implicitly
"../subs.c", line 756: warning #225-D: function "MAP_I2C_enableModule" declared implicitly
"../subs.c", line 761: warning #225-D: function "MAP_I2C_masterSendMultiByteStart" declared implicitly
"../subs.c", line 761: error #20: identifier "EUSCI_B0_MODULE" is undefined
"../subs.c", line 762: warning #225-D: function "MAP_I2C_masterSendMultiByteNext" declared implicitly
"../subs.c", line 763: warning #225-D: function "MAP_I2C_masterSendMultiByteFinish" declared implicitly
"../subs.c", line 780: warning #225-D: function "MAP_I2C_masterSendMultiByteStart" declared implicitly
"../subs.c", line 780: error #20: identifier "EUSCI_B0_MODULE" is undefined
"../subs.c", line 781: warning #225-D: function "MAP_I2C_masterSendMultiByteNext" declared implicitly
"../subs.c", line 782: warning #225-D: function "MAP_I2C_masterSendMultiByteFinish" declared implicitly
"../subs.c", line 794: warning #225-D: function "MAP_I2C_masterSendMultiByteStart" declared implicitly
"../subs.c", line 794: error #20: identifier "EUSCI_B0_MODULE" is undefined
"../subs.c", line 795: warning #225-D: function "MAP_I2C_masterSendMultiByteNext" declared implicitly
"../subs.c", line 796: warning #225-D: function "MAP_I2C_masterSendMultiByteFinish" declared implicitly
"../subs.c", line 799: warning #225-D: function "MAP_I2C_masterReceiveStart" declared implicitly
"../subs.c", line 800: warning #225-D: function "MAP_I2C_masterReceiveMultiByteNext" declared implicitly
"../subs.c", line 801: warning #225-D: function "MAP_I2C_masterReceiveMultiByteStop" declared implicitly
"../subs.c", line 811: warning #225-D: function "MAP_I2C_masterSendMultiByteStart" declared implicitly
"../subs.c", line 811: error #20: identifier "EUSCI_B0_MODULE" is undefined
"../subs.c", line 812: warning #225-D: function "MAP_I2C_masterSendMultiByteNext" declared implicitly
"../subs.c", line 813: warning #225-D: function "MAP_I2C_masterSendMultiByteFinish" declared implicitly
"../subs.c", line 816: warning #225-D: function "MAP_I2C_masterReceiveStart" declared implicitly
"../subs.c", line 818: warning #225-D: function "MAP_I2C_masterReceiveMultiByteNext" declared implicitly
"../subs.c", line 819: warning #225-D: function "MAP_I2C_masterReceiveMultiByteStop" declared implicitly
"../subs.c", line 807: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 817: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../subs.c", line 831: warning #225-D: function "MAP_I2C_masterSendMultiByteStart" declared implicitly
"../subs.c", line 831: error #20: identifier "EUSCI_B0_MODULE" is undefined
"../subs.c", line 832: warning #225-D: function "MAP_I2C_masterSendMultiByteNext" declared implicitly
"../subs.c", line 833: warning #225-D: function "MAP_I2C_masterSendMultiByteFinish" declared implicitly
"../SJ.h", line 26: remark #1534-D: (ULP 7.1) Detected use of global variable "showNumber" within one function "showStars". Recommend placing variable in the function locally
"../SJ.h", line 27: remark #1534-D: (ULP 7.1) Detected use of global variable "storedStarNumber" within one function "storeTheStar". Recommend placing variable in the function locally
"../SJ.h", line 29: remark #1534-D: (ULP 7.1) Detected use of global variable "gps_timeMark" within one function "getExactTime". Recommend placing variable in the function locally
"../SJ.h", line 30: remark #1534-D: (ULP 7.1) Detected use of global variable "timeMark" within one function "getExactTime". Recommend placing variable in the function locally
9 errors detected in the compilation of "../subs.c".
gmake: *** [subs.obj] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Any help will be welcomed.

**Attention** This is a public forum