Talk:MythTV on Windows

From MythTV Official Wiki
Revision as of 00:24, 2 January 2010 by Kalak (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Please add entries to the bottom of the page


Hi. Has anyone had success running the Windows binaries on 32-bit Vista and if so, would you be willing to share the binaries? Thanks.

  • Is anyone planning on distributing binaries and/or bundles of the binaries & dependencies? Not everyone who uses MythTV likes to get this deep into the build process. A lightweight package for the Windows frontend only would be a great complement to an existing Linux backend. DStulken

I would expect that someone might start doing it for the next release, if not before. I've actually got a win32 automated-build server working for HEAD releases, most of the time - davidbuzz@gmail.com ( or mention win32 on the mythtv-dev list ) and I'll share it.  :-) Buzz


20071228: Lots of formatting changes - contributors please try and keep to the style shown where possible -- Richard Dale

20071228: Nice editing work Richard! We work well as a team! :-) - Buzz.

20071228: I'm amazed how few times we've stomped on each other's edits... Putting in all the sections should also make that a lot easier too. I'm thinking about making each problem/solution into its own section for ease of searching through the contents too - maybe after lunch -- Richard Dale

20071228: Yea, I agree! I was trying hard not to go near any sections you were editing (gotta love that history tab). :-) If you want to contact me at all i'm on davidbuzz at gmail dot com. I'm in Brisbane, you?

20071228: I'm in Perth here... Having some compile errors with MythTV now - I might go back to step 1 and start afresh to see if anything else needs fixing. Can't wait to be able to try Myth on several Windows laptop systems around here (that have ATI cards with no acceleration under Linux) - the old laptops will work well in the kitchen (eg. cooking programs) or simply for watching the cricket in my workshop -- Richard Dale

Regarding: "Comment: Yes that fixed it. If others can comment on this resolving the issue too, I'll put this step into the main compile process steps above (until the ticket is incorporated into SVN) -- Richard Dale" - given that Andrei(Andrew53) wrote it, and both myself, and you have all found it worked, I'd say go ahead and make it part of the main instructions. - Buzz. Done -- Richard

20071228: Andrei has posted how he patched mysql.h and this is now incorporated into the MySQL section. This is quite different from the previous winsock patch so I'd recommend a recompile of QT due to the probability of having significant segfaults straight after compilation of mythtv -- Richard Dale

20071228: Actually it appears that BOTH patches are required for mysql.h (so that winsock.h is included). I've updated the sections accordingly -- Richard Dale

20071230: My copy of mysql.h (from the distribution mentioned) has a line with __CYGWIN__ and not __MINGW32__. This has me confused a bit. I'm in Dublin, for what it is worth. -- Simon 20071230: Response: NO reason to be confused, just follow the instructions assuming you DON"T have a line with __MINGW32__ as is documented here: http://www.mythtv.org/wiki/index.php/Windows_Port#MySQL (ie don't change that section at all, and move onto the next "if you see" section that you will have to change). - Buzz.

20071230: Building qt is such a pain in the arse because I keep having to fix the Makefiles (INCPATH) and restarting. I wish I knew what the problem is. Could it be Andrei's patch? -- Simon Have you put a copy of the problem into the "problems others have encountered" section of the page? If you've re-tried building QT a couple of different ways, then I'd also suggest posting the issue to the developers list - Buzz.

20081118: Tried building the Win32 port using the packager script. It fails to build QT (conflicting definitions of InterlockedCompareExchange between qatomic_windows.h and MingW's winbase.h.) No idea how to fix it. - Steltek

20090405: Hi all, trying to install MythTV on Windows Vista (32-bit) but I was hanged up on section 4.9 (installing patches)...I am not sure where EXACTLY to place them. Those instruction before that were very clear for me. (BTW, I am beginner in Linux yet I am very much willing to learn amap and asap.) Also, I've installed stuff until I noticed a remark that this page (information) is outdated (???). How do I uninstall clean those I have installed if in case I need to??? OR, should I proceed with the installation? At the same time, I am planning to install Linux. This will make mt laptop dual boot either Windows and Linux. I am debating between Ubuntu and openSUSE. What's their pro and cons? Any suggestion? Thanks for all your help in advance...Dor (esmm1969: esmm1969@gmail.com)

20090531: Trying to build 0.21-fixes. Build fails reporting:

EFFECT FAILED (file -> exec): unable to locate expected file (C:/MSys/1.0/qt-3.3 .x-p8/lib/libqt-mt3.dll).

Command resulting into this:

g++ -c -mthreads -w -O2 -fexceptions -frtti -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DUNICODE -DQT_MAKEDLL-DQT_THREAD_SUPPORT -DQT_NO_CUPS -DQT_NO_NIS -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_POCKETPC -DQT_DLL -DQT_MAKEDLL -I"tmp" -I"3rdparty/libmng" -I"3rdparty/libjpeg" -I"3rdparty/libpng" -I"3rdparty/zlib" -I "C:\MSys\1.0\qt-3.3.x-p8/include" -I"tmp/obj/release-shared-mt/" -I"C:/MSys/1.0/qt-3.3.x-p8/mkspecs/win32-g++" -o tmp/obj/release-shared-mt/qsound_win.o kernel/qsound_win.cpp kernel/qsound_win.cpp:194:26: qsound_win.moc: No such file or directory

I noticed that there were similar reporting in this document. I was thinking if the string

-I"tmp/obj/release-shared-mt/"

is causing the problems because of the trailing slash. Explanation: there is no slash on other include paths. In file Makefile there is variable MOC_DIR which is correct. So the problem could lie in the mechanism that makes those include parameters for g++. I tired to find the position of this but with no luck. I hope that someone wiser could tell the solution to this.

There is solution to this problem in the page. -- Termant 09:16, 31 May 2009 (UTC)

2009-10-8: Current SVN builds use protocol version 50, but the recommended build in the script uses protocol version 48. My attempts to compile HEAD have failed. Does anyone have a known-good version with support for protocol 50? -- TheSeekerr


Possible Virus

I attempted to install the linked MythTV binary and Norton Antivirus flagged several of the DLLs as trojan horses. Can somebody else test the installer and see whether it's a false positive or in fact a virus? -- JerkyChew

2009-11-11: Confirmed seeing Trj/Downloader.MDW in the precompiled Windows MythTV binary (.22). -- gaebisu

2010-01-01: Compiling from source, revision 22787 (with changes to win32-packager.pl to point to current versions, etc.), the component tagged by SAV/NAV is libtag.dll from the taglib-1.5-mingw-bin directory (after compiling). So, this is either upstream or is a false positive. VirusTotal results on libtag.dll Kalak