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 am getting this error in code composer studio
**** Build of configuration Debug for project trial1 ****
"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
Building target: "trial1.out"
Invoking: C2000 Linker
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" -v28 -ml -mt -O4 --preinclude="C:/ti/controlSUITE/development_kits/C2000_LaunchPad/F2802x_Device.h" --preinclude="C:/ti/controlSUITE/development_kits/C2000_LaunchPad/f2802x_headers/source/F2802x_GlobalVariableDefs.c" --preinclude="C:/ti/controlSUITE/development_kits/C2000_LaunchPad/DSP28x_Project.h" -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi -z -m"trial1.map" --stack_size=0x300 --warn_sections -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/lib" -i"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --end-group --reread_libs --diag_wrap=off --display_error_number --xml_link_info="trial1_linkInfo.xml" --rom_model -o "trial1.out" "./main.obj" "../28027_RAM_lnk.cmd" -llibc.a -l"C:/ti/controlSUITE/development_kits/C2000_LaunchPad/f2802x_headers/include" -l"C:/ti/controlSUITE/development_kits/C2000_LaunchPad/f2802x_common/lib/driverlib.lib"
makefile:143: recipe for target 'trial1.out' failed
error #24044-D: Unmatched --end-group option (missing --start-group).
gmake[1]: *** [trial1.out] Error 1
gmake[1]: Target 'secondary-outputs' not remade because of errors.
gmake: *** [all] Error 2
makefile:139: recipe for target 'all' failed
**** Build Finished ****
what is wrong here?
I see a couple of issues here.
1) The paths under --preinclude option should be moved to --include_path, and they should only point to the path not to the actual file.
Please see this related thread for more information.
2) There is a --end-group linker option without a matching --start-group option. I suspect you don't actually need this option and it was probably enabled inadvertently. Try disabling it from Linker options and rebuilding.