Skip to content

add MinGW/MSYS2 as compiling option #287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions docs/BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,56 @@ make -j4
# To use it as a command, uncomment the following line:
# sudo make install -j4
```

# How to build with MinGW/MSYS2

Install MSYS2: https://www.msys2.org/

#### Clone this repo recursively:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Normalize heading level and remove trailing colon
Jumping from an H1 (# How to build…) to an H4 (#### Clone…:) violates MD001, and trailing punctuation violates MD026. Use a consistent level (H2) and drop the colon:

-#### Clone this repo recursively:
+## Clone this repo recursively
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
#### Clone this repo recursively:
## Clone this repo recursively
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

145-145: Heading levels should only increment by one level at a time
Expected: h2; Actual: h4

(MD001, heading-increment)


145-145: Trailing punctuation in heading
Punctuation: ':'

(MD026, no-trailing-punctuation)


```bash
git clone --recursive https://github.com/horsicq/DIE-engine.git
cd DIE-engine
```

### Install libaries

```bash
pacman -S mingw-w64-ucrt-x86_64-gcc
pacman -S mingw-w64-x86_64-qt5-base
pacman -S mingw-w64-x86_64-qt5-tools
pacman -S mingw-w64-x86_64-qt5-script
```

#### Build

```bash
chmod a+x configure
./configure
make -j4
```

# How to build with MinGW/MSYS2

#### Clone this repo recursively:

```bash
git clone --recursive https://github.com/horsicq/DIE-engine.git
cd DIE-engine
```

### Install libaries

```bash
pacman -S mingw-w64-x86_64-qt5-base
pacman -S mingw-w64-x86_64-qt5-tools
pacman -S mingw-w64-x86_64-qt5-script
```

#### Build

```bash
chmod a+x configure
./configure
make -j4
```