开发者

Going mad trying to compile against OpenSSL/libcrypto

开发者 https://www.devze.com 2023-03-16 19:17 出处:网络
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++.

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 m开发者_运维百科aking use of a function in openssl and compile it from a cygwin shell on Windows.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消