Described the process of building libraries for Windows. authored by Karel Slaný's avatar Karel Slaný
...@@ -179,6 +179,47 @@ The following script builds the .dmg package if the application has already been ...@@ -179,6 +179,47 @@ The following script builds the .dmg package if the application has already been
./scripts/build_dmg.sh ./scripts/build_dmg.sh
``` ```
### Windows - Building Libraries
The libraries are built using MinGW on Linux.
The following packages should be installed:
``` shell
apt install git curl
```
> Packages like `gftp`, `vim-gtk3` or `mc` may also become handy.
#### 32-Bit Libraries
Ubuntu 16.04 is used to build the 32-bit libraries. The following packages are needed:
``` shell
apt install gcc-mingw-w64-i686 g++-mingw-w64-i686 autoconf automake make libtool
```
To build libdatovka use the command:
``` shell
mkdir libds; cd libs
../scripts/build_libdatovka_mingw.sh --i386
```
#### 64-Bit Libraries
Ubuntu 20.04 is used to build the 64-bit libraries. The following packages are needed:
``` shell
apt install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 autoconf automake make libtool
```
To build libdatovka use the command:
``` shell
mkdir libds; cd libs
../scripts/build_libdatovka_mingw.sh --x86_64
```
### Windows - Building the Application ### Windows - Building the Application
Building procedure of the Datovka application for Windows requires: Building procedure of the Datovka application for Windows requires:
... ...
......