Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 9aa6177

Browse files
committed
INSTALL: MinGW instruction (#15405)
1 parent 0e3c012 commit 9aa6177

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

INSTALL

+26-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,32 @@ Install it (may require sudo):
4444
Installation on Windows
4545
-----------------------
4646

47-
To be written.
47+
Only MinGW is supported for now.
48+
49+
First, install MSYS2.
50+
51+
Then, from "MYS2 MinGW64 32-bit" shell, install the required packages:
52+
53+
pacman -S msys/make
54+
pacman -S mingw32/mingw-w64-i686-toolchain
55+
pacman -S mingw32/mingw-w64-i686-cmake
56+
pacman -S mingw32/mingw-w64-i686-qtwebkit
57+
pacman -S mingw32/mingw-w64-i686-python2
58+
59+
Note: add --disable-download-timeout as an additional argument, if the
60+
installation failed due to the slow server responses.
61+
62+
After unpacking the source tarball or cloning the repository:
63+
64+
cmake . -G "MinGW Makefiles"
65+
66+
And then start the build process:
67+
68+
make
69+
70+
Do a quick sanity check:
71+
72+
./bin/phantomjs.exe --version
4873

4974

5075
Installation on macOS

0 commit comments

Comments
 (0)