[mythtv] compiling mythtv frontend for cygwin

Nigel Pearson nigel at ind.tansu.com.au
Wed Aug 4 20:01:36 EDT 2004

> At the bottom of this message is a list of notes I took during my 
> attempts
> to compile it on cygwin. Mostly, I commented out things I could not
> resolve, mostly backend related. At the end I got this message:
> make: *** No rule to make target `../libmyth/libmyth-0.15.so', needed 
> by
> `cygmythtv-0.15-0.dll'. Stop.

	Hi George.

	This looks similar to the error I had building a MacOS X frontend.
There is a fix for this in the latest CVS version of those .pro files,
or if you want to patch manually, try this:

% cvs diff -r1.62 -r1.64 libmythtv.pro
Index: libmythtv.pro
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/libmythtv.pro,v
retrieving revision 1.62
retrieving revision 1.64
diff -r1.62 -r1.64
< TARGETDEPS += ../libmyth/libmyth-$${LIBVERSION}.so
< TARGETDEPS += ../libavcodec/libmythavcodec-$${LIBVERSION}.so
< TARGETDEPS += ../libavformat/libmythavformat-$${LIBVERSION}.so
 > }

P.S. It is much better if you edit the .pro files
      instead of hacking all the Makefiles.

> I'm hoping it's just a compiler hiccup that I can clear, but I haven't
> messed with Makefiles much yet. Is there a way around the above error
> message?
> Here's my notes:
> compile notes:
> in volumecontrol.cpp I manually #defined _WIN32

	Hmmm. The 0.15 version of volumecontrol.cpp should work.
Did you edit the top level settings file (setttings.pro) to
define _WIN32 and to undefine all the Linux & X-windows
specific stuff?

Nigel Pearson, nigel at ind.tansu.com.au | "Now the world has gone to bed,
Telstra BI&D, Sydney, Australia       |  Darkness won't engulf my head,
Office: 8255 4222    Fax:  8255 3153  |  I can see by infrared,
Mobile: 0408 664435  Home: 9792 6998  |  How I hate the night." -Marvin

More information about the mythtv-dev mailing list