5 | | The traditional way to build OpenVPN for Windows is using autotools, either in a [http://www.mingw.org/ MinGW] environment or by cross-compiling the Windows binary on *NIX. This works, but was found to be laborius to maintain. Due to this a new, relatively simple Python-based build system was written. This new build system allows building OpenVPN on Windows more easily, but some parts of the build may require a commercial version of the Visual Studio development environment. Fortunately the new build system only uses Visual Studio tools (nmake, compiler, linker, etc.), so learning VS's graphical user interface is not necessary. Full integration with Visual Studio ''should'' be possible, too. |
6 | | |
7 | | '''IMPORTANT:''' Most of the ''build dependencies'' have been pre-packaged for your convenience and are available [http://build.openvpn.net/downloads/build-dependencies here]. |
| 5 | The traditional way to build OpenVPN for Windows is using the "domake-win" script on Windows. It uses GNU autotools and GCC, either in a [http://www.mingw.org/ MinGW] environment or inside a cross-compiling environment on *NIX. The former option is documented here, although at the moment (29th June 2011) the instructions are incomplete. You should refer to the script itself for more information. Also note that "domake-win" will run into trouble with newer software versions, such as OpenSSL 1.0.0*. |
| 6 | |
| 7 | Because the "domake-win" buildsystem was found laborious to maintain, a new, relatively simple Python-based build system was written. This new build system allows building OpenVPN on Windows more easily, but some parts of the build may require a commercial version of the Visual Studio development environment. Fortunately the new build system only uses Visual Studio tools (nmake, compiler, linker, etc.), so learning VS's graphical user interface is not necessary. Full integration with Visual Studio ''should'' be possible, too. |
| 8 | |
| 9 | '''IMPORTANT:''' Most of the ''build dependencies'' for the Python-based buildsystem have been pre-packaged for your convenience and are available [http://build.openvpn.net/downloads/build-dependencies here]. The old "domake-win" buildsystem needs to have it's dependencies in a different directory hierarchy, so the dependency package won't work out of the box. |