问题描述
因此,我正在尝试将Visual Studio内的openssl用于某些加密项目.这些是我到目前为止所做的步骤:
So I am trying to use openssl inside Visual Studio for some encryption project.These are the steps I did until now:
-
从此处下载Win64 OpenSSL v1.1.1b.
Download Win64 OpenSSL v1.1.1b from here.
设置Additional Include Directories
指向oppenssl/include目录(从安装开始)
Set Additional Include Directories
to point to the oppenssl/include directory (from instalation)
现在,当我进行构建时,仍然会出现很多未定义的引用错误.
Now when I build I still get lots of undefined references errors.
从我阅读的内容中,我仍然需要包含libeay32.lib
和ssleay32.lib
,但是我在openssl安装目录中的任何位置都找不到它们.
From what I read I still need to include the libeay32.lib
and ssleay32.lib
, but I didn't find them anywhere in my openssl instalation directory.
我点击了以下链接以寻求帮助:
I followed this links for help:
如何将openssl包含在Visual Studio Expres 2012 Windows 7 x64
显然,我现在唯一的问题是我缺少此文件.有人知道我在哪里可以找到他们吗?
Aparently my only issue now is that I am missing this files. Anyone know where can I find them ?
推荐答案
如何"已过时.自版本1.1.0起,OpenSSL已将其库名称从以下位置更改:libeay32.dll-> libcrypto.dllssleay32.dll-> libssl.dll
"How to" out of date.Since version 1.1.0 OpenSSL have changed their library names from:libeay32.dll -> libcrypto.dllssleay32.dll -> libssl.dll
https://github.com/arvidn/libtorrent/issues/1931
我现在看到:
-
MD
:多线程DLL -
MDd
:多线程调试DLL -
MT
:多线程(静态) -
MTd
多线程(静态)调试
MD
: Multi-threaded DLLMDd
: Multi-threaded Debug DLLMT
: Multi-threaded (static)MTd
Multi-threaded (static) Debug
这篇关于在Windows x64上设置openssl时找不到libeay32.lib和ssleay32.lib文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!