我想尝试一下 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/