Further update readme for building on Windows

This commit is contained in:
Tim Warren 2015-04-29 16:21:08 -04:00
parent f4f47b081a
commit 285350a585

View File

@ -1,6 +1,6 @@
# Building on Windows # Building on Windows
In order to keep a consistent build system, Tyro is build with MinGW and Msys. This software allows for a *nix-style build environment on Windows. In order to keep a consistent build system, Tyro is built with MinGW and Msys. This allows for a *nix-style build environment on Windows.
## Build Environment Setup: ## Build Environment Setup:
@ -13,14 +13,24 @@ In order to keep a consistent build system, Tyro is build with MinGW and Msys. T
* msys-base * msys-base
3. Add `{MinGW Path}\bin` and `{MinGW Path}\msys\1.0\bin` to the system Path environment variable 3. Add `{MinGW Path}\bin` and `{MinGW Path}\msys\1.0\bin` to the system Path environment variable
4. Get the latest wxWidgets 3.0 installer for Windows, and install 4. Open the Msys prompt at `{MinGW Path}\msys\1.0\msys.bat`. You'll probably want a shortcut to this, as it is what will be used for compiling everything from here on.
5. Open the Msys prompt at `{MinGW Path}\msys\1.0\msys.bat`. You'll probably want a shortcut to this, as it is what will be used for compiling everything from here on. 5. Install [Git](http://git-scm.com/download/win)
6. Install Git
## Build wxWidgets
1. Download the windows [installer](https://www.wxwidgets.org/downloads/) for version 3
2. Use the MSyS prompt to navigate to the wxWidgets directory
3. Make a new folder, eg. msw-debug, and cd into it.
4. Run `../configure --disable-shared --enable-debug` in that new directory.
5. After configure finishes, run `make && make install` in the same folder.
## Build SFTP Dependencies ## Build SFTP Dependencies
1. Run `git clone https://github.com/timw4mail/Tyro-depends.git` in the folder of your choice. 1. Run `git clone https://github.com/timw4mail/Tyro-depends.git` in the folder of your choice.
2. Run `sh ./buildssh2.sh` to build the dependencies. 2. Run `sh ./buildssh2.sh` to build the dependencies.
3. Now you can build Tyro
## Build Tyro ## Build Tyro