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.

TMS320F280039C: No rule to make target 'D:/ccs/eclipse/c2000ware/driverlib/f28003x/driverlib/ccs/Debug/driverlib.lib', needed by 'all'.

Part Number: TMS320F280039C
Other Parts Discussed in Thread: C2000WARE

Hi team,

We are trying to integrate ADC and PWM codes one from driverlib example and other from device support, I am getting the below error can you please help to solve this?

" No rule to make target 'D:/ccs/eclipse/c2000ware/driverlib/f28003x/driverlib/ccs/Debug/driverlib.lib', needed by 'all'."

Below is my console window log


**** Build of configuration Debug for project 30kw_39c ****

"D:\\ccs\\utils\\bin\\gmake" -k -j 12 all -O

Building file: "../f28003x_usdelay.asm"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="f28003x_usdelay.d_raw" "../f28003x_usdelay.asm"
Finished building: "../f28003x_usdelay.asm"

Building file: "../f28003x_piectrl.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="f28003x_piectrl.d_raw" "../f28003x_piectrl.c"
Finished building: "../f28003x_piectrl.c"

Building file: "../f28003x_pievect.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="f28003x_pievect.d_raw" "../f28003x_pievect.c"
Finished building: "../f28003x_pievect.c"

Building file: "../f28003x_defaultisr.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="f28003x_defaultisr.d_raw" "../f28003x_defaultisr.c"
Finished building: "../f28003x_defaultisr.c"

Building file: "../f28003x_gpio.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="f28003x_gpio.d_raw" "../f28003x_gpio.c"
Finished building: "../f28003x_gpio.c"

gmake: *** No rule to make target 'D:/ccs/eclipse/c2000ware/driverlib/f28003x/driverlib/ccs/Debug/driverlib.lib', needed by 'all'.

Building file: "../device/f28003x_codestartbranch.asm"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="device/f28003x_codestartbranch.d_raw" --obj_directory="device" "../device/f28003x_codestartbranch.asm"
Finished building: "../device/f28003x_codestartbranch.asm"

Building file: "../main.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
"../main.c", line 116: warning #225-D: function "LoadTxHex16" declared implicitly
Finished building: "../main.c"

Building file: "../misc.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="misc.d_raw" "../misc.c"
Finished building: "../misc.c"

Building file: "../f28003x_sysctrl.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="f28003x_sysctrl.d_raw" "../f28003x_sysctrl.c"
"../f28003x_sysctrl.c", line 833 (col. 33): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "../f28003x_sysctrl.c"

Building file: "../Timer/timer.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="Timer/timer.d_raw" --obj_directory="Timer" "../Timer/timer.c"
"../Timer/timer.c", line 92 (col. 28): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "../Timer/timer.c"

Building file: "../ADC/adc01.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="ADC/adc01.d_raw" --obj_directory="ADC" "../ADC/adc01.c"
Finished building: "../ADC/adc01.c"

Building file: "../device/device.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --obj_directory="device" "../device/device.c"
Finished building: "../device/device.c"

Building file: "../PWM/pwm.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="PWM/pwm.d_raw" --obj_directory="PWM" "../PWM/pwm.c"
"../PWM/pwm.c", line 99: warning #225-D: function "EPWM_setSyncOutPulseMode" declared implicitly
"../PWM/pwm.c", line 218: warning #225-D: function "EPWM_setSyncOutPulseMode" declared implicitly
"../PWM/pwm.c", line 223: warning #225-D: function "EPWM_setSyncOutPulseMode" declared implicitly
"../PWM/pwm.c", line 231: warning #225-D: function "EPWM_setSyncOutPulseMode" declared implicitly
Finished building: "../PWM/pwm.c"

Building file: "../UART/uart.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="UART/uart.d_raw" --obj_directory="UART" "../UART/uart.c"
"../UART/uart.c", line 220: warning #179-D: variable "index" was declared but never referenced
"../UART/uart.c", line 286: warning #179-D: variable "lu8RxCsum" was declared but never referenced
"../UART/uart.c", line 288: warning #552-D: variable "M" was set but never used
"../UART/uart.c", line 289: warning #179-D: variable "lu8DtaBuffIndex" was declared but never referenced
"../UART/uart.c", line 291: warning #179-D: variable "ret" was declared but never referenced
"../UART/uart.c", line 292: warning #179-D: variable "lu8index" was declared but never referenced
"../UART/uart.c", line 293: warning #179-D: variable "ul8TempByteFinal" was declared but never referenced
Finished building: "../UART/uart.c"

Building file: "../gpio/gp_io.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="gpio/gp_io.d_raw" --obj_directory="gpio" "../gpio/gp_io.c"
Finished building: "../gpio/gp_io.c"

Building file: "../f28003x_globalvariabledefs.c"
Invoking: C2000 Compiler
"D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcrc --include_path="C:/Users/user/workspace_v12/30kw_39c" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/headers/include" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/device_support/f28003x/common/include" --include_path="D:/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="f28003x_globalvariabledefs.d_raw" "../f28003x_globalvariabledefs.c"
Finished building: "../f28003x_globalvariabledefs.c"

gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Below are my project settings 

  • Hi,

    It looks like the path of driverlib.lib is not right.

    D:/ccs/eclipse/c2000ware/driverlib/f28003x/driverlib/ccs/Debug/driverlib.lib

    Based on build console log, it should be "C:/ti/c2000/C2000Ware_MotorControl_SDK_4_00_00_00/c2000ware/driverlib/f28003x/driverlib/ccs/Debug/driverlib.lib"

    Please check the project include path or driverlib.lib file in the project. It is a linker file. Check the path of linked file.

    Are you building in COFF format? Probably driverlib.lib file is in EABI format.

    Thanks & Regards,

    Santosh