Skip to content

Commit

Permalink
Some notes on current state of build tools for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rpspringuel committed Feb 26, 2021
1 parent 3b2d8e3 commit 8ad47c4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions windows/windows_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ Building the `gregorio.exe` file cannot currently be made under Windows, but it

This will create `src/gregorio.exe`.

### Building tds file

To be able to install GregorioTeX, the installer will need a `.tds.zip` file containing the fonts and tex files:

* run `./install-gtex.sh tds` in the main directory of the repository, this will create `gregoriotex.tds.zip`
**Note:** Currently the build script only supports building a 32-bit executable (using mingw32). This package is not available by default on Ubuntu 16.04 or later. Anyone willing to help us update the build script to use the 64-bit cross compilers that are readily available on more recent versions of Ubuntu (or other *nix distributions) is very much welcome.

### Building the installer

You need [InnoSetup](http://www.jrsoftware.org/isinfo.php) to be able to compile the installer. It runs fine under [Wine](https://www.winehq.org/). Once you have it installed: run InnoSetup.exe, open the `windows/gregorio.iss` file and compile it, it will produce `windows/Output/setup.exe`. You can also run it from command line: `wine32 'C:\\Program Files\Inno Setup 5\ISCC.exe' gregorio.iss` in the `windows` directory (replace the `ISCC.exe` path with yours if different).
You need [InnoSetup](http://www.jrsoftware.org/isinfo.php) to be able to compile the installer. It runs fine under [Wine](https://www.winehq.org/). Once you have it installed: run InnoSetup.exe, open the `windows/gregorio.iss` file and compile it, it will produce `windows/Output/setup.exe`. You can also run it from command line: `wine 'C:\\Program Files (x86)\Inno Setup 5\ISCC.exe' gregorio.iss` in the `windows` directory (replace the `ISCC.exe` path with yours if different).

**Note:** If you're building the compiler on Ubuntu 14.04 (because of the above issue with mingw32) then you will need Inno Setup 5.x. This is because the version of wine available on Ubuntu 14.04 emulates a version of Windows which is not compatible with Inno Setup 6.x.

0 comments on commit 8ad47c4

Please sign in to comment.