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.
工具/软件:Code Composer Studio
你(们)好 我从 CCS 中得到了我认为链接器错误的结果、并且不知道如何解决这些错误。 请参阅随附的文件以了解修边工具错误图片。 我已经尝试单击#10234-D 中引用的链接并将 driverlib.lib 库添加到 gmake 命令中、但这不起作用。 错误似乎源于我包含的 SysCtlClockSet()调用。 但是、我之前使用过#include "driverlib/sysctl.h"语句。 请提供任何帮助。 谢谢、Harrye2e.ti.com/.../CCS-TM4C123GH.docx
[引用 user="halo"]我尝试单击#10234-D 中引用的链接并将 driverlib.lib 库添加到 gmake 命令中,但这不起作用。
您是如何以及在何处添加库的?
缺少 driverlib.lib 会导致未解析的符号错误。 添加它的位置在项目的链接器选项中(Project Properties->Build->Linker->File Search Path)
您好 AartiG 和 desouza。 感谢您的回复。 这似乎解决了它。 我认为、通过#include-ing .h 文件、编译器/链接器会编译相关的.c 文件并将其链接到工程中。 另外、感谢您提供 software-dl.ti.com 网站的链接;如果您只知道查找位置和查找内容、这里有很多有用的内容。 哈里。