-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Build for Windows
clowwindy edited this page Nov 24, 2014
·
5 revisions
To run ShadowVPN, You need to install the TUN/TAP driver first:
It's recommended to build ShadowVPN on Debian, since it's simple.
Download a release and build.
apt-get install build-essential mingw-w64
./configure --host=i686-w64-mingw32 --enable-static
make
You'll find shadowvpn.exe
in src/
.
Download a release and build.
Currently only MinGW compilers are supported. You can compile in Msys or cross-compile in Cygwin with 32-bit or 64-bit MinGW toolchains.
For example, if using 64-bit Cygwin, install libtool
, autoconf
and mingw64-x86_64-gcc-g++
by Cygwin installer. Then Download a release
and build. Build from Cygwin terminal by the following commands:
./configure --host=x86_64-w64-mingw32 --enable-static
make && make install DESTDIR="$HOME/shadowvpn-build"
Executables will be generated in $HOME/shadowvpn-build
.