HackerDev-Felix / WechatDecrypt

微信消息解密工具
MIT License
455 stars 119 forks source link

Have a problem #1

Open AhrendsSchmidt opened 3 years ago

AhrendsSchmidt commented 3 years ago

What is the version of openssl used by the program.I did not compile successfully under Linux or Windows

Xc1Ym commented 3 years ago

我用的vcpkg安装的openssl,可以使用

AhrendsSchmidt commented 3 years ago

ok

7Mitu commented 3 years ago

1.1.1不行,1.0.2成了

AhrendsSchmidt commented 3 years ago

1.1.1不行,1.0.2成了

How did you do?

xfap commented 3 years ago

https://blog.csdn.net/Fengfgg/article/details/115524490

forconz commented 3 years ago

C:\WechatDecrypt-main>cl /EHsc wechat.cpp 用于 x86 的 Microsoft (R) C/C++ 优化编译器 19.29.30040 版 版权所有(C) Microsoft Corporation。保留所有权利。

wechat.cpp wechat.cpp(1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 wechat.cpp(4): fatal error C1083: 无法打开包括文件: “openssl/rand.h”: No such file or directory

forconz commented 3 years ago

使用VS自带的cmd, git clone https://github.com/microsoft/vcpkg .\vcpkg\bootstrap-vcpkg.bat .\vcpkg install openssl:x86-windows

C:\Users\Tao\Downloads\WechatDecrypt-main\WechatDecrypt-main>cl /EHsc wechat.cpp /I E:\Test\vcpkg\packages\openssl_x86-windows\include 用于 x86 的 Microsoft (R) C/C++ 优化编译器 19.29.30040 版 版权所有(C) Microsoft Corporation。保留所有权利。

wechat.cpp wechat.cpp(1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 wechat.cpp(39): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int wechat.cpp(40): error C2059: 语法错误:“return” wechat.cpp(41): error C2059: 语法错误:“}” wechat.cpp(41): error C2143: 语法错误: 缺少“;”(在“}”的前面) wechat.cpp(44): error C2143: 语法错误: 缺少“;”(在“{”的前面) wechat.cpp(44): error C2447: “{”: 缺少函数标题(是否是老式的形式表?)