Reputation: 3946
I want port an OpenSSL based project over to Windows that uses OpenSSL. I have Visual Studio 2010, and I downloaded OpenSSL from their download page.
I am trying to follow the directions from How to use OpenSSL with Visual Studio, but I am unable to find any library folders (lib) or dlls.
I am also getting the error Cannot open include file: 'openssl/openssl.conf.h': No such file or directory
the file that is attempting to use that is the 'e_os2.h' file.
Upvotes: 4
Views: 5596
Reputation: 102245
Why are there no lib folders or dll files?
OpenSSL is distributed in source form. You have to build it yourself.
An alternative to building it yourself is to use Thomas Hruska's Win32 OpenSSL.
Why is it trying to include a file that doesn't exist in the original package?
OpenSSL's Configure
script creates two header files that are tailored for your platform. The first is <openssl/opensslconf.h>
, and the second is <openssl/bn.h>
. If you have not run configure, then they will not be present.
Upvotes: 4