From 21aaeadcb58f1cd3400a22311aad9e520b3d7bb3 Mon Sep 17 00:00:00 2001 From: Harlan Stenn Date: Tue, 11 May 2010 02:31:19 -0400 Subject: [PATCH] Windows compiling hints/winnt.html update from G. Sunil Tej bk: 4be8f9b7n7FiZg5kPjPnIuFGCAKNqg --- ChangeLog | 1 + html/hints/winnt.html | 24 +++++++++++++----------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 85caf6eec..af5e9e35d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ socket by default. Provide a command-line 'socket name' option. * [Bug 1538] update refclock_nmea.c's call to getprotobyname(). * [Bug 1541] Fix wrong keyword for "maxclock". +* Windows compiling hints/winnt.html update from G. Sunil Tej. --- (4.2.6p2-RC2) 2010/04/27 Released by Harlan Stenn diff --git a/html/hints/winnt.html b/html/hints/winnt.html index 49d9cbc22..a2d277fa9 100644 --- a/html/hints/winnt.html +++ b/html/hints/winnt.html @@ -45,21 +45,23 @@

Compiling Requirements

- Compiling Instructions +
  • Microsoft Visual C++ redistributables + Compiling Instructions
      -
    1. Unpack and build OpenSSL according to the OpenSSL instructions for building on Windows. Currently the NTP build requires OpenSSL 0.9.7b as it looks for the path to that build for the include and libeay32.lib files. If you have a different version you will need to adjust both the preprocessor path and the link path to point to the correct locations of the include files and the lib file respectively. -
    2. Unpack the NTP-4.x.tar.gz using utilities such as WinZip. -
    3. Open the .\ports\winnt\ntp.dsw Visual C workspace -
    4. Batch build all projects -
    5. The built binaries can be found in the port\winnt\bin\Release subdirectory -
    6. In addition you will need to install the OpenSSL libeay32.dll +
    7. Install Micosoft Visual C++ redistributables +
    8. Install OpenSSL full installer for Windows. 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: +
      • OPENSSL_INC=C:\OpenSSL\include +
      • OPENSSL_LIB=C:\OpenSSL\lib
      +
    9. Unpack the NTP-4.x.tar.gz using utilities such as WinZip or WinRar. +
    10. Run Microsoft Visual C++ 2008 EE. On Windows Vista and later, Run as Administrator. +
    11. Open the ports\winnt\vs2008\ntp.sln solution file +
    12. Batch build all projects (Build menu, Batch Build..., select all, build). +
    13. The built binaries can be found in the ports\winnt\v2008\bin\ directory.
    14. If you are shipping binaries in a kit it is strongly recommended that you ship this file (winnt.html) along with the binaries.

    Configuration File

    -- 2.47.3