[mythtv] Re: compiling mythtv frontend for cygwin

Buechler, Mark R Mark_R_Buechler at bausch.com
Tue Sep 28 20:14:12 EDT 2004


 Thanks, downloading now. I'll give it a shot in my cygwin environment and
see if I can't get it working.

- Mark.

-----Original Message-----
From: Mario L [mailto:superm1 at gmail.com] 
Sent: Tuesday, September 28, 2004 7:46 PM
To: Buechler, Mark R
Cc: Development of mythtv
Subject: Re: [mythtv] Re: compiling mythtv frontend for cygwin

Well Mark, I think that I have all the dll's required all put in the same
directory, if this doesnt work then give compiling a shot...

Set your environment variable to DISPLAY = localhost:0 Also edit mysql.txt

i uploaded to here http://clue.eng.iastate.edu/~superm1/bin.zip

I'm not sure how long I will keep that up, as that is my filespace directory
at school, but it should be up for at least a week or two


On Tue, 28 Sep 2004 18:04:03 -0500, Mario L <superm1 at gmail.com> wrote:
> I just had it zipped up and ready to send when I realized how much it 
> REALLY hates to be taken out of its friendly cygwin environment.  When 
> trying to run outside ( or on another machine for that matter), it 
> seems to miss the PREFIX defined in settings.pro to be /usr/local 
> (which obviously doesn't resolve to anything on windows).
> 
> The only reason that it was working before for me outside the 
> directory is because I declared some environment variables and had the 
> cygwin directory directly in my path.  I Have a feeling there are a 
> bit more dependancies to this.  As soon as I have a chance ( and as 
> soon as CVS decides to work again)  I could put all of this into a 
> diff file and you could build yourself, or try to make sense of my 
> messy notes.
> ----------------------------
> Steps for Building:
> ----------------------------
> First Cygwin with Xorg.
> Get a copy of the mysql tarball and build that in cygwin without the
server.
> Then get QT/X11 and all of its dependancies and build that including 
> mysql support.
> Get all of myth's depndancies, most are avail through cygwin, except 
> lame and qt.
> Get lame.
> Download myth cvs from a linux box and rename the G.A.N.T directory, 
> it seems to have issues.  Transport back to windows box.
> Apply my changes (And soon to be patches).
> You'll be where I am.
> 
> Once this is functioning completely correctly, I'll install virtual PC 
> with a clean copy of 2k/XP and work out the dependancies.  After that 
> you could pray for a nice easy to follow installer instead of having 
> to compile all of these crazy things.
> 
> I am thinking of actually wiping QT/X11 and going for QT/Win32, to rid 
> all of the X11 stuff.  Myth is only dependant on DirectX for video, 
> but QT for all of the GUI, so that all shows up in X on windows
> 
> Sorry if that wasn't what you wanted to hear, but that is where I am 
> with this mess, if you still want a zip of it complaining about mysql 
> then I'll still put it up on some sort of Ftp.
> 
> 
> 
> 
> On Tue, 28 Sep 2004 18:08:51 -0400, Buechler, Mark R 
> <mark_r_buechler at bausch.com> wrote:
> > Would you consider zipping up the libs and exe's and posting them to 
> > an FTP site? I'd like to do some testing.
> >
> > - Mark.
> >
> >
> >
> > -----Original Message-----
> > From: Mario L [mailto:superm1 at gmail.com]
> > Sent: Tuesday, September 28, 2004 3:41 PM
> > To: Joel Anderson; mythtv-dev at mythtv.org
> > Subject: Re: [mythtv] Re: compiling mythtv frontend for cygwin
> >
> > Well, but still WINVER is defined to 0x400.  We need the newer 
> > features, ex multimonitor support, to you do have to define WINVER 
> > before windef.h gets included.
> >
> > On Tue, 28 Sep 2004 15:06:45 -0400, Joel Anderson 
> > <bitjunkie at gmail.com>
> > wrote:
> > >
> > >
> > > > I couldn't seem to find it declared anywhere.  Grep through your 
> > > > files and see if you can figure out where it is actually defined.
> > > > Also - It might be defined as a lower value, in order for the
errors:
> > > >
> > > > > videoout_dx.cpp:594: error: `MONITOR_DEFAULTTONEAREST' 
> > > > > undeclared
> > (first use
> > > > >   this function)
> > > > > videoout_dx.cpp:594: error: (Each undeclared identifier is 
> > > > > reported
> > only once
> > > > >   for each function it appears in.)
> > > > > videoout_dx.cpp: In member function `virtual void
> > > > >   VideoOutputDX::PrepareFrame(VideoFrame*, FrameScanType)':
> > > > > videoout_dx.cpp:262: warning: unused parameter `FrameScanType t'
> > > > > make: *** [videoout_dx.o] Error 1
> > > >
> > > > to be solved, it must be defined to be >= 0x500 according to 
> > > > winuser.h
> > > >
> > > >
> > > >
> > > > > > //mythCVS/libs/libmythtv/videoout_dx.cpp
> > > > > > /* ADD */
> > > > > > #define WINVER 0x500
> > > >
> > > > > For me this is already defined, although I can't find where.
> > >
> > > Yes I finally found it in /usr/include/w32api/windef.h:
> > >
> > > #ifndef WINVER
> > > #define WINVER 0x0400
> > > /*
> > >  * If you need Win32 API features newer the Win95 and WinNT then 
> > > you must
> > >  * define WINVER before including windows.h or any other method of 
> > > including
> > >  * the windef.h header.
> > >  */
> > > #endif
> > >
> > > So I just didn't have things in the right order in videoout_dx.cpp.
> > > :)
> > >
> > > --
> > > Joel
> > >
> >
> >
> > 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