Kodi Community Forum
[fixed] Problem building from osx-coreadio branch (XBMCHelper) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: [fixed] Problem building from osx-coreadio branch (XBMCHelper) (/showthread.php?tid=50559)



[fixed] Problem building from osx-coreadio branch (XBMCHelper) - Fergus - 2009-05-08

Looking for some advice please, in case I'm missing anything obvious here.

I can now succesfully build an intel 10.5 app from the current linuxport branch using the instructions in README.osx. The process hangs when I try to use the xcodebuild command line, but building through the xcode GUI works just great. I was hoping to build myself an app from the osx-coreadio branch in order to overcome my Sony Amp AC3 Passthrough problems, but I can't get the build to complete.

What I'm doing

  1. Command Lines >>> http://fergus.pastebin.com/m533e5f04 <<<
  2. xcode >>> http://fergus.pastebin.com/m443a01bc <<<

Both of these steps exactly mirror the steps I perform when successfully building from the linuxport branch; the only difference being the path used in the "svn checkout" command. I've also been nuking my XBMC folder (rm -rf ~/XBMC) when switching between linuxport and osx-coreadio branches.

Results

  1. xcode Full Results >>> http://fergus.pastebin.com/m3eb3da20 <<<
  2. xcode warnings/errors >>> http://fergus.pastebin.com/m56cc7b6b <<<

I can try to dig about further and narrow down the cause of my problem, but would really appreciate any pointers if I'm making any glaring errors. Is the osx-coreaudio branch stable/clean for example, or do I need to perform any additional steps when accessing this branch. I'd appreciate a quick steer form anyone in the know before I head off in the wrong direction. I haven't programmed in C for 17 years, or done any real programming at all for at least 10 years, so my hands-on troubleshooting skills are a bit rusty I could easily burn up serious amounts of time only for someone to later point out a no-brainer step that I've overlooked!


- davilla - 2009-05-08

which svn version? when you ""svn checkout", do you do this in a clean dir that is separate from linuxport? The path below suggests not.

does "/Users/dev/XBMC/xbmc/cores/AudioRenderers/SliceQueue.cpp" exist?


- Fergus - 2009-05-08

Which Version?

Code:
svn info
Path: .
URL: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/osx-coreaudio/XBMC
Repository Root: https://xbmc.svn.sourceforge.net/svnroot/xbmc
Repository UUID: 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Revision: 20044
Node Kind: directory
Schedule: normal
Last Changed Author: phi2039
Last Changed Rev: 19972
Last Changed Date: 2009-05-06 03:53:55 +0100 (Wed, 06 May 2009

Clean Directory?

Should be; I'm using "rm -rf" to clean it out.

Does "/Users/dev/XBMC/xbmc/cores/AudioRenderers/SliceQueue.cpp" exist?

No! Does this mean I'm doing something stupid with svn? I don't see it in http://trac.xbmc.org/browser/branches/osx-coreaudio/XBMC/xbmc/cores/AudioRenderers either?


- davilla - 2009-05-08

checking into to this. You do know you can have more than one branch on your local disk?


- davilla - 2009-05-08

fixed in svn r20071


- Fergus - 2009-05-08

davilla Wrote:fixed in svn r20071

Fantastic. I'll have another go over the weekend now!

davilla Wrote:You do know you can have more than one branch on your local disk?

I suspected so, but hadn't taken the time to experiment yet. I read chapters 1 - 4 of the red-bean SVN book today, so can now understand how to more than a vanilla "svn checkout"!

Thanks again for your help - really appreciate it!


- reaven - 2009-05-19

Any luck on the build for the audio fix Fergus Huh


- davilla - 2009-05-19

osx-coreaudio has been merged in to linuxport at http://trac.xbmc.org/changeset/20274, we are now at http://trac.xbmc.org/changeset/20447 so coreaudio should be in the 3rd party nightly builds by now.


- reaven - 2009-05-19

davilla Wrote:osx-coreaudio has been merged in to linuxport at http://trac.xbmc.org/changeset/20274, we are now at http://trac.xbmc.org/changeset/20447 so coreaudio should be in the 3rd party nightly builds by now.

I lost you there, so what I need to do now, to include the osx-coreaudio fix in my build ??


- reaven - 2009-05-19

already found it , thanks


- reaven - 2009-05-19

ok found it, extract it , now just replace all in my original installation ?