[英]usage of static linked library (MSVS2008) in MSVS2010
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? 我可以在MS Visual Studio 2010项目中使用在MS Visual Studio 2008下编译的静态链接库而无需重新生成/重新编译它吗?
I'm talking about the OpenSSL library, which is only available for VS2008 in a precompiled binary package. 我说的是OpenSSL库,该库仅在预编译的二进制包中可用于VS2008。
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. 由于OpenSSL本身仅为C,因此生成的可执行文件将同时需要VS 2008(MSVCR90)和VS 2010运行时库,但是它应该可以工作并且可以使用。 I'd suggest recompiling the OpenSSL with VS 2010 as well.
我建议也用VS 2010重新编译OpenSSL。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.