[AppleTV] Compiling crystalhd-for-osx Lib/Kext

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #21
Humm, you too. Something must be busted in svn, checking.

EDIT: command-line xcodebuild is broke for some reason, open the project and build it in xcode.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
(This post was last modified: 2010-01-06 02:42 by davilla.)
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #22
post the output of

ls -l /usr/include/libcrystalhd


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
A Milton Offline
Member+
Posts: 101
Joined: Jun 2007
Reputation: 0
Location: Sweden
Post: #23
Code:
-rw-r--r--  1 root  wheel  15915  5 Jan 23:06 bc_dts_defs.h
-rw-r--r--  1 root  wheel   2442  5 Jan 23:06 bc_dts_types.h
-rw-r--r--  1 root  wheel  32785  5 Jan 23:06 libcrystalhd_if.h
find quote
DV3B Offline
Member
Posts: 72
Joined: Dec 2009
Reputation: 0
Post: #24
I'm having trouble with the XBMC compile also.

Installed the crystalhd libs as per instructions on site, no errors.

I just downloaded XBMC svn_revision 26422M and and ran;

Code:
make clean     
./bootstrap     
./configure --enable-crystalhd    
make clean
make xcode_depends


Opened up xcode ran build and got 255 errors ,1 warning. (I know I should post a log but where do I find it?)

/usr/include/libcrystalhd reads the same as A_Milton

Code:
total 112
-rw-r--r--  1 root  wheel  15915  6 Jan 10:29 bc_dts_defs.h
-rw-r--r--  1 root  wheel   2442  6 Jan 10:29 bc_dts_types.h
-rw-r--r--  1 root  wheel  32785  6 Jan 10:29 libcrystalhd_if.h

Also I just recompiled XBMC without the --enable-crystalhd flag and build was successful.

If I can provide any more info I'm happy to help.
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #25
svn up and try again. made so tweeks. seems to build from me, not sure what is wrong.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #26
Grrrr, not sure what is going on here. The other post clearly points to a problem finding the crystalhd headers as the include fails. Yet the headers are present.

someone do "echo $PATH" on the command-line and post the results.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
DV3B Offline
Member
Posts: 72
Joined: Dec 2009
Reputation: 0
Post: #27
Is this what your after?

Code:
echo $PATH
/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin
find quote
WeakATV Offline
Junior Member
Posts: 33
Joined: Jan 2010
Reputation: 0
Post: #28
There must be an obvious answer to this because I have not seen it yet, so my apologies in advance....

If everyone is using the same platform (Apple TV), why is _everyone_ compiling it? Couldn't one compile it, and host the kext somewhere? Blush
find quote
davilla Offline
Team-XBMC Developer
Posts: 10,399
Joined: Feb 2008
Reputation: 58
Post: #29
fixed in crystalhd-for-osx svn r15.

Xcode sandboxes "/usr/includes" and uses "/Developer/SDKs/MacOSX10.4u.sdk/usr/include" instead.

So svn up (from crystalhd-for-osx svn) re-install the crystalhd library and all should be good.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
pin87a Offline
Senior Member
Posts: 179
Joined: Mar 2004
Reputation: 5
Post: #30
Yay! It works!
After a serious crash course in building XBMC for the Mac I was able to get everything up and running on my ATV.

XBMC.log

So far so good. Big thanks to Davilla and everyone else involved in making this happen.
find quote
Post Reply