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.

[参考译文] TMS320F28335:使用 sgen 库时必须包含哪些文件

Guru**** 2538950 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/600474/tms320f28335-which-files-must-be-included-while-using-the-sgen-library

器件型号:TMS320F28335

我正在尝试使用 sgen 库创建一个正弦波、用于正弦三角 PWM。

我得到错误:  

未定义         第一个参考
符号               文件中
------             --------
_SGENT_3_calc  ./MLI_1.0.obj

错误#10234-D:未解析的符号仍然存在

说明: 未解析的符号_SGENT_3_calc、首先在./MLI_1.0.obj 中引用

我在库中添加了 Includes 文件夹、然后将其添加到项目中

这是链接器问题吗?

请提供帮助、谢谢!

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

    确保您的项目中包含了".lib"、而不仅仅是"include"文件夹。

    此致
    Chris