Search code examples
c++node.jscygwinopensslwaf

Going mad trying to compile against OpenSSL/libcrypto


I have been trying to do this for nearly 3 days now. Its driving me nuts.

As you can imagine I'm quite new to C++.

Can anyone give me step by step instructions to do a hello world program making use of a function in openssl and compile it from a cygwin shell on Windows.


Solution

  • You forgot to link with libcrypto. Append -lcrypto to your linker flags.