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.

[参考译文] RTOS/EK-TM4C1294XL:尝试编译工程时出现编译器错误

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/785870/rtos-ek-tm4c1294xl-compiler-error-when-trying-to-build-the-project

器件型号:EK-TM4C1294XL

工具/软件:TI-RTOS

我们在编译时发出类似以下的错误

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

    错误是因为链接器无法找到与您使用的编译器版本相关联的 RTS (运行时支持)库。 您可以 通过右键单击 Code Composer Studio 的"Project Explorer"窗口中的工程名称并选择"Show Build Settings"来检查链接器使用的文件搜索路径。 然后导航至"CCS Build"->"ARM Linker"->"File Search Path"级别。  

    在我的计算机上的上述示例中、它包括库 libc.a 和搜索路径"${CG_TOOL_ROOT}/lib"。 此宏扩展到我的计算机上的"C:\ti\ccsv8\tools\compiler\ti-cgt-arm_18.1.5.LTS \lib"。 根据您使用的项目的最初设置方式、它可能使用的路径中的硬编码工具版本号与您使用的编译器版本不匹配。