Skip to content

Commit ec7e130

Browse files
committed
Add Windows build instructions
1 parent 46ee030 commit ec7e130

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

content/get-started/windows.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ icon: fab fa-windows
55
exclude: true
66
weight: 3
77
---
8-
{% include 'partials/alert/edit.html.twig' %}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: MSYS2 <em>(recommended)</em>
3+
section: get-started/windows
4+
exclude: true
5+
---
6+
# Building from source
7+
8+
Using [MSYS2](https://www.msys2.org/) is the official way of compiling this project on Windows.
9+
Download the MSYS2 installer and follow the installation steps.
10+
11+
The provided build script will build the entire libimobiledevice stack with the least
12+
amount of external dependencies for Windows.
13+
14+
# Prerequesites
15+
16+
It is recommended to use the MSYS2 MinGW 64-bit shell. Run it and make sure the required dependencies are installed:
17+
18+
```shell-session
19+
pacman -S base-devel \
20+
git \
21+
mingw-w64-x86_64-gcc \
22+
make \
23+
libtool \
24+
autoconf \
25+
automake-wrapper
26+
```
27+
28+
Note that usbmuxd is currently not fully supported on Windows. To use this library you need to have Apple Mobile Device Support package installed (part of iTunes).
29+
30+
# Installation
31+
32+
In the MSYS2 MinGW shell, type the following commands:
33+
34+
```shell-session
35+
$ mkdir -p limd-build
36+
$ cd limd-build
37+
$ curl -Ls -o limd-build-msys2.sh https://is.gd/limdmsys2
38+
$ bash ./limd-build-msys2.sh
39+
```
40+
41+
The script can be reviewed [here](https://gist.github.com/nikias/f4447669d5ff51313c7ae57b0adf88aa).

0 commit comments

Comments
 (0)