Changeset 9953 in ntrip

Jan 25, 2023, 12:14:09 PM (9 days ago)

docu updated

1 edited


  • trunk/BNC/src/bnchelp.html

    r9946 r9953  
    687687Microsoft Installer (MSI) file. MSI files are used for installation, storage, and removal of programs.
    688688The BNC files are contained in a MSI package, which is used with the program's client-side installer service,
    689 an .EXE file, to open and install the program. We used the MinGW Version 4.4.0 compiler to create BNC for Windows.
     689an .EXE file, to open and install the program. We used the MSVC 2019 compiler to create BNC for Windows.
    690690After installation your 'bnc.exe' file shows up e.g. under 'All Programs'.
    723723<p><b>MS Windows Systems, Shared Library</b><br>
    724 This explains how to install a shared Qt 4.8.5 library on MS Windows systems to then create your own shared build of BNC.
    725 </p>
    727 <ol type="1">
    728 <li>Supposing that 'Secure Socket Layer (SSL)' is not available on you system, you should install OpenSSL libraries
    729 in C:\OpenSSL-Win32. They are available e.g. from <a href=""
    730 target="_blank"></a>.
    731 See <a href="" target="_blank"></a>
    732 for other SSL resources. Ignore possibly occurring comments about missing components during installation.</li>
    734 <li>Download MinGW compiler Version 4.4.0 e.g. from <a href="" target="_blank"></a></li>
    736 <li>Unzip the ZIP archive and move its contents to a directory <i>C:\MinGW</i>. Now you can do either (4) or (5, 6, 8, 9, 10). Following (4) is suggested.</li>
    738 <li>Download file 'qt-win-opensource-4.8.5-mingw.exe' (317 MB) e.g. from <a href=""
    739    target="_blank"></a>. Execute this file to install a pre-compiled shared Qt library.</li>
    741 <li>Download file '' (269 MB) e.g. from
    742    <a href="" target="_blank"></a></li>
    744 <li>Unzip the ZIP archive and move the contents of the contained directory into a directory <i>C:\Qt\4.8.5</i>.</li>
     724This section contains some hints how to build a shared Qt 15.5.8 library on MS Windows systems to then create your own shared build of BNC.
     725But is is highly recommended to use the dynamically compiled shared library build for Mircrosoft Windows systems which is provided as
     726Microsoft Installer (MSI) file.
     729<li>Support for Secure Sockets Layer (SSL) communication is provided by the OpenSSL Toolkit, which must be obtained separately.
     730Download the latest version of the toolkit that is supported by Qt and install OpenSSL libraries in C:\OpenSSL-Win64.
     731The OpenSSL libraries are looked up first in the drectory of the executable, then in the Windows System directory,
     732and finally in all directories listed in the PATH environment variable.
     733You can configure how Qt uses OpenSSL by setting either the -openssl / -openssl-runtime or -openssl-linked configure flags.
     734To link Qt Network against OpenSSL libraries, set the -openssl-linked configure argument and use the OPENSSL_PREFIX variable
     735to let Qt correctly locate and build against your OpenSSL installation.
     736For example: configure -openssl-linked OPENSSL_PREFIX="C:\OpenSSL-Win64".</li>
     737<li>The following tools are required at build time:
     739    <li>Python 2.7.5 or later. Python 3 is not supported.</li>
     740    <li> Windows binaries of Bison, Flex, GPerf from the GnuWin32 project (<a href="" target="_blank"></a>), required to build QtWebEngine</li>
     741    <li>Node.js version 12 or later</li>
     742    <li>Visual Studio 2019 or clang-cl (msvc mode) version 8 or later, required to build QtWebEngine</li>
     743    <li>Jom is recommended because it is a clone of nmake to support the execution of multiple independent commands in parallel.
     744        It basically adds the -j command line switch similar to GNU make</li>
     745    <li>Active Template Library (ATL), usually included in the Visual Studio installation</li>
     746    <li>Windows 10 SDK version 10.0.19041 or later</li>
     748and its location should be listed in the PATH environment variable.
     750<li>To use OpenGL, pass the command line option '-opengl desktop' to the configure script.</li>
     751<li>Download the file '' e.g. from
     752<a href=""
     754and unzip the ZIP archive and move the contents of the contained directory into a directory e.g. C:\Qt\qt-everywhere-src-5.15.8. </li>
     755<li>Open a x64 Native Tools Command Promt for VS 2019 </li>
     756<li>Go to directory C:\Qt\5.15.8 and configure Qt using command
     758.\configure -prefix C:\Qt\5.15.8\ -opensource -release -nomake tests -nomake examples -skip qtdoc -platform win32-msvc -mp -confirm-license -openssl-linked OPENSSL_PREFIX="C:\OpenSSL-Win64" -opengl desktop -webengine-proprietary-codecs -recheck-all
     761<li>Compile Qt using command <pre>  jom or nmake </pre></li>
     762<li>Install Qt using command <pre>  jom install or nmake install</pre></li>
    746764<li>Create somewhere a file QtEnv.bat with the following content:
    748    set QTDIR=C:\Qt\4.8.5
    749    set PATH=%PATH%;C:\MinGW\bin;C:\Qt\4.8.5\bin
    750    set QMAKESPEC=C:\Qt\4.8.5\mkspecs\win32-g++
    751 </pre></li>
    753 <li>Open a command line window and execute file QtEnv.bat</li>
    755 <li>Go to directory C:\Qt\4.8.5 and configure Qt using command
    756 <pre>
    757    configure -fast -webkit -release -nomake examples -nomake tutorial
    758              -openssl -I C:\OpenSSL-Win32\include
    759 </pre></li>
    761 <li>Compile Qt using command
    762 <pre>
    763    mingw32-make
     766   set QTDIR=C:\Qt\5.15.8
     767   set PATH=%PATH%C:\Qt\5.15.8\bin;
     768   set QMAKESPEC=C:\Qt\5.15.8\mkspecs\win32-msvc
    765 This may take quite a long time. Don't worry if the compilation process runs into a problem after some time. It is likely that the libraries you require are already generated at that time.<br>
    766 Should you want to reconfiguring Qt following steps (8)-(10) you first need to clean the previous configuration using command 'mingw32-make confclean'. Run command 'mingw32-make clean' to delete previously compiled source code.</li>
     770and excute file QtEnv.bat</li>
    768772<li>Download latest BNC from SVN repository <a href=""
    771 <li>Open command line window and execute file QtEnv.bat, see (7)</li>
    773775<li>Go to directory BNC and enter command
    778780<li>Enter command
    780    mingw32-make
     782   jom (or nmake)
    783784<li>Find binary file bnc.exe in directory named src.</li>
    785 <li>Extend the Windows environment variable PATH by C:\Qt\4.8.5\bin.</li>
    786 </ol>
    787 <p>
    788 Steps (11)-(15) can be repeated whenever a BNC update becomes available. Running bnc.exe on a windows system
    789 requires (1) when using the NTRIP Version 2s option for stream transfer over TLS/SSL.
    790 </p>
    792787<b>Linux Systems</b><br>
    804799<b>Mac OS X Systems</b><br>
    807 <u>Xcode and Qt Installation</u><br>
    808 <p>
    809 Xcode and Qt are required to compile BNC on OS X. Both tools are freely available. Xcode can be downloaded from the
    810 App Store or the Apple Developer Connection website. Once installed, run Xcode, go to 'Preferences->Downloads' and install the Command Line Tools component. Qt can be downloaded from the Qt Project website. We suggest installing version 4.8.4 or higher. The Qt libraries for Mac can be downloaded from <u></u>. Once downloaded, mount the disk image, run the Qt.mpkg package and follow instructions from the installation wizard.
    811 </p>
    813 <u>Compiling BNC</u><br>
    814 <p>
    815 The version of qmake supplied in the Qt binary package is configured to use the macx-xcode specification.
    816 This can be overridden with the '-spec macx-g++' option which makes it possible to use qmake to create a Makefile to
    817  be used by 'make'.
    818 </p>
    819 <p>
    820 From the directory where is located, run 'qmake' to create the Makefile and then 'make' to compile the binary.
    821 <pre>
    822    qmake -spec macx-g++
    823    make
    824 </pre>
    825 Refer to the following webpage for further information: <a href="" target="_blank"></a>.
    826 </p>
    828 <p>
    829 <u>Bundle Deployment</u><br>
    830 </p>
    831 <p>
    832 When distributing BNC it is necessary to bundle in all related Qt resources in the package. The Mac Deployment Tool
    833 has been designed to automate the process of creating a deployable application bundle that contains the Qt libraries
    834 as private frameworks. To use it, issue the following commands where is located.
    835 </p>
    837 <pre>
    838    macdeployqt -dmg
    839 </pre>
    840 <p>
    841 Refer to the following webpage for further information: <a href=""
    842 target="_blank"></a>.
    843 </p>
    844 <p>
    845 Once a DMG file for BNC is created, you can double click it and install BNC by dragging the '' icon to your
    846 'Applications' folder. To start BNC, double click on '/Aplications/'.
     801Please use the precompiled build of BNC
Note: See TracChangeset for help on using the changeset viewer.