1.5 KiB
1.5 KiB
Building 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:
-
Download MinGW installer
-
Install MinGW & MSyS (at least the following packages)
- mingw-developer-toolkit
- mingw32-base
- mingw32-gcc-g++
- msys-base
-
Add
{MinGW Path}\bin
and{MinGW Path}\msys\1.0\bin
to the system Path environment variable -
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. -
Install Git
Build wxWidgets
- Download the windows installer for version 3
- Use the MSyS prompt to navigate to the wxWidgets directory
- Make a new folder, eg. msw-debug, and cd into it.
- Run
export CXXFLAGS="-std=gnu++11 $CXXFLAGS"
to allow usage of C++11 features - Run
../configure --disable-shared --enable-debug --disable-compat28
in that new directory. - After configure finishes, run
make && make install
in the same folder.
Build SFTP Dependencies
- Run
git clone https://github.com/timw4mail/Tyro-depends.git
in the folder of your choice. - Run
sh ./buildssh2.sh
to build the dependencies. - Now you can build Tyro
Build Tyro
In the source folder, run make dev run
to build the develop version and run it immediately