summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt2
-rw-r--r--doc/building on MS Windows.txt8
-rw-r--r--doc/building-Boost-libs.txt39
-rw-r--r--doc/user_guide/en/install-linux.adoc5
4 files changed, 29 insertions, 25 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 9b48ced8..40d8b27f 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -197,7 +197,7 @@ function (document)
-a data-uri!
-a VERSION_MAJOR=${WSJTX_VERSION_MAJOR}
-a VERSION_MINOR=${WSJTX_VERSION_MINOR}
- -a VERSION_PATCH=${WSJTX_VERSION_PATCH}
+ -a VERSION_PATCH=${WSJTX_VERSION_PATCH}${BUILD_TYPE_REVISION}
-a VERSION=${wsjtx_VERSION}
-D ${CMAKE_CURRENT_BINARY_DIR}
-o ${_docbook_file} ${_source_name}
diff --git a/doc/building on MS Windows.txt b/doc/building on MS Windows.txt
index 9e954285..42ea8d0e 100644
--- a/doc/building on MS Windows.txt
+++ b/doc/building on MS Windows.txt
@@ -43,7 +43,7 @@ CMake
-----
Download and install a recent version from the official CMake web
-site. A default installation is fine. I am currently using v3.18.3,
+site. A default installation is fine. I am currently using v3.18.4,
versions as old as v3.9 should work.
Other tools and libraries without installers
@@ -59,8 +59,10 @@ FFTW v3 DFT library
-------------------
The MS Windows builds of FFTW3 can be downloaded from
-http://www.fftw.org/install/windows.html and unzipped into C:\Tools.
-You only need the 64-bit package.
+http://www.fftw.org/install/windows.html. The ZIP archives for this
+package have no directory structure so create a directory under C:\
+Tools\ called fftw-3.3.5-dll64 and unzip the archive there. You only
+need the 64-bit package.
libusb library
--------------
diff --git a/doc/building-Boost-libs.txt b/doc/building-Boost-libs.txt
index 8f913a90..f45b3cee 100644
--- a/doc/building-Boost-libs.txt
+++ b/doc/building-Boost-libs.txt
@@ -82,12 +82,12 @@ Common steps
Download and extract the latest Boost library sources, at the time of
writing that was
https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.7z
-. Extract to some convenient location, I use %HOME%\src .
+. Extract to some convenient location, I use %USERPROFILE%\src .
Download and extract the libbacktrace sources from
https://github.com/ianlancetaylor/libbacktrace as follows.
-cd %HOME%\src
+cd %USERPROFILE%\src
mkdir github.com
cd github.com
mkdir ianlancetaylor
@@ -101,8 +101,8 @@ names are unique per architecture and tool-chain. This saves a lot of
space as the boost header files are quite big, and there's no need to
install multiple copies.
-Create a new file %HOME%\src\boost_1_74_0\project-config.jam with the
-following three lines to specify how Boost.Build finds the
+Create a new file %USERPROFILE%\src\boost_1_74_0\project-config.jam
+with the following three lines to specify how Boost.Build finds the
libbacktrace library matched to your relevant C++ compliers:
import toolset ;
@@ -133,13 +133,15 @@ tool-chain bundled with your Qt binary installation. Verify the
correct compiler is in the PATH. i.e. it identifies (g++ --version) as
i686-posix-dwarf-rev0.
-cd %HOME%\src\boost_1_74_0\tools\build
+cd %USERPROFILE%\src\boost_1_74_0\tools\build
bootstrap.bat mingw
.\b2 --prefix=C:\Tools\boost-build\MinGW32 install
cd ..\..
C:\Tools\boost-build\MinGW32\bin\b2 -j8 toolset=gcc ^
- --build-dir=%HOME%\build\boost ^
- --build-type=complete --prefix=C:\Tools\boost install
+ --build-dir=%USERPROFILE%\build\boost ^
+ address-model=32 architecture=x86 variant=debug,release ^
+ link=shared threading=multi ^
+ --with-log --with-stacktrace --prefix=C:\Tools\boost install
If all is well you should see the following line about a 1/3 of the
way through the initial configuration steps.
@@ -156,7 +158,7 @@ warnings can usually be ignored. If successful; you can release some
space by cleaning the build tree:
C:\Tools\boost-build\MinGW32\bin\b2 toolset=gcc ^
- --build-dir=%HOME%\build\boost ^
+ --build-dir=%USERPROFILE%\build\boost ^
--build-type=complete clean
64-bit
@@ -179,13 +181,16 @@ compilers and the project-config.jam file you created above. With a v7
gcc-8~64. My example matches my 64-bit Qt v5.15.0 with the bundled
MinGW64 v8.1.0.
-cd %HOME%\src\boost_1_74_0\tools\build
-bootstrap.bat
+cd %USERPROFILE%\src\boost_1_74_0\tools\build
+bootstrap.bat mingw
.\b2 --prefix=C:\Tools\boost-build\MinGW64 install
cd ..\..
C:\Tools\boost-build\MinGW64\bin\b2 -j8 toolset=gcc-8~64 ^
- address-model=64 --build-dir=%HOME%\build\boost ^
- --build-type=complete --prefix=C:\Tools\boost install
+ address-model=64 architecture=x86 variant=debug,release ^
+ link=shared threading=multi ^
+ --with-log --with-stacktrace ^
+ --build-dir=%USERPROFILE%\build\boost ^
+ --prefix=C:\Tools\boost install
If all is well you should see the following line about a 1/3 of the
way through the initial configuration steps.
@@ -202,9 +207,8 @@ warnings can usually be ignored. If successful; you can release some
space by cleaning the build tree:
C:\Tools\boost-build\MinGW32\bin\b2 toolset=gcc-8~64 ^
- address-model=64 --build-dir=%HOME%\build\boost ^
+ address-model=64 --build-dir=%USERPROFILE%\build\boost ^
--build-type=complete clean
-
Run-time Environment
--------------------
@@ -226,15 +230,12 @@ configuration tool-chain file:
# ...
set (BOOSTDIR C:/Tools/boost)
-set (QTDIR C:/Qt/5.12.9/mingw73_32)
-# set (QTDIR C:/Qt/5.15.0/mingw81_32)
+set (QTDIR C:/Qt/5.15.2/mingw81_32)
set (FFTWDIR C:/Tools/fftw-3.3.5-dll32)
set (HAMLIBDIR C:/test-install/hamlib/mingw32/debug)
set (LIBUSBDIR C:/Tools/libusb-1.0.23)
-set (PYTHONDIR C:/Python27)
-set (ASCIIDOCDIR C:/Tools/asciidoc-master)
# where to find required packages
-set (CMAKE_PREFIX_PATH ${BOOSTDIR} ${QTDIR} ${FFTWDIR} ${HAMLIBDIR} ${HAMLIBDIR}/bin ${LIBUSBDIR} ${PYTHONDIR} ${ASCIIDOCDIR})
+set (CMAKE_PREFIX_PATH ${BOOSTDIR} ${QTDIR} ${FFTWDIR} ${HAMLIBDIR} ${HAMLIBDIR}/bin ${LIBUSBDIR})
# ...
diff --git a/doc/user_guide/en/install-linux.adoc b/doc/user_guide/en/install-linux.adoc
index bbd53b2b..ff108ef3 100644
--- a/doc/user_guide/en/install-linux.adoc
+++ b/doc/user_guide/en/install-linux.adoc
@@ -43,7 +43,8 @@ You may also need to execute the following command in a terminal:
....
sudo apt install libgfortran5 libqt5widgets5 libqt5network5 \
libqt5printsupport5 libqt5multimedia5-plugins libqt5serialport5 \
- libqt5sql5-sqlite libfftw3-single3 libgomp1 libusb-1.0-0
+ libqt5sql5-sqlite libfftw3-single3 libgomp1 libboost-all-dev \
+ libusb-1.0-0
....
Fedora, CentOS, Red Hat, and other rpm-based systems:
@@ -75,5 +76,5 @@ You may also need to execute the following command in a terminal:
....
sudo dnf install libgfortran fftw-libs-single qt5-qtbase \
qt5-qtmultimedia qt5-qtserialport qt5-qtsvg \
- qt5-qtserialport libgomp libusbx
+ qt5-qtserialport libgomp boost libusbx
....