[mythtv] Re: compiling mythtv frontend for cygwin
Mario L
superm1 at gmail.com
Sat Oct 9 09:34:29 UTC 2004
Not exactly a complete patch, but here is what I have got in the order
of moving things over to mingw (assuming you got libavcodec and
libavformat and qt3_3 compiled, and my previous patch applied).
All for libmyth:
/**********Dont forget to add the -mno-cygwin switch when compiling,
you will regret it if you forget************/
1) Two new files, dlfcn_win32.h & usleep_win32.h
Mythcontext.cpp
#include "usleep_win32.h"
Remotefile.cpp
#include "usleep_win32.h"
//util.cpp
#include "usleep_win32.h"
//volumecontrol.cpp
#include "usleep_win32.h"
And
In kMuteState VolumeControl::IterateMutedChannels(void)
#endif
to
#else
return MUTE_OFF;
#endif
And
#include <sys/ioctl.h>
To
#ifndef __MINGW32__
#include <sys/ioctl.h>
#endif
//mythplugin.cpp
#include <dlfcn.h>
To
#ifndef __MINGW32__
#include <dlfcn.h>
#else
#include "dlfcn_win32.h"
#endif
//httpcomms.h
#ifdef __MINGW32__
#include "usleep_win32.h"
#endif
--------------------------
Still wont compile all the way, but that is about as far as I'll be
able to get for a few days, I'll be a bit busy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usleep_win32.h
Type: application/octet-stream
Size: 682 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041009/03eac239/usleep_win32-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlfcn_win32.h
Type: application/octet-stream
Size: 640 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041009/03eac239/dlfcn_win32-0001.obj
More information about the mythtv-dev
mailing list