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.

[参考译文] 编译器:错误:-image 需要 ROMS 指令

Guru**** 2616675 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/651580/compiler-error--image-requires-roms-directive

工具/软件:TI C/C++编译器

CCS 构建问题、解决方案:
2.安装,然后将 mkhex4bin.exe 复制到 CCS 安装路径,如 C:\ti\ccsv6\utils\tiobj2bin。
3.删除*。map,*。out 和*。xml。
4.重建。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我不确定,但我很确定您有较旧版本的 CCS,该版本的目录中有损坏的文件,类似于...

    C:\ti\ccsv6\utils\tiobj2bin 

    [报价用户="GE shuihu"]版本:CG_xml-v2_32_00-Setup.exe[/quot]

    我建议您安装最新版本、即2.50.00。

    将 tiobj2bin.bat 替换为 CG_xml 安装的\ofd 目录中的。  将 mkhex4bin.exe 替换为 CG_xml 安装的\bin 目录中的。  虽然我不能保证这种做法能够奏效,但我认为你的机会是好的。

    有关更多背景信息、请参阅 此论坛帖子。  请记住、写入时、CG_xml 版本2.50.00不可用。

    谢谢、此致、

    乔治