Linking OpenSSL on Windows

dnewbie run3 at myopera.com
Sun Jul 8 18:45:51 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 think you need to generate an import library from the openssl 
dll file, then use the generated .lib file in optlink command 
line, see http://www.digitalmars.com/ctg/implib.html


More information about the Digitalmars-d-learn mailing list