[mythtv] Re: compiling mythtv frontend for cygwin
Joel Anderson
bitjunkie at gmail.com
Tue Sep 28 15:06:45 EDT 2004
> 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
More information about the mythtv-dev
mailing list