===== Development on Windows ===== **NOTE: It is now strongly recommended that you use Docker images to build Deviation. Instructions for building can be found [[development:docker | here]]** ''Note, these instructions may be out of date. Please help to make them current'' ==== Install MinGW ==== * [[http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20120426/mingw-get-inst-20120426.exe/download|Download the MinGW installer]] * Run the installer, and select 'C++', 'MSYS' and the 'Developer Toolkit' ==== Install FLTK ==== * [[http://www.fltk.org/software.php?VERSION=1.3.0&FILE=fltk/1.3.0/fltk-1.3.0-source.tar.gz|Download FLTK]] * Start msys (you should have an icon, but otherwise run C:\MingW\msys\1.0\msys.bat * mkdir src * cd src * Untar fltk: tar -xzf (you can get to your C: drive in mingw using /c/Users//Downloads for example) * cd fltk-1.3.0 * ./configure * make * make install ==== Install PortAudio ==== * [[http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz|Download PortAudio]] * Start msys (you should have an icon, but otherwise run C:\MingW\msys\1.0\msys.bat * cd src * Untar portaudio: tar -xzf (you can get to your C: drive in mingw using /c/Users//Downloads for example) * cd portaudio * ./configure * make * make install ==== Install Deviation ==== * Download the source code for deviation. You'll need mercurial to keep track of changes (which will require installing python), but you can manually download a zip of the source from the [[https://github.com/DeviationTX/deviation|GitHub deviation repository]] * cd ~/src * cp -pf deviation * cd deviation/src * make TARGET=emu_devo8 WINDOWS=1 ==== Running Emulator ==== If everything goes well, you can now do: ''./emu_devo8.exe'' ==== MSYS notes ==== Your 'home' dir will be at C:\MinGW\msys\1.0\home\