• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 19
[AppleTV] Compiling crystalhd-for-osx Lib/Kext
#16
gangsta75 Wrote:i don't know if what i did is right..
i compiled everything on my macbookpro and copied all the stuff on appletv.
kext is loaded:
kextload: extension BroadcomCrystalHD.kext appears to be valid
kextload: loading extension BroadcomCrystalHD.kext
kextload: BroadcomCrystalHD.kext loaded successfully
kextload: loading personalities named:
kextload: FirstPersonality
kextload: sending 1 personality to the kernel
kextload: matching started for BroadcomCrystalHD.kext

i'm running the latest build of xbmc and the card is installed properly (i've already tested ubuntu live and it's working good)

this is it?
I've tried 720p but it's not working.
Am i missing something?

thanks
G75

Not nearly enough info to begin debugging why Smile
Reply
#17
davilla Wrote:Not nearly enough info to begin debugging why Smile

You are right Davilla but i tought i was not in the right direction so i have not added other infos on my post :p
I'm running build R26208 (one of the latest) and i don't see any references about Broadcom on xbmc log.

Seeing A Milton post, i suppose build i'm running is not patched. (tought was patched since #26172)
Reply
#18
Bet you forgot to compile xbmc with the --enable-crystalhd flag, after having installed the lib/headers.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#19
I found a compiled r26336 here. That _should_ work, right?

Edit: I'm not sure that build has crystalhd enabled. I'll keep on compiling...
Reply
#20
Quote:** BUILD FAILED **


The following build commands failed:
XBMC:
CompileC build/XBMC.build/Release/XBMC.build/Objects-normal/i386/CrystalHD.o /Users/staed/dev/trunk/xbmc/cores/dvdplayer/DVDCodecs/Video/CrystalHD.cpp normal i386 c++ com.apple.compilers.gcc.4_0
(1 failure)

Sad

I guess I'll try again tomorrow if someone doesn't have something precompiled by then. It's 1 AM here, so I guess it's time for bed.

Quote:$ time { ./bootstrap && ./configure --disable-debug --enable-crystalhd && make clean && make xcode_depends && xcodebuild -sdk macosx10.4 -project XBMC.xcodeproj -target XBMC.app -configuration Release build; }

[...]

real 45m7.372s
user 36m58.379s
sys 7m22.544s

XBMC is a freaking beast! Big Grin
Reply
#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.
Reply
#22
post the output of

ls -l /usr/include/libcrystalhd
Reply
#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
Reply
#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.
Reply
#25
svn up and try again. made so tweeks. seems to build from me, not sure what is wrong.
Reply
#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.
Reply
#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
Reply
#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
Reply
#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.
Reply
#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.
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 19

Logout Mark Read Team Forum Stats Members Help
[AppleTV] Compiling crystalhd-for-osx Lib/Kext0