How to compile a PVR branch for iOS. - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: iOS support (/forumdisplay.php?fid=137)
+---- Thread: How to compile a PVR branch for iOS. (/showthread.php?tid=94905)
How to compile a PVR branch for iOS. - Shoesy - 2011-02-21 16:15
I have the build environment all set-up, but can't really get my head around how to combine the PVR / iOS branches.
Can any clever building people give me any advice?
Thanks in advance...
- davilla - 2011-02-21 19:12
not possible until atv2/ios code hits trunk.
- Shoesy - 2011-02-21 20:05
Let's try this again. - Shoesy - 2011-05-09 22:20
So - I've been having a bit of a go at this again, but as I have little to no idea what I'm doing I'm not getting very far. It's fun to learn though isn't it!
Pulled the Dharma PVR code from Dush, but my build fails (obviously). Here is the output from the build command.
I did get some other errors further back in the steps, but I kind of blindly guessed this may be normal (they seemed quite minor).
If anyone has a bit of spare time to have a look at this I'd be grateful.
- davilla - 2011-05-09 22:27
did you forget to 'make xcode_depends' ?
- Shoesy - 2011-05-09 22:30
Thanks for looking Davilla
I didn't no, but I may well just be doing things in the wrong order I guess. This is the output of 'make xcode_depends'
- Shoesy - 2011-05-12 20:01
Dushmaniac showed me the newer bits to use for this build, but it fails for me when building the xcode dependancies:
Any ideas over here?
- davilla - 2011-05-12 20:22
Shoesy Wrote:Dushmaniac showed me the newer bits to use for this build, but it fails for me when building the xcode dependancies:
something not right here
channels.cpp:1: error: -mmacosx-version-min not allowed with -miphoneos-version-min
I'd need to see the Makefile for xbmc/pvrclients/MediaPortal
- Shoesy - 2011-05-13 00:04
Here you go D
- davilla - 2011-05-13 01:14
Shoesy Wrote:Here you go D
get rid of the last three lines
ifeq ($(findstring Darwin,$(shell uname -a)), Darwin)
DEFINES += -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -fno-common
CXXFLAGS from include ../Makefile.include will take care of that.
- Shoesy - 2011-05-13 01:58
OK - so i removed the lines from Mediaportal makefile, but output was the same- do I have to start from scratch or just run the xcode depends bit again?
This is what I get now- (same thing I think)
- davilla - 2011-05-14 03:53
lets see what it really doing.
V=1 make -C xbmc/pvrclients/MediaPortal
- Shoesy - 2011-05-14 10:21
OK- running that command gives me a similar result:
I'm not sure what's relevant really, but my version of Mac Os X is 10.6.7
X code version is 3.2.5
Xcode IDE: 1760.0
Xcode Core: 1763.0
ios SDK version is 4.2 (I guess this is a version old now- is that a problem?)
- davilla - 2011-05-14 16:07
the Makefile still has those lines in it.
- Shoesy - 2011-05-14 17:05
I'm pretty sure I done it right...
Does the makefile get cached or something like that? Should I start from the beginning of the process again?