[LINUX] Problems compiling crystalhd branch - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: [LINUX] Problems compiling crystalhd branch (/showthread.php?tid=62708)
[LINUX] Problems compiling crystalhd branch - cake - 2009-11-27 21:25
Hi, my setup is as described here:
I've tried compiling latest trunk, i've tried the rev before r25048 (as davilla suggested) but there is just no compiling it. Someone, was it davilla?, mentioned karmic was supported by the leaked bmc70012 linux drivers. Only up to 8.04? Did anyone successfully compile the crystalhd branch with crystalhd actually working?
I got it working, check this guide for details:
- davilla - 2009-11-27 21:35
cake Wrote:I've tried compiling latest trunk, i've tried the rev before r25048 (as davilla suggested) but there is just no compiling it.
That better be crystalhd branch not latest trunk
Pastebin your compile errors, that's always a good start.
- dan1son - 2009-11-27 21:44
Installing 8.04 onto an atv-bootloader card now. Hopefully 4gigs is enough.
I'll be getting gstreamer working first (looks to be fairly straight forward with the drivers out in the wild) then I'll give compiling CrystalHD XBMC branch a go. I'll definitely post my progress here.
EDIT: After taking FAR too freakin long to install onto a USB flash drive, I replaced the hard disk in the appletv with an old one out of a laptop. Gonna try this again.
- cake - 2009-11-27 21:45
latest crystalhd branch was what i meant yes. I booted the box and lost the compile errors i got and it takes about 45 mins to get to the point where it stops. I'll post it next time i try to compile. A few questions tho;
1. If i understood correctly I need to include the files from: http://trac.xbmc.org/changeset/22347/branches/xdmx/XBMC
before trying to compile the crystalhd branch?
2. I cannot seem to find the bcm_link_run.sh script mentioned here:
3. http://forum.xbmc.org/showpost.php?p=446772&postcount=728 mentions bc_drv_if.h instead of the missing c_ldil_if.h, is a simple cp enough?
- cake - 2009-11-27 21:47
One thing is for sure, totem didnt want to play any x264 on my karmic install
- gimli - 2009-11-27 23:20
A view hints :
Copy the files from http://trac.xbmc.org/changeset/22347/branches/xdmx/XBMC to /usr/include/crystalhd
ls -l /usr/include/crystalhd/
-rwxr-xr-x 1 root root 86870 Nov 26 09:41 7411d.h
-rwxr-xr-x 1 root root 16587 Nov 26 09:41 bc_dts_defs.h
-rwxr-xr-x 1 root root 1910 Nov 26 09:41 bc_dts_types.h
-rwxr-xr-x 1 root root 43370 Nov 26 09:41 bc_ldil_if.h
drwxr-xr-x 2 root root 4096 Nov 26 09:41 link
drwxr-xr-x 2 root root 4096 Nov 26 09:41 linux
-rwxr-xr-x 1 root root 15568 Nov 26 09:41 vdec_info.h
drwxr-xr-x 3 root root 4096 Nov 26 09:41 windows
bc_ldil_if.h is a copy of windows/bc_drv_if.h
Copy bcmFilePlayFw.bin -> /usr/lib/bcmFilePlayFw.bin
Copy libldil.so.1.0 -> /usr/lib/libldil.so.1.0
Link /usr/lib/libldil.so.1.0 //usr/lib/libldil.so.1
Link /usr/lib/libldil.so.1.0 /usr/lib/libldil.so
On archlinux i had to edit /usr/include/crystalhd/bc_dts_types.h and remarked "typedef void VOID;" ( //typedef void VOID; )
bcm_70012_dev.sh is found in linux_release_generic/Driver/.
I also copied /usr/include/crystalhd -> xbmc_src/lib/.
- hisper - 2009-11-28 01:01
gimli : got it all compiled under ubuntu, but i am getting :
*ERR*:...bc_link_cmds.c:315: Link invalid state 0
Probably missing 'bcmFilePlayFw.bin'. Where did you get that ?
- davilla - 2009-11-28 03:20
hisper Wrote:gimli : got it all compiled under ubuntu, but i am getting :
The HP Mini 110 distro has it.
- dan1son - 2009-11-28 04:59
davilla Wrote:The HP Mini 110 distro has it.
Any hints on where? Having some problems finding that one in the plethora of information...
Scratch that... It was installed with one of the debs in the right place.
- csbook - 2009-11-28 05:10
bcmFilePlayFw.bin can be found in the windows zip: