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.
器件型号:CCSTUDIO-C2000
工具/软件:Code Composer Studio
我的客户报告说、在 CCS9.x 中导入旧工程编译失败、旧工程编译成功、并且在 CCS8.x 中始终运行良好
由于客户无法将其项目发送到外部、因此我尝试根据客户操作创建一个简单的示例项目、并确认示例项目可以在 CCS8.3中正常构建、但在 CCS9.2中存在构建错误。
我将示例工程附加到这里、您可以将其放置在 CCS 工作区文件夹之外的任何位置、然后尝试通过 CCS9.X 导入工程、请不要单击按钮复制到工作区、然后编译工程应看到如下所示的错误信息。
****为项目 CCS_TEST 构建配置调试****
"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake"-k -j 4 all -O
编译文件:"c:/Users/a0220378/Desktop/ccstest/source/main.c
调用:C2000编译器
"c:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla2 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu0 -include_path="C:/Users/a0220378/Desktop/ccstest -include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include -g -diag_warning=225 -preabi_directory=-"preproc_display_abi_off-preabi_directory=-"-preabi_abi_directory=-"-preabi_display_abi_rati_over-/Users/a0220378/Desktop/ccstest/source/main.c -preabi_with-out_preabi_directory=raine_display_abi_rati_board-out-out_pre
>>编译失败
subdir_rules.mk:9:目标'source/main.obj'的配方失败
"C:\Users\a0220378\AppData\Local\Temp\{8C1B19F6-B270-4160-B93F-36950902F8FB}"、错误! 在 EOF:[E1500]文件访问错误:打开"source\main.obj"进行写入失败
"C:\Users\a0220378\AppData\Local\Temp\{8C1B19F6-B270-4160-B93F-36950902F8FB}"、错误! :[E1000]未能写入目标文件:source\main.obj
gmake:***[source/main.obj]错误1
gmake:目标"全部"不会由于错误而重新生成。
****构建完成****
Terry、
感谢您的测试案例。 我能够使用测试用例重现问题。 CCSv9中的构建规则发生了错误修复/更改、我认为这可能与 CCSv9中发生这种情况的原因相关(https://sir.ext.ti.com/jira/browse/EXT_EP-9117)。
我将针对此问题提交一个错误以进行进一步分析。
同时、您可以使用以下解决方法之一:
1) 1)在 Debug 目录中手动创建一个名为"source"的目录、然后构建项目、或者
2) 2)将目录说明符设置为"辅助手册"、然后指定要放置目标文件的--obj_directory。 示例如下所示
Terry、
我针对此问题提交了错误 EXT_EP-9749。 您可以通过以下链接跟踪其状态: https://sir.ext.ti.com/jira/browse/EXT_EP-9749