My project is reporting the following build error, which I don't understand and don't know how to resolve. Several other people have posted this error but I don't see an explanation of the cause or resolution. I'm using CCS Version: 6.1.0.00104.
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:
One possible clue is that CCS is adding [TI-RTOS] to this file in the project view. The exact same .cfg file does not cause the error in another CCS project in which it is not marked with [TI-RTOS] in the project view.
In the screenshot below, you can see the .cfg file in analog_light_sensor_tirtos project is not labeled as [TI-RTOS] and this builds without error. The exact same file is added to the cc26xx_LMT01_tirtos project whic has the build error.