简体   繁体   English

在MSVS2010中使用静态链接库(MSVS2008)

[英]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.

相关问题 项目范围内的其他库路径-MSVS2008 - Project-wide additional library paths — MSVS2008 在msvs2010上使用curl编译项目 - compiling project using curl on msvs2010 MSVS2010中“%”宏与“$”宏之间的差异 - Difference between “%” macros and “$” macros in MSVS2010 移植到MSVS2010 C ++ GUI的MSVS2010 C ++控制台代码失败。 为什么? - MSVS2010 C++ Console Code Ported to MSVS2010 C++ GUI is Failing. Why? MSVS2010链接器错误悲伤-不能完全确定出什么问题了 - MSVS2010 linker error sadness - not entirely sure what is wrong xcode 4中的赋值运算符崩溃在MSVS2010中可以正常运行 - Assignment operator crash in xcode 4, runs fine in MSVS2010 从MSVS2005移植C ++ .net代码到MSVS2010时找不到资源(?) - Resource not found(?) while porting C++ .net code from MSVS2005 to MSVS2010 从MSVS2005到MSVS2010的端口:我再也找不到ReadProcessorPwrScheme() - Port from MSVS2005 to MSVS2010: I canno longer find ReadProcessorPwrScheme() 将预先构建的Qt二进制文件用于MSVS 2008和MSVS 2010 - Using prebuilt Qt binaries for MSVS 2008 with MSVS 2010 MSVS2008编译器找不到隐式类型转换:无法将参数1从'SrcT'转换为'DstT' - MSVS2008 compiler cannot find implicit type conversion: cannot convert parameter 1 from 'SrcT' to 'DstT'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM