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.

Build Error - xdc.cfg.SourceDir

Other Parts Discussed in Thread: BLE-STACK

We are trying to build sensortag application in Ccs and getting 3 errors.

Here is the Build log:

**** Build of configuration FlashOnlyOAD for project SensorTag **** "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 'Building file: D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SensorTag/CC26xx/CCS/Config/appBLE.cfg' 'Invoking: XDCtools' "C:/ti/xdctools_3_31_01_33_core/xs" --xdcpath="C:/ti/tirtos_simplelink_2_14_03_28/packages;C:/ti/tirtos_simplelink_2_14_03_28/products/bios_6_42_03_35/packages;C:/ti/tirtos_simplelink_2_14_03_28/products/uia_2_00_02_39/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/include\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SensorTag/CC26xx/Source/Application\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/include\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/ICall/Include\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/Profiles/Roles/CC26xx\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/Profiles/Roles\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/Profiles/Keys\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/Profiles/DevInfo\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/Profiles/SensorProfile/cc26xx\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/Profiles/OAD/cc26xxST\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/common/cc26xx\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/applib/heap\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/ble/hci\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/ble/controller/CC26xx/include\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/ble/host\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/hal/target/CC2650TIRTOS\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/hal/target/_common/cc26xx\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/hal/include\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/osal/include\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/services/sdata\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/services/saddr\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/icall/include\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/icall/ports/tirtos\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Components/ble/include\" --include_path=\"C:/ti/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/interfaces\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/devices\" --include_path=\"D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/CC26XXST_0120\" --define=POWER_SAVING --define=GATT_TI_UUID_128_BIT --define=FEATURE_REGISTER_SERVICE --define=FEATURE_OAD --define=FACTORY_IMAGE --define=USE_ICALL --define=TI_DRIVERS_PIN_INCLUDED --define=TI_DRIVERS_I2C_INCLUDED --define=TI_DRIVERS_SPI_INCLUDED --define=GAPROLE_TASK_STACK_SIZE=550 --define=HEAPMGR_SIZE=2872 --define=ICALL_MAX_NUM_TASKS=8 --define=ICALL_MAX_NUM_ENTITIES=11 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=CC26XXWARE --define=CC26XX --diag_warning=225 --display_error_number --diag_suppress=48 --diag_wrap=off --gen_func_subsections=on " "D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SensorTag/CC26xx/CCS/Config/appBLE.cfg" making package.mak (because of package.bld) ... configuring appBLE.xem3 from package/cfg/appBLE_pem3.cfg ... generating custom ROM library makefile ... Starting build of library sources ... making D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios/rom_sysbios.aem3 ... gmake[1]: Entering directory `D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios' "C:/ti/tirtos_simplelink_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 76: error: cannot open source file "driverlib/setup.h" "C:/ti/tirtos_simplelink_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 77: error: cannot open source file "driverlib/ccfgread.h" 2 errors detected in the compilation of "C:/ti/tirtos_simplelink_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/family/arm/cc26xx/Power.c". >> Compilation failure gmake[1]: *** [rom_arm_cc26xx_Power_lib.pp] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory `D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios' gmake: *** [D:/Users/SUUSER/workspace_v6_1/simplelink/ble_cc26xx_2_01_00_44423/Projects/ble/SensorTag/CC26xx/CCS/Config/src/sysbios/rom_sysbios.aem3] Error 2 Build of libraries failed. error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2: js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed! gmake.exe: *** [package/cfg/appBLE_pem3.xdl] Error 1 gmake.exe: *** Deleting file `package/cfg/appBLE_pem3.xdl' gmake.exe: *** [package/cfg/appBLE_pem3.xdl] Deleting file `package/cfg/appBLE_pem3.h' gmake.exe: *** [package/cfg/appBLE_pem3.xdl] Deleting file `package/cfg/appBLE_pem3.c' js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted. gmake: *** [configPkg/linker.cmd] Error 1 gmake: Target `all' not remade because of errors. **** Build Finished ****

I tried building it from C:/ti but same errors occurred.

Compiler version: TI v5.2.4 && XDCtools Version: 3.31.1.33_core

Any suggestions?

-----

Kubilay Doğukan AYDIN