Update Compilation guide.md

This commit is contained in:
刘旭 2023-04-19 20:17:18 +08:00 committed by GitHub
commit c01922a414
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,14 +3,21 @@
In order to compile Magpie, you need to first install:
1. The latest version of Visual Studio 2022. You need to install both "Desktop development with C++" and "Universal Windows Platform development" workloads and Windows SDK build 22621 or newer.
2. [CMake](https://cmake.org/)
You can also use the built-in CMake of Visual Studio, which is located at `%ProgramFiles%\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin`.
2. [Python](https://www.python.org/) 3.6+
3. [Conan](https://conan.io/) v1
```bash
pip install conan<2.0
```
To execute in cmd, double quotes should be added around `conan<2.0`. Make sure Conan has been added to the system path and use the following command to check:
To execute in cmd, double quotes should be added around `conan<2.0`.
Make sure that the above dependencies have been added to the system path, and use the following commands to check:
```bash
cmake --version
python --version
conan --version
```