Linking OpenSSL on Windows
David Nadlinger
see at klickverbot.at
Mon Jul 9 06:45:16 PDT 2012
On Sunday, 8 July 2012 at 22:33:15 UTC, Andy wrote:
> I've been using D on linux for a few months now and have the
> hang of it. I wrote a project that should be able to be
> compiled on both Linux and Windows. I've gotten it to work
> excellently on Linux, but I can't seem to figure out how to
> link the openssl dll files on Windows. On linux, a simple
> passing of -lssl and -lcrypto the ld works great, but what do I
> need to do for this to work with optlink?
I described the installation of Thrift (which also uses OpenSSL)
on Windows here:
https://github.com/klickverbot/thrift/wiki/Building-Thrift-D-on-Windows
In the build system, I just add the generated import libraries to
the command lines afterwards (like a source file, without any
special switch).
Hope this helps,
David
More information about the Digitalmars-d-learn
mailing list