[openssl-users] Dynamic link openssl with Visual Studio
rasjv at yandex.com
Wed Mar 11 17:34:15 UTC 2015
11.03.2015, 20:22, "Ken Goldman" <kgoldman at us.ibm.com>:
> I would like to use the Shining Light precompiled openssl binaries
> within Visual Studio.
> I can dynamic link with gcc and the libraries in OpenSSL/lib/MinGW
> I can static link with VS and the libraries in OpenSSL/lib/VC/static
> When I dynamic link with VS and the libraries in OpenSSL/lib/VC, it
> crashes on a call to PEM_read_PUBKEY(), and appears the stack is corrupted.
> I believe that the libeay32MDd.lib matches the VS /MDd setting. I tried
> with and without applink.c.
> Static link would not be the end of the world, but shouldn't it work?
I think you must simply build static libraries yourself with Visual C++. And it will work.
More information about the openssl-users