|
|
We use MSYS2 to do that.
|
|
|
|
|
|
|
|
|
### Install MSYS2
|
|
|
|
|
|
Install, upgrade, ... (as said in their tuto)
|
|
|
[Download](http://www.msys2.org/) MSYS2 and install it.
|
|
|
|
|
|
Run MSYS2 executable. It may take a while. Upgrade the system:
|
|
|
|
|
|
pacman -Syu
|
|
|
|
|
|
If needed, close MSYS2, run it again from Start menu. Update the rest with:
|
|
|
|
|
|
pacman -Su
|
|
|
|
|
|
|
|
|
### Install dependencies
|
|
|
|
|
|
With pacman, install gcc, make, base-devel, zlib, zlib-devel.
|
|
|
With pacman, install gcc, make, base-devel, zlib and zlib-devel:
|
|
|
|
|
|
pacman -S gcc make base-devel zlib zlib-devel
|
|
|
|
|
|
Check if ad (and other files present in the x64...... folder) are present in bin. Else copy them (and rename ld.... ld). This problem occurs on fat system. NTFS should not cause it.
|
|
|
Check if `ad.exe` (and other files present in the `usr/x86_64-pc-msys/bin` folder inside the msys install folder) are also present in `usr/bin`. Else copy them (and rename `ld.bfd.exe` `ld.exe` inside the usr/bin folder). This problem occurs on fat system. NTFS should not cause it.
|
|
|
|
|
|
### Get minimap2
|
|
|
|
... | ... | @@ -19,8 +30,10 @@ Download and extract minimap2 zip file from the repository |
|
|
|
|
|
Start MSYS2 console, go to minimap2 source folder.
|
|
|
|
|
|
Launch make command.
|
|
|
Launch:
|
|
|
|
|
|
make
|
|
|
|
|
|
Copy minimap2.exe file in a folder. Copy in the same folder msys-2.0.dll and msys-z.dll files from the usr/bin folder of the MSYS2 install folder.
|
|
|
Copy `minimap2.exe` file in a folder. Copy in the same folder `msys-2.0.dll` and `msys-z.dll` files from the `usr/bin` folder of the MSYS2 install folder.
|
|
|
|
|
|
That's right! |
|
|
\ No newline at end of file |
|
|
That's right! Always keep minimap2.exe in the same folder as the dll files. |
|
|
\ No newline at end of file |