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.
Tool/software: Code Composer Studio
I have a project which is previously created, built and tested successfully in CCS 6.2.1, however when I am trying to build it in CCS 7.4.0; I have faced with the following Console:
**** Build of configuration Debug for project PKA_BatteryLoadBank ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k all
'Building target: "F28335_example_nonBIOS_flash.out"'
'Invoking: C2000 Linker'
"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --define=_DEBUG --define=LARGE_MODEL --define=EXAMPLE_FLASH --define=EXAMPLE_NONBIOS -g --diag_warning=225 --diag_wrap=off --display_error_number --quiet -k --asm_listing --c_src_interlist --output_all_syms -z -m"F28335_example_nonBIOS_flash.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/include" -i"D:/PARS KAVIR ARVAND/BATTERY DISCHARGE TEST/DSP Code/REV1.0/BDT" -i"D:/Documents/university/Other Projects/Pars Kavir/New Docs/Code after den/TPU/New PCB/TPU21_04-12-95/include" --reread_libs --diag_wrap=off --display_error_number --absolute_exe --xml_link_info="PKA_BatteryLoadBank_linkInfo.xml" --rom_model -o "F28335_example_nonBIOS_flash.out" "../include/rts2800_fpu32_fast_supplement.lib" "../include/rts2800_fpu32.lib" "./Adc.obj" "./CodeStartBranch.obj" "./DSP2833x_F.obj" "./DSP2833x_GlobalVariableDefs.obj" "./DSP2833x_Local.obj" "./DSP2833x_S.obj" "./DSP2833x_init.obj" "./DefaultIsr_nonBIOS.obj" "./DelayUs.obj" "./Flash.obj" "./Gpio.obj" "./Passwords.obj" "./PieCtrl_nonBIOS.obj" "./PieVect_nonBIOS.obj" "./SetDBGIER.obj" "./SysCtrl.obj" "./Watchdog.obj" "./ZPKA_N.obj" "../DSP2833x_headers/cmd/DSP2833x_Headers_nonBIOS.cmd" "../DSP2833x_headers/include/Inv_root.lib" "../cmd/F28335_nonBIOS_flash.cmd" -lrts2800_fpu32_fast_supplement.lib -l"C:/ti/controlSUITE/libs/math/FPUfastRTS/V100/lib/rts2800_fpu32_fast_supplement.lib"
>> Compilation failure
makefile:170: recipe for target 'F28335_example_nonBIOS_flash.out' failed
error #10008-D: cannot find file "rts2800_fpu32_fast_supplement.lib"
error #10010: errors encountered during linking; "F28335_example_nonBIOS_flash.out" not built
gmake: *** [F28335_example_nonBIOS_flash.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
and 4 Errors in Problems Windows, are the followings:
1- #10010 null: errors encountered during linking; "F28335_example_nonBIOS_flash.out" not built.
2- cannot find file "rts2800_fpu32_fast_supplement.lib" null: cannot find file "rts2800_fpu32_fast_supplement.lib"
3- gmake: *** [F28335_example_nonBIOS_flash.out] Error 1
4- gmake: Target 'all' not remade because of errors.
The linker command shows that the rts2800_fpu32_fast_supplement.lib is being linked in 3 times, each from a different path.
"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --define=_DEBUG --define=LARGE_MODEL --define=EXAMPLE_FLASH --define=EXAMPLE_NONBIOS -g --diag_warning=225 --diag_wrap=off --display_error_number --quiet -k --asm_listing --c_src_interlist --output_all_syms -z -m"F28335_example_nonBIOS_flash.map" --stack_size=0x200 --warn_sections -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/include" -i"D:/PARS KAVIR ARVAND/BATTERY DISCHARGE TEST/DSP Code/REV1.0/BDT" -i"D:/Documents/university/Other Projects/Pars Kavir/New Docs/Code after den/TPU/New PCB/TPU21_04-12-95/include" --reread_libs --diag_wrap=off --display_error_number --absolute_exe --xml_link_info="PKA_BatteryLoadBank_linkInfo.xml" --rom_model -o "F28335_example_nonBIOS_flash.out" "../include/rts2800_fpu32_fast_supplement.lib" "../include/rts2800_fpu32.lib" "./Adc.obj" "./CodeStartBranch.obj" "./DSP2833x_F.obj" "./DSP2833x_GlobalVariableDefs.obj" "./DSP2833x_Local.obj" "./DSP2833x_S.obj" "./DSP2833x_init.obj" "./DefaultIsr_nonBIOS.obj" "./DelayUs.obj" "./Flash.obj" "./Gpio.obj" "./Passwords.obj" "./PieCtrl_nonBIOS.obj" "./PieVect_nonBIOS.obj" "./SetDBGIER.obj" "./SysCtrl.obj" "./Watchdog.obj" "./ZPKA_N.obj" "../DSP2833x_headers/cmd/DSP2833x_Headers_nonBIOS.cmd" "../DSP2833x_headers/include/Inv_root.lib" "../cmd/F28335_nonBIOS_flash.cmd" -lrts2800_fpu32_fast_supplement.lib -l"C:/ti/controlSUITE/libs/math/FPUfastRTS/V100/lib/rts2800_fpu32_fast_supplement.lib"
The one highlighted in blue is directly added to the project. The ones highlighted in red are added using the -l (--library) linker option. In the CCS GUI, you can find this option under Project Properties->Build->Linker->File Search Paths.
Please ensure that only the relevant one of those libraries required for this project is specified and delete the rest of them.