I know it’s old! I faced the problem myself and here’s the solution.
First of all, you should install (normal ordinary installation) openssl. (It’s from here).
Now, after you create a project, I quote:
Make sure the following settings are setup in the project property
pages:[C/C++ -> General -> Additional Include Directories] value:
OpenSSL’s include directory in your machine (e.g C:\openssl\include)[Linker -> General -> Additional Library Directories] value: OpenSSL’s
lib directory in your machine (e.g C:\openssl\lib)[Linker -> Input
-> Additional Dependencies] value: libeay32.lib