[mythtv] Re: compiling mythtv frontend for cygwin

Buechler, Mark R Mark_R_Buechler at bausch.com
Tue Sep 28 18:08:51 EDT 2004


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



More information about the mythtv-dev mailing list