Kodi Community Forum
How to compile a PVR branch for iOS. - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137)
+---- Thread: How to compile a PVR branch for iOS. (/showthread.php?tid=94905)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


How to compile a PVR branch for iOS. - Shoesy - 2011-02-21

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

not possible until atv2/ios code hits trunk.


- Shoesy - 2011-02-21

Cheers fella.


Let's try this again. - Shoesy - 2011-05-09

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.

http://pastebin.com/JvaAPZZ2

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

did you forget to 'make xcode_depends' ?


- Shoesy - 2011-05-09

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'

http://pastebin.com/LpfwYAWf


- Shoesy - 2011-05-12

Dushmaniac showed me the newer bits to use for this build, but it fails for me when building the xcode dependancies:

http://pastebin.com/Z36zmRsZ

Any ideas over here?


- davilla - 2011-05-12

Shoesy Wrote:Dushmaniac showed me the newer bits to use for this build, but it fails for me when building the xcode dependancies:

http://pastebin.com/Z36zmRsZ

Any ideas over here?

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

Here you go D

http://pastebin.com/W3Dt368C


- davilla - 2011-05-13

Shoesy Wrote:Here you go D

http://pastebin.com/W3Dt368C

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
endif

CXXFLAGS from include ../Makefile.include will take care of that.


- Shoesy - 2011-05-13

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)

http://pastebin.com/5k2gu6iJ


- davilla - 2011-05-14

lets see what it really doing.

V=1 make -C xbmc/pvrclients/MediaPortal


- Shoesy - 2011-05-14

OK- running that command gives me a similar result:

http://pastebin.com/Hb2XMPHB

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
64-bit
Component versions
Xcode IDE: 1760.0
Xcode Core: 1763.0
ToolSupport: 1758.0

ios SDK version is 4.2 (I guess this is a version old now- is that a problem?)


- davilla - 2011-05-14

the Makefile still has those lines in it.

cat xbmc/pvrclients/MediaPortal/Makefile.in

cat xbmc/pvrclients/MediaPortal/Makefile


- Shoesy - 2011-05-14

I'm pretty sure I done it right...

http://pastebin.com/Vwd3wKQN

Does the makefile get cached or something like that? Should I start from the beginning of the process again?