我在做一个项目,需要用到ST公司的传感器,并引入外部代码。
我将外部代码放入一个正确运行地程序里,外部代码里引用了一些外部API函数,因此我将包含这些API函数.h文件include进工程里。
程序能够通过build,但是link时会出现错误,告诉我外部API函数未被定义。
恳请各位给予我指点!
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.
我在做一个项目,需要用到ST公司的传感器,并引入外部代码。
我将外部代码放入一个正确运行地程序里,外部代码里引用了一些外部API函数,因此我将包含这些API函数.h文件include进工程里。
程序能够通过build,但是link时会出现错误,告诉我外部API函数未被定义。
恳请各位给予我指点!