From 16d749bf7720203f72cd2e84eb3d5b387f995638 Mon Sep 17 00:00:00 2001 From: hzqst <113660872@qq.com> Date: Sun, 25 Feb 2024 13:46:19 +0800 Subject: [PATCH] update README.md --- README.md | 14 +++++--------- READMECN.md | 12 ++++-------- 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 366e456..a7ac4e2 100644 --- a/README.md +++ b/README.md @@ -30,17 +30,13 @@ This project is licensed under MIT License, however if it is otherwise stated be ## Build Requirement -1. [Visual Studio 2017, with vc141 toolset](https://visualstudio.microsoft.com/) +1. [Visual Studio 2019, with vc142 toolset, with Windows SDK](https://visualstudio.microsoft.com/) -3. [Windows 10 SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) +2. [QT 5.15 win32 (x86) for msvc2019, with QtCreator](https://www.qt.io/download) -4. [QT 5.12 for msvc2017, win32 (x86), with QtCreator](https://www.qt.io/download) +3. [NodeJS v20.11.1 LTS (32-bit)](https://nodejs.org/) -5. [NodeJS v14.16 (32-bit)](https://nodejs.org/download/release/v14.16.0/) - -6. [node-gyp](https://www.npmjs.com/package/node-gyp) - -* QT 5.15 with Visual Studio 2019 also works but you will need to configure `build-*.bat` by yourself and force `vswhere` to locate Visual Studio 2019 instead of Visual Studio 2017 +4. [node-gyp](https://www.npmjs.com/package/node-gyp) ## Build Instruction @@ -54,7 +50,7 @@ Let's assume that you have all requirements installed correctly. 3. Run "build-boost.bat", wait until all boost static libs are generated. (this may takes couple of minutes, depending on your CPU performance) -4. Run "build-CGAHook.bat", wait until "CGAHook.dll" is generated under "build" directory. Remember to redirect the Windows SDK version for msvc project if you have installed a different version of Windows SDK other than "10.0.17763.0". +4. Run "build-CGAHook.bat", wait until "CGAHook.dll" is generated under "build" directory. 5. Run "build-qhttp.bat", wait until "qhttp.dll" generated under "build" directory. diff --git a/READMECN.md b/READMECN.md index e5607d1..c7ff174 100644 --- a/READMECN.md +++ b/READMECN.md @@ -36,17 +36,13 @@ QQ群: 300303705 ## 编译前置需求 -1. [Visual Studio 2017, 和 vc141 工具集](https://visualstudio.microsoft.com/) +1. [Visual Studio 2019, 和 vc142 工具集, 和 Windows SDK](https://visualstudio.microsoft.com/) -2. [Windows 10 SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) +2. [QT 5.12 for msvc2017, 32位版本 (x86), 以及 QtCreator](https://www.qt.io/download) -3. [QT 5.12 for msvc2017, 32位版本 (x86), 以及 QtCreator](https://www.qt.io/download) +3. [NodeJS v20.11.1 LTS (32位)](https://nodejs.org/) -4. [NodeJS v14.16 (32位)](https://nodejs.org/download/release/v14.16.0/) - -5. [node-gyp](https://www.npmjs.com/package/node-gyp) - -* QT 5.15 + Visual Studio 2019 也是可以的,但你需要自己调整`build-*.bat`中的配置,让`vswhere`定位到vs2019而非vs2017。 +4. [node-gyp](https://www.npmjs.com/package/node-gyp) ## 编译