Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions html/hints/winnt.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,26 @@ <h4>Compiling Requirements</h4>
<ul>
<li>Windows 7 or Windows.NET Server 2003, or later.
<li>Windows NT 4.0 Windows 2000, Windows XP or Windows Vista <i>may</i> still work.
<li>Microsoft Visual C++ 2008, 2010, or 2013 EE
<li>Microsoft Visual C++ 2022
<li>Microsoft Visual C++ 2008, 2010, 2013 are out of support and should not be used anymore.
<li>Some way of uncompressing and untarring the gzipped tar file.
<li>OpenSSL must be built on the box before building NTP. Additional steps would
be required to not use OpenSSL.
<li>Microsoft Visual C++ redistributables</ul>
<li>OpenSSL must be built on the box before building NTP. Additional steps would be required to not use OpenSSL.
<li>Microsoft Visual C++ redistributables</ul>
<a name="Compiling"><B>Compiling Instructions</B></a>
<ol>
<li>Install Micosoft Visual C++ <a href="http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF">redistributables</a>
<li>Install <a href="http://www.slproweb.com/products/Win32OpenSSL.html">OpenSSL full installer for Windows</a>. Add the following to your system environment variables in the control panel (adjusting paths as appropriate to point to the directory containing only an openssl subdirectory, for OPENSSL_INC, and to the directory containing openssl .lib files for OPENSSL_LIB:
<ul><li> OPENSSL_INC=C:\OpenSSL\include
<li> OPENSSL_LIB=C:\OpenSSL\lib</ul>
<li>Install Micosoft Visual C++ <a href="https://aka.ms/vs/17/release/vc_redist.x64.exe">redistributables</a>.
The 32-bit version is still available but should not be used anymore.
<li>Install <a href="https://slproweb.com/products/Win32OpenSSL.html">OpenSSL full installer for Windows</a>.
Add the following to your system environment variables in the control panel (adjusting paths as appropriate to point to the directory containing only an openssl subdirectory, for OPENSSL_INC, and to the directory containing openssl .lib files for OPENSSL_LIB:
<ul>
<li>OPENSSL_INC=C:\OpenSSL\include
<li>OPENSSL_LIB=C:\OpenSSL\lib
</ul>
<li>Unpack the NTP-4.x.tar.gz using utilities such as WinZip or WinRar.
<li>Run Microsoft Visual C++ 2008 EE.
<li>Open the ports\winnt\vs2008\ntp.sln solution file
<li>Run Microsoft Visual C++ 2022.
<li>Open the <tt>ports\winnt\vs2022\ntp.sln</tt> solution file
<li>Batch build all projects (Build menu, Batch Build..., select all, build).
<li>The built binaries can be found in the <tt>ports\winnt\v2008\Win32-bin\Release</tt> directory.
<li>The built binaries can be found in the <tt>ports\winnt\vs2022\x64-out\Release</tt> directory.
<li>If you are shipping binaries in a kit it is strongly recommended that you ship this file (winnt.html) along with the binaries.
</ol>
<h4>Configuration File</h4>
Expand All @@ -83,7 +87,7 @@ <h4>Command Line Parameters and Registry Entries</h4>
<h4>Bug Reports</h4>
<p>Please follow the <a href="../bugs.html">NTP Bug Reporting Procedures</a> to report bugs or request enhancements.</p>
<p>Last update:
<!-- #BeginDate format:En2m -->6-Apr-2014 23:27<!-- #EndDate -->
<!-- #BeginDate format:En2m -->10-June-2025<!-- #EndDate -->
</p>

</body>
Expand Down
Loading