0
点赞
收藏
分享

微信扫一扫

E1696 cannot open source file “openssl/buffer.h“


文章目录

  • ​​小结​​
  • ​​问题​​
  • ​​解决​​
  • ​​参考​​

小结

在Visual Studio 2019中需要使用到​​openssl​​​,返回找不到源文件错误,例如:
​​​"找不到源文件openssl/buffer.h" ​​ 对openssl进行了添加,解决了问题。

问题

报错: ​​E1696 cannot open source file "openssl/buffer.h" in crypto.hpp​

解决

  1. Install Win32 OpenSSL.
  2. Go Tools > Options… In Options dialog Directories tab. Select category Include files. Add “\include” here, for example “C:\OPENSSL-WIN32\INCLUDE”.

参考

​​Fatal error C1083: Cannot open include file: ‘openssl/crypto.h’: No such file or directory​​​​How to Installing OpenSSL on Windows 10, 11​​


举报

相关推荐

0 条评论