Updated Windows Build (markdown)

sairathnavamsi 2015-04-06 21:06:18 -07:00
parent 2ece87c1bc
commit d7bbab57f9

@ -4,15 +4,23 @@ On Windows, all light-weight dependencies are automatically included within the
* **[Visual Studio 2013 Community](http://www.visualstudio.com/en-us/news/vs2013-community-vs.aspx)**.
![1](http://i.imgur.com/dKwPHW8.png)
* **[CMake](http://www.cmake.org/cmake/resources/software.html)** - Used to generate Visual Studio project files.
* **Git** - I recommend [msysgit](http://msysgit.github.io/). While installing it, you can tell it to include Git in your system path. (Choose the "Use Git from the Windows Command Prompt" option.) If you missed that, don't worry, you'll just have to manually tell CMake where your git executable is, since it's used to include version info into the built executable.
![2](http://i.imgur.com/eUdHwBb.png)
* **Git** - I recommend [msysgit](http://msysgit.github.io/).
![3](http://i.imgur.com/3LkRNEb.png)
* While installing Git Bash, you can tell it to include Git in your system path. (Choose the "Use Git from the Windows Command Prompt" option.) If you missed that, don't worry, you'll just have to manually tell CMake where your git executable is, since it's used to include version info into the built executable.
![4](http://i.imgur.com/5ojSaQm.png)
### Debugger Dependencies
For the debugger/Qt GUI, you'll need to install [Qt 5](http://qt-project.org/downloads):
![5](http://i.imgur.com/rPEqG4v.png)
* Download the Qt Online installer and launch it. When asked which components to install, select the *msvc2013 OpenGL* version for the processor architecture of your choice. (Be careful to use the OpenGL versions, or Citra will fail to initialize.) You might also want to install Qt Designer if you plan on modifying Citra's user interface.
* Set the path for your Qt installation in CMake. Alternately, set your `QTDIR` environment variable to the directory which contains the `bin`, `include` and `lib` folders. (e.g. `C:\Qt\5.4\msvc2013_64_opengl`).
![6](http://i.imgur.com/VLp3oj4.png)
* For running Citra builds, you'll need to have `icudt53.dll`, `icuin53.dll`, `icuuc53.dll`, `Qt5Core.dll`, `Qt5Gui.dll`, `Qt5OpenGL.dll` and `Qt5Widgets.dll` in either the application directory or in the system PATH. By default, those files are in `C:\Qt\5.4\msvc2013_64_opengl\bin`. For debug builds use the dlls with a 'd' appended to the name. (e.g. `Qt5Cored.dll`)
![7](http://i.imgur.com/21WSjI3.png)
* You might also need `platforms/qwindows.dll` in the application directory. It can be found in `C:\Qt\5.4\msvc2013_64_opengl\plugins\platforms`. For the debug version use `qwindowsd.dll`.
![8](http://i.imgur.com/foNxdm9.png)
### Cloning Citra in Git:
@ -20,6 +28,7 @@ For the debugger/Qt GUI, you'll need to install [Qt 5](http://qt-project.org/dow
git clone --recursive https://github.com/citra-emu/citra.git
cd citra
```
![9](http://i.imgur.com/pEugYrc.png)
### Building
* Open cmake-gui and point it to the Citra source code (the citra root directory, not the `src` sub-directory).