Changes between Version 38 and Version 39 of BuildingOnWindows


Ignore:
Timestamp:
11/11/10 19:13:06 (13 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindows

    v38 v39  
    9999The Python-based OpenVPN build system is pretty picky about it's directory layout, which should be like this:
    100100 
    101  * ''C:\openvpn-build'': root build directory
    102  * ''C:\openvpn-build\openvpn-testing'': openvpn sources fetched from git should directly
    103  * ''C:\openvpn-build\tapinstall\7600'': directory containing ''Devcon.exe'' sources, which can be found from ''C:\WINDDK\7600.16385.1\src\setup\devcon''. As you can see, the last part of the tapinstall directory path depends on the major version of WINDDK. Note that in OpenVPN world ''Devcon.exe'' is also confusingly also known as ''tapinstall.exe''.
    104  * ''C:\openvpn-build\openssl'': copy of the openssl install directory which contains the openssl libraries you built earlier. It's location depends on the parameter --prefix paramter you when configuring the openssl build.
    105  * ''C:\openvpn-build\lzo\include'': this directory is a copy of the ''include'' directory in the lzo source package
    106  * ''C:\openvpn-build\lzo\bin'': this directory must contain the ''lzo2.dll'' file generated during lzo build
    107  * ''C:\openvpn-build\lzo\lib'': this directory must contain the ''lzo2.lib'' file generated during lzo build
    108  * ''C:\openvpn-build\Microsoft.VC90.CRT'': this directory is a copy of ''C:\Program Files\MicrosofT Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT'' directory. The exact path may vary.
    109  * ''C:\openvpn-build\signtool''. a directory containing ''signtool.exe''. This tool can be found from the Microsoft SDK directory (e.g. ''C:\Program Files\Microsoft SDKs\Windows\V6.0A\bin'').
     101 * '''C:\openvpn-build''': root build directory
     102 * '''C:\openvpn-build\openvpn-testing''': openvpn sources fetched from git should directly
     103 * '''C:\openvpn-build\tapinstall\7600''': directory containing ''Devcon.exe'' sources, which can be found from ''C:\WINDDK\7600.16385.1\src\setup\devcon''. As you can see, the last part of the tapinstall directory path depends on the major version of WINDDK. Note that in OpenVPN world ''Devcon.exe'' is also confusingly also known as ''tapinstall.exe''.
     104 * '''C:\openvpn-build\openssl''': copy of the openssl install directory which contains the openssl libraries you built earlier. It's location depends on the parameter --prefix paramter you when configuring the openssl build.
     105 * '''C:\openvpn-build\lzo\include''': this directory is a copy of the ''include'' directory in the lzo source package
     106 * '''C:\openvpn-build\lzo\bin''': this directory must contain the ''lzo2.dll'' file generated during lzo build
     107 * '''C:\openvpn-build\lzo\lib''': this directory must contain the ''lzo2.lib'' file generated during lzo build
     108 * '''C:\openvpn-build\Microsoft.VC90.CRT''': this directory is a copy of ''C:\Program Files\MicrosofT Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT'' directory. The exact path may vary.
     109 * '''C:\openvpn-build\signtool'''. a directory containing ''signtool.exe''. This tool can be found from the Microsoft SDK directory (e.g. ''C:\Program Files\Microsoft SDKs\Windows\V6.0A\bin'').
    110110
    111111After setting up the directories, you should check ''win\settings.in'' file to see if any variables need modifications. Also, the build will fail unless you comment out a few lines from ''options.c'':