[mythtv-users] Status of Win32 builds for MythTV

mythtv at kosowsky.org mythtv at kosowsky.org
Mon Jul 22 06:43:38 UTC 2019


Jerry Rubinow wrote at about 01:13:15 -0400 on Monday, July 22, 2019:
 > On Sun, Jul 21, 2019 at 6:35 PM Anthony Giggins <seven at seven.dorksville.net>
 > wrote:
 > 
 > >
 > >
 > > On Sun, 21 Jul 2019 at 04:05, Jerry Rubinow <jerrymr at gmail.com> wrote:
 > >
 > >> On Sun, Apr 28, 2019 at 12:57 AM <mythtv at kosowsky.org> wrote:
 > >>
 > >>> I am looking to find and/or build a Windows mythtv frontend for ver
 > >>> 29.1.
 > >>>
 > >>> In looking at the wiki
 > >>> (https://www.mythtv.org/wiki/MythTV_on_Windows), there doesn't seem to
 > >>> be anything updated since circa 2013 and ver 23.
 > >>>
 > >>> - Has anyone successfully built a Windows frontend using a recent mythtv
 > >>>   version?
 > >>> Are there any pre-builds available?
 > >>> Failing that, are there any updated build instructions?
 > >>>
 > >>> I like the idea of watching mythtv from my Windows laptop...
 > >>>
 > >>> Best,
 > >>> Jeff
 > >>>
 > >>
 > >> A few years ago dblain made a powershell script and a wiki page for
 > >> compiling using Visual Studio.  I was able to successfully compile
 > >> everything using master and the 2019 Community version  (the free one) of
 > >> Visual Studio.
 > >>
 > >> The web page is here:
 > >> https://www.mythtv.org/wiki/MythTV_on_Windows_using_Visual_Studio  It
 > >> talks about QT with versions of Visual Studio newer than 2010 not working
 > >> because QT doesn't have 32-bit OpenGL support for newer versions of
 > >> Studio.  It also says 64 bit builds cannot be done because of lack of
 > >> support for inline assembly in Studio.  However, I was able to compile a
 > >> 64-bit version without compile issues, so perhaps the myth source has
 > >> conditionals for that now.  Compiling a 64-bit app gets around the QT issue
 > >> I assume.
 > >>
 > >> I had to do a few small fixups to get a good compile:
 > >> - the tool set and platform had to be updated to 142 and 10 for a few
 > >> .vcxproj project files (expat, exiv2, and libzmq)
 > >> - there were a dozen .pro files that needed QT += widgets in them.  There
 > >> was conditional code in them that was not adding them.  Not sure why
 > >>
 > >> I was using QT 5.13.0.
 > >>
 > >> I ran mythtv\mythtv\configure.ps1 OutputType sln
 > >> This generated a solution file that I could then load in Studio and
 > >> compile.
 > >>
 > >> Big disclaimer: I only claim to have built everything without compile or
 > >> link errors.  I did not test for a successful run, as I'm not setup for
 > >> that right now.  If you want my git diff output, let me know.
 > >>
 > >> -Jerry
 > >>
 > >>
 > > Did you have any binaries you'd like to share, I'd happily test, although
 > > I'm still running version 29
 > >
 > > Also which version did you compile? 29-fixes, 30-fixes or master?
 > >
 > > also why not submit a pull request to merge your changes back in? or a
 > > link to your fork atleast
 > >
 > > Cheers,
 > >
 > > Anthony
 > >
 > 
 > I'd be happy to share binaries.  I built against master, but I could switch
 > to a different branch if that would be more helpful. Let me know.
 > 
 > I would like to get the changes I made merged back in, but I made my .pro
 > file changes without really understanding why they weren't working as they
 > were.  Why didn't the following include widgets?  I had to move the widgets
 > line outside the condition for the code to compile.
 > 
 > contains(QT_VERSION, ^5\\.[0-9]\\..*) {
 > QT += widgets
 > }
 > 
 > Anyway, once I get that sorted I'll make a pull request.
 > 
 > Thanks,
 > Jerry

Thanks!
Would be really great to have it all merged in so that we can build on
your effort and not recreate the wheel.

I am surprised that there is not more of a demand for a Windows
version -- I would think there would be many people out there like
myself that have a Linux server but still have Windows laptops... and
it's great to watch the video directly on MythTV over Windows rather
than having to download the video to my laptop and run mplayer...


More information about the mythtv-users mailing list