[mythtv] OSX Compile problem
Nigel Pearson
nigel at ind.tansu.com.au
Wed Jun 9 21:42:49 EDT 2004
> FWIW, I applied that large patch against 0.15.1, but I still had to
> manually edit the Makefiles for libavcodec and libavformat for -lz and
> taking out audio.c (even though the macx sections were in the .pro
> files). This is on a Powerbook G4 with latest Panther.
Another user found that they had to "qmake -macx"
to force the correct architecture. No idea why it works
for me, but not for you guys.
> After that the compile borked on something about a cdrom header. I'm
> at
> work and was pulled away from my machine last night, but when I get
> home
> I'll try to run it again and copy the output.
Thanks. I thought my patch fixed this, but I just checked,
and I am using the 0.15.1 cdrom code as is, except for:
diff -ru mythtv-0.15.1/libs/libmyth/libmyth.pro
mythtv-0.15.1.new/libs/libmyth/l
ibmyth.pro
--- mythtv-0.15.1/libs/libmyth/libmyth.pro Sat May 22 14:06:20 2004
+++ mythtv-0.15.1.new/libs/libmyth/libmyth.pro Tue Jun 1 18:42:13 2004
@@ -29,9 +29,18 @@
inc.files += audiooutput.h inetcomms.h httpcomms.h mythmedia.h
mythwizard.h
inc.files += uilistbtntype.h uiphoneentry.h generictree.h
-!win32 {
- SOURCES += audiooutputoss.cpp mythcdrom.cpp mythmediamonitor.cpp
- HEADERS += audiooutputoss.h mythcdrom.h mythmediamonitor.h
+using_oss {
+ SOURCES += audiooutputoss.cpp
+ HEADERS += audiooutputoss.h
+}
+
+macx {
+# SOURCES += audiooutputdarwin.cpp
+}
+
+unix:!macx {
+ SOURCES += mythcdrom.cpp mythmediamonitor.cpp
+ HEADERS += mythcdrom.h mythmediamonitor.h
inc.files += mythcdrom.h mythmediamonitor.h
}
--
Nigel Pearson, nigel at ind.tansu.com.au | "Reality is that which,
Telstra BI&D, Sydney, Australia | when you stop believing
Office: 8255 4222 Fax: 8255 3153 | in it, doesn't go away."
Mobile: 0408 664435 Home: 9792 6998 | Philip K. Dick - 'Valis'
More information about the mythtv-dev
mailing list