[mythtv] Re: compiling mythtv frontend for cygwin

Buechler, Mark R Mark_R_Buechler at bausch.com
Thu Oct 14 18:33:47 UTC 2004


Pretty much the same here. Mythfrontend.exe will startup from either msys or
cmd but immediately segfaults. Starting from cmd shows no output though,
which is standard with Win apps. It looks like it's finding all the files
correctly - or at least mysql.txt. I'm unable to put it in verbose mode to
get more output since that makes it segfault earlier. I need to put some
more debug messages in the code to figure out where it's bombing or attempt
the gdb route.

- Mark.

-----Original Message-----
From: Mario L [mailto:superm1 at gmail.com] 
Sent: Thursday, October 14, 2004 10:28 AM
To: Buechler, Mark R; MythTV-Developer List
Subject: Re: [mythtv] Re: compiling mythtv frontend for cygwin

They are all copied by hand, you'll need mythavcodec*.dll mythavformat*.dll
myth*.dll mythtv*.dll mythfrontend.exe mythtv.exe mythepg.exe mythtvosd*.exe
and mythprogfind.exe in the same directory.
 Also each of the dependency dlls has to be there, ex pthreadsGCE.dll,
freetype-6.dll, zlib.dll, and qt-mt333.dll.  You can also add another
directory to your PATH and put the dlls in that path.

Things may or may not run for you at that point, I played around alot with
my prefix and changed alot of lines to try to elimate posix stuff, but now i
am realizing i probably just had to change that prefix since windows doesnt
really care if you use a / or \ in directories.  Also, QT seems to have
trouble eveywhere myth used iterators in a QStringList, which seems to be
pretty common.  I have been trying to use gdb to find out a little bit more
about why, but have been having a pretty rough time with it.  I think I'm
going to revert back to some older code where I hadn't changed the posix
stuff and then rebuild QT with debug symbols and try again.


On Thu, 14 Oct 2004 09:44:41 -0400, Buechler, Mark R
<mark_r_buechler at bausch.com> wrote:
> After some trouble (most having to do with not replacing qmake.exe) 
> I've managed to get it completely compiled with your patch. I'm 
> attempting to do an install now. Did you manage to successfully do a
"mingw32-make install"
> or did you simply copy the files in place by hand?
> 
> - Mark.
> 
> 
> 
> -----Original Message-----
> From: Mario L [mailto:superm1 at gmail.com ]
> Sent: Tuesday, October 12, 2004 4:48 AM
> To: Buechler, Mark R; MythTV-Developer List
> Subject: Re: [mythtv] Re: compiling mythtv frontend for cygwin
> 
> Okay - So as for my patch, I just did a build with just mingw and msys 
> and ran into link errors with QT.  I redid QT from CVS, and redid 
> myth, and did a successful build.  I realized that there is one more 
> dependency missing, zlib, and added that to my site.
> 
> First of all launching is obviously quicker under mingw for what works
> about it.   It doesn't seem to launch at all from a command line,
> unless launching from msys, and even then it doesn't seem to like 
> windows filenames.  This is finally at the point where it will compile 
> all the way with that patch I posted, and it is just working out 
> symantecs of a non posix file structure where it is hard coded in 
> myth's code.  If that patch could get applied to CVS by someone, then 
> some other people can finally join in on this since it is basically down
to a science.
> 
> For those who don't want to follow the whole thread:
> 
> My site: http://clue.eng.iastate.edu/~superm1
> 
> Dep's Needed to build Myth under MinGW
> 1) MinGW
> 2) mSYS
> 3) Freetype2
> 4) Zlib
> 5) QT 3.3 w/ mysql support
> 6) P-Threads Win32
> 7) LameMp3 built w/ mingw
> 8) DirectX includes
> 
> All dep's needed to build are at my site.
> 
> SideNotes:
> 1) The directX headers have to be mounted under msys under 
> /mingw/includes/directx
> 2) When launching one of the executables, you will need dll's from 
> freetype,zlib,qt-mt333, mysql, pthreadsGCE, and myth all in the same 
> directory.  The mysql dll is in the QT binary I provided.  (If you 
> want to be crazy, build QT yourself, everything i changed and needed 
> is there)
> 
> 
> Bausch & Lomb
> 150 Years of Perfecting Vision, Enhancing Life (TM)
> 
> EMAIL DISCLAIMER
> 
> Please Note: The information contained in this message may be 
> privileged and confidential, protected from disclosure, and/or 
> intended only for the use of the individual or entity named above. If 
> the reader of this message is not the intended recipient, or an 
> employee or agent responsible for delivering this message to the 
> intended recipient, you are hereby notified that any disclosure, 
> distribution, copying or other dissemination of this communication is 
> strictly prohibited. If you received this communication in error, 
> please immediately reply to the sender, delete the message and destroy all
copies of it.
> 
> Thank You
> 
>




Bausch & Lomb
150 Years of Perfecting Vision, Enhancing Life (TM)






EMAIL DISCLAIMER 

Please Note: The information contained in this message may be privileged and
confidential, protected from disclosure, and/or intended only for the use of
the individual or entity named above. If the reader of this message is not
the intended recipient, or an employee or agent responsible for delivering
this message to the intended recipient, you are hereby notified that any
disclosure, distribution, copying or other dissemination of this
communication is strictly prohibited. If you received this communication in
error, please immediately reply to the sender, delete the message and
destroy all copies of it.

Thank You



More information about the mythtv-dev mailing list