1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-10-05 16:57:15 +03:00

INSTALL: MinGW instruction (#15405)

This commit is contained in:
Ariya Hidayat 2019-12-31 01:39:23 -08:00
parent 0e3c01252e
commit 9aa6177591

27
INSTALL
View File

@ -44,7 +44,32 @@ Install it (may require sudo):
Installation on Windows
-----------------------
To be written.
Only MinGW is supported for now.
First, install MSYS2.
Then, from "MYS2 MinGW64 32-bit" shell, install the required packages:
pacman -S msys/make
pacman -S mingw32/mingw-w64-i686-toolchain
pacman -S mingw32/mingw-w64-i686-cmake
pacman -S mingw32/mingw-w64-i686-qtwebkit
pacman -S mingw32/mingw-w64-i686-python2
Note: add --disable-download-timeout as an additional argument, if the
installation failed due to the slow server responses.
After unpacking the source tarball or cloning the repository:
cmake . -G "MinGW Makefiles"
And then start the build process:
make
Do a quick sanity check:
./bin/phantomjs.exe --version
Installation on macOS