MSVS2010中静态链接库(MSVS2008)的使用
我是否能够在 MS Visual Studio 2010 项目中使用在 MS Visual Studio 2008 下编译的静态链接库,而无需重建/重新编译它?
我说的是OpenSSL库,它仅适用于VS2008的预编译二进制包。
Will i be able to use a static linked library compiled under MS Visual Studio 2008 in MS Visual Studio 2010 projects without to rebuild/recompile it?
I'm talking about the OpenSSL library, which is only available for VS2008 in a precompiled binary package.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于 OpenSSL 本身只是 C,因此生成的可执行文件将需要 VS 2008 (MSVCR90) 和 VS 2010 运行时库,但它应该可以工作并且可用。我建议也使用 VS 2010 重新编译 OpenSSL。
Since OpenSSL itself is only C, your resulting executable will require both VS 2008 (MSVCR90) and VS 2010 run time libraries, but it should work and be usable. I'd suggest recompiling the OpenSSL with VS 2010 as well.