我正在将一个项目从VS2013移植到VS2015。它静态链接到第三方库Y.lib
。很遗憾,我们没有此库的源代码。
在最后的链接阶段,我得到链接器错误
unresolved external symbol __iob_func in X.lib"
其中X
使用Y.lib
。
Breaking changes documentation of VS2015声明:
If the library is a third-party library for which source is not available, you should either request an updated binary from the third party or encapsulate your usage of that library into a separate DLL that you compile with the older version of the Visual C++ compiler and libraries.
所以,我的问题是,他们是否是其他解决方案,面对同样问题的人是否已经找到了?