c++ - 如何将作品链接到您的 Visual Studio 项目?

标签 c++ visual-studio-2010 linker opus

我想尝试一下 opus,所以我下载了 opus 1.1,但是我似乎无法真正将它链接到我的 Visual Studio 2010 Express 项目。我尝试将 opus1.1/include 路径添加到properties/vc++Directoris/include 目录,但链接器仍然提示 部分功能

error LNK2019: unresolved external symbol _opus_decoder_create referenced in function ...
error LNK2019: unresolved external symbol _opus_decoder_destroy referenced in function...
error LNK2019: unresolved external symbol _opus_encoder_destroy referenced in function...
error LNK2019: unresolved external symbol _opus_encoder_ctl referenced in function...
error LNK2019: unresolved external symbol _opus_encode referenced in function...
error LNK2019: unresolved external symbol _opus_decode referenced in function...

如有任何帮助,我们将不胜感激!

最佳答案

opus1.1/win32中有一个.sln文件,用Visual Studio 2010打开它并编译进行调试和发布,然后它会创建.lib文件

关于c++ - 如何将作品链接到您的 Visual Studio 项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21942099/

相关文章:

c++ - 做 vector<vector<T...>> 和 vector<vector<T>...> 有什么区别

c# - 去掉字符串末尾的所有元音

c# - 有没有一种灵活的方式来部署我的 silverlight 应用程序并以编程方式更改设置?

在 GNU 链接器脚本中创建额外的可重定位节

c++ - 如何(仅!)在 Visual Studio 中使用自己的构建脚本

c++ - 代码块内存限制

c++ - C++中的临时变量和性能

c# - 更改 VS2010 文本格式

c - 如何使用与其他 .o 文件一起编译的 .o 文件进行编译 (C99)

c++ - 无法将模板类定义与 Visual Studio 2010 上的主程序链接