Changes between Version 31 and Version 32 of BuildingOnWindows
- Timestamp:
- 11/11/10 13:17:12 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnWindows
v31 v32 91 91 }}} 92 92 93 = Preparing the source tree for building=93 = Building OpenVPN = 94 94 95 If you want to build the latest development code fetch it using ''Git for Windows'' (Git shell) or ''!GitExtensions'' (GUI). Check [wiki:TesterDocumentation these instructions] to see which Git URI to use. Once you have fetched OpenVPN sources you need to copy ''openssl'' and ''lzo'' these header file directories the root build directory: 96 97 * <lzo-directory>/include/lzo 98 * <openssl-directory>/include/openssl 99 100 After this the OpenVPN build directory should look like this (files omitted): 95 If you want to build the latest development code fetch it using ''Git for Windows'' (Git shell) or ''!GitExtensions'' (GUI). Check [wiki:TesterDocumentation these instructions] to see which Git URI to use. Once you have fetched OpenVPN sources you need to customize a few variables in the ''win\settings.in'' file. Make sure to use a UNIX linefeed-capable editor such as ''wordpad''. 101 96 102 97 {{{ 103 |-- contrib 104 |-- debug 105 |-- easy-rsa 106 |-- images 107 |-- install-win32 108 |-- lzo 109 |-- management 110 |-- msvc 111 |-- openssl 112 |-- plugin 113 |-- sample-config-files 114 |-- sample-keys 115 |-- sample-scripts 116 |-- service-win32 117 |-- suse 118 |-- tap-win32 119 |-- win 98 # Point this to the openvpn-gui directory 99 !define OPENVPN_GUI_DIR "../openvpn-gui" 100 !define OPENVPN_GUI "openvpn-gui-1.0.3.exe" 101 102 # Point these to OpenSSL and LZO install directories with DLLs and headers 103 !define OPENSSL_DIR "../openssl" 104 !define LZO_DIR "../lzo" 120 105 }}} 121 106 122 = Building OpenVPN = 123 124 Fire up a console/MS DOS prompt and go to ''<openvpn-root-build-directory>/win''. Then just start the build: 107 Next fire up a console/MS DOS prompt and go to the ''win'' directory and start the build: 125 108 126 109 {{{ 127 C:\ Python27\python.exe build.py110 C:\openvpn-testing\win> python build_all.py 128 111 }}} 129 112 130 To clean up before or after th e build, issue113 To clean up before or after thäe build, issue 131 114 132 115 {{{ 133 C:\ Python27\python.exebuild.py clean116 C:\openvpn-testing\win> python build.py clean 134 117 }}} 135 136 118 137 119 = Integrating Git with Visual Studio (optional) =