MythTV on Windows using Visual Studio
As of MythTV version 0.28, you can use Microsoft Visual Studio 2010 or greater to build a native Win32 version of all main components (plugins are still not available as of writing this).
This guide will provide you with the steps needed to install all required tools and to perform a full compile of the Mythtv source code.
Tip: The version of Visual Studio referenced in this guild is 2010, however we will try to make sure any newer version also works.
Requirements
The following tools must be installed in order to build the source. Some of the tools require specific settings or post install steps to be successfully used. Please follow each link to see detailed instructions that that component.
- Visual Studio 2010 or greater
- Qt 4.8 or greater
- MySQL client library
- Git for Windows
- CMake
- MSYS/MinGW
- YASM & NASM
- c99wrap
Running Configure
There is a configure.ps1 PowerShell script that is used to make sure your build environment is setup correctly. It also compiles third party dependencies that are needed for MythTV.
Configure can produce two types of output
- Makefiles
- Visual Studio Solution/Project files (mostly used for debugging with Visual Studio)
Makefiles
- This is the best choice if you are looking for a simple way to quickly compile all code. It is completely command line driven and when finished, you will have all needed dll's & exe's.
Visual Studio Solution/Projects
- Best used if you want to debug or develop code. It creates a set of solution and project files. You can then open the solution file in Visual Studio and use the full features of the tool.