This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
university:tools:m2k:scopy:build-windows [16 Jul 2019 10:41] – Antoniu Miclaus | university:tools:m2k:scopy:build-windows [31 Jul 2019 11:32] – Update build guide for windows Guramulta Daniel | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Installing the dependencies ===== | ===== Installing the dependencies ===== | ||
- | \\ | ||
==== Installing MSYS2 ==== | ==== Installing MSYS2 ==== | ||
- | Download | + | Download MSYS2 from here: [[https:// |
Follow the instructions on the page linked above to install it, and update it. \\ | Follow the instructions on the page linked above to install it, and update it. \\ | ||
- | When it's done, you need to install a couple of packages that Scopy depends on: | + | When it's done, you need to install a couple of packages |
+ | **64-bit** | ||
< | < | ||
- | **pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-gdb mingw-w64-x86_64-cmake | + | **pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-gdb mingw-w64-x86_64-cmake |
- | mingw-w64-x86_64-libxml2 | + | mingw-w64-x86_64-matio mingw-w64-x86_64-libxml2 |
- | mingw-w64-x86_64-boost mingw-w64-x86_64-python3 mingw-w64-x86_64-fftw | + | mingw-w64-x86_64-boost mingw-w64-x86_64-python3 mingw-w64-x86_64-fftw |
- | mingw-w64-x86_64-libzip mingw-w64-x86_64-glib2 mingw-w64-x86_64-glibmm | + | mingw-w64-x86_64-libzip mingw-w64-x86_64-glib2 mingw-w64-x86_64-glibmm |
- | mingw-w64-x86_64-pkg-config mingw-w64-x86_64-ninja git tar** | + | mingw-w64-x86_64-pkg-config mingw-w64-x86_64-ninja |
+ | mingw-w64-x86_64-breakpad-git | ||
</ | </ | ||
- | \\ | ||
- | This will take about 5-6 GiB on your hard drive. | ||
- | \\ | + | **32-bit** |
- | ==== Installing Qt ==== | + | < |
- | We need to install Qt 5.9.1, instead of the latest Qt package provided by pacman. | + | **pacman |
- | \\ | + | |
- | | + | mingw-w64-i686-fftw mingw-w64-i686-libzip mingw-w64-i686-glib2 mingw-w64-i686-glibmm |
+ | mingw-w64-i686-pkg-config mingw-w64-i686-ninja mingw-w64-i686-breakpad-git git tar** | ||
+ | </ | ||
+ | In order to apply the [[https:// | ||
+ | |||
+ | **64-bit:** | ||
< | < | ||
- | **wget http:// | + | **pacman -S mingw-w64-x86_64-astyle** |
- | | + | |
</ | </ | ||
+ | |||
+ | **32-bit:** | ||
+ | < | ||
+ | **pacman -S mingw-w64-i686-astyle** | ||
+ | </ | ||
+ | |||
+ | An older version of hdf5 is needed, the one that is currently being installed on MSYS2 is not supported: | ||
+ | |||
+ | **64-bit:** | ||
+ | < | ||
+ | **< | ||
+ | pacman -U --force --noconfirm mingw-w64-x86_64-hdf5-1.8.21-2-any.pkg.tar.xz</ | ||
+ | </ | ||
+ | |||
+ | **32-bit:** | ||
+ | < | ||
+ | **< | ||
+ | pacman -U --force --noconfirm mingw-w64-i686-hdf5-1.8.21-2-any.pkg.tar.xz</ | ||
+ | </ | ||
+ | |||
+ | This will take about 5-6 GiB on your hard drive. | ||
\\ | \\ | ||
- | *Downloading and installing | + | ==== Installing |
+ | The latest version of Qt can be installed using: | ||
+ | **64-bit:** | ||
< | < | ||
- | **wget http:// | + | **pacman -S mingw-w64-x86_64-qt5** |
- | | + | |
</ | </ | ||
+ | **32-bit:** | ||
+ | < | ||
+ | **pacman -S mingw-w64-i686-qt5** | ||
+ | </ | ||
\\ | \\ | ||
==== Installing the pre-compiled libraries ==== | ==== Installing the pre-compiled libraries ==== | ||
Some dependencies cannot be found in MSYS2 (GNU Radio, libsigrok etc.). | Some dependencies cannot be found in MSYS2 (GNU Radio, libsigrok etc.). | ||
- | \\ | + | |
To simplify things, we created a ZIP package containing these dependencies in pre-compiled form. | To simplify things, we created a ZIP package containing these dependencies in pre-compiled form. | ||
- | \\ | + | |
Let's download it and extract it in the MSYS2 folder: | Let's download it and extract it in the MSYS2 folder: | ||
- | | + | **64-bit:** |
< | < | ||
- | **< | + | **< |
</ | </ | ||
- | | + | **32-bit:** |
< | < | ||
- | **< | + | **< |
</ | </ | ||
\\ | \\ |