VS2008 compiling OpenSSL issues

Source: Internet
Author: User

When running the OPENSSL demo, debug version is normal, release version of this newspaper exception: Openssl_uplink (585e6000,08): No openssl_applink. The demo compiler environment is vs2008, the OpenSSL Library compilation environment is VS2010, with the depends tool to analyze Libeay32.dll dependency Msvcr100.dll, speculation may be related to the demo run environment, so re-in the VS2008 tool x86 environment compiled OpenSSL, run the demo again, the results still error.

It was later identified because the use of nmake-f Ms\ntdll.mak instructions to compile OpenSSL, compiled into a dynamic library, changed to Nmake-f Ms\nt.mak compiled static library, normal.

OpenSSL static Library output path: Out32 (Nt.mak), dynamic Library path: Out32dll (Ntdll.mak)

Attach a different version of the C + + runtime compiler instruction manual:
C Runtime Library:
/MD MSVCRT. Release version of the LIB multithreaded DLL
/MDd MSVCRTD. Debug version of LIB multithreaded DLLs
/MT LIBCMT. LIB multi-threaded static link release version
/MTd LIBCMTD. LIB multi-threaded static link debug version
/clr MSVCMRT. LIB managed code and unmanaged code blending
/clr:pure Msvcurt. LIB Pure Managed code

C + + Standard Library:
/MD Msvcprt. Release version of the LIB multithreaded DLL
/MDd MSVCPRTD. Debug version of LIB multithreaded DLLs
/MT LIBCPMT. LIB multi-threaded static link release version
/MTd LIBCPMTD. LIB multi-threaded static link debug version


Original link: http://blog.csdn.net/qncj666/article/details/8244893

VS2008 compiling OpenSSL issues

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.