前言
经过一段时间的折磨,终于编译出了32位库,经历了各种报错,以下为相关总结。
环境
1.VS 2017安装;
2.ActivePerl安装;
3.Python 2.7安装(不能用Python 3及以上版本,官方暂不支持);
4.Ruby安装;
5.icu 解压即用,比如解压到C:\icu4c,并添加环境变量;
6.openssl (不要以为版本号看起来更高就下载那个openssl-1.0.2h.tar.gz,该版本不兼容!)
编译openssl流程如下:
①解压下载的openssl源码,比如解压到C:\openssl-1.0.1t ;
②打开“VS2017 开发人员命令提示“;
③执行命令
cd C:\openssl-1.0.1t
④执行命令
perl Configure VC-WIN32 no-asm –prefix=C:\openssl-1.0.1t\win32dll
⑤执行命令
ms\do_ms
⑥执行命令
nmake -f ms\ntdll.mak
⑦执行命令
nmake -f ms\ntdll.mak install
7.windows 10 SDK
编译
1.下载Qt最新源码 qt-everywhere-src-5.11.2.zip
2.解压;
3.打开qt-everywhere-src-5.11.2\qtwebengine\src\3rdparty\chromium