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
Customer prefers to use eclipse for command line build however having issues with System Build Variables not properly being included so getting errors such as
C:\Bluetooth\CC2640_multi_role_master>C:\ti\ccs910\ccs\eclipse\eclipsec -noSplash -data "workspace" -application com.ti.ccstudio.apps.projectBuild -ccs.workspace
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CCS headless build starting... [Wed Jul 29 19:13:49 PDT 2020]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
================================================================================
Pre processing...
================================================================================
Building...
**** Build of configuration FlashROM_Library for project multi_role_cc2640r2lp_stack_library ****
"C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
c:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/blestack/../../../tools/blestack/lib_search/lib_search C:/Bluetooth/CC2640_multi_role_master/workspace/multi_role_cc2640r2lp_stack_library/TOOLS/build_config.opt c:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/blestack/blelib C:/Bluetooth/CC2640_multi_role_master/workspace/multi_role_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd cc2640 c:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/blestack/../../../tools/blestack/lib_search/lib_search.xml c:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/blestack/symbols
makefile:200: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, c:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/blestack/../../../tools/blestack/lib_search/lib_search C:/Bluetooth/CC2640_multi_role_master/workspace/multi_role_cc2640r2lp_stack_library/TOOLS/build_config.opt c:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/blestack/blelib C:/Bluetooth/CC2640_multi_role_master/workspace/multi_role_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd cc2640 c:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/blestack/../../../tools/blestack/lib_search/lib_search.xml c:/ti/simplelink_cc2640r2_sdk_4_20_00_04/source/ti/blestack/symbols, ...) failed.
gmake[1]: [pre-build] Error 2 (ignored)
Hi Lawrence,
First off, is the customer running from a DOS command window or Windows PowerShell? The later can cause various issues with the CCS command-line project commands.
If they are using the DOS command window, can you confirm that the same exact project builds just fine when building in the CCS IDE using the same CCS version and workspace folder?
Thanks
ki
Customer had identified the issue. It was due to there was quarantined file in the SDK tools directory which caused the build failure “lib_search.exe”.
Glad to hear the customer resolve the issue and thanks for the update!
ki