![]() |
|
[AppleTV] Compiling crystalhd-for-osx Lib/Kext - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111) +---- Forum: Mac OS X support (/forumdisplay.php?fid=56) +---- Thread: [AppleTV] Compiling crystalhd-for-osx Lib/Kext (/showthread.php?tid=66174) |
[AppleTV] Compiling crystalhd-for-osx Lib/Kext - Jimmer - 2010-01-05 17:03 Hi, Have checked out the latest SVN (as of 5/1/10) of crystalhd-for-osx. When making the lib I keep getting errors because of a missing 'bc_dts_glob_osx.h' file in the include directory. There is a 'bc_dts_glob_lnx.h' file in /include - is the file that should be referenced? Or is the correct file missing? Apologies if this has been answered elsewhere - did a search, but maybe I'm the first? Jim - Jimmer - 2010-01-05 17:09 Scratch that - have tried compiling using bc_dts_glob_lnx.h instead of bc_dts_glob_osx.h, but predictably it wouldn't compile! Thought maybe it was a misslabled osx header, but must be the actual linux version of the header... Guess there really must be a missing file in the svn.... Jim - Elbert - 2010-01-05 19:12 Seems it's just been added with revision 11! and... ** BUILD SUCCEEDED ** - davilla - 2010-01-05 19:29 yes, fxed, at Committed revision 11. Current version is svn 12 which sets the compiler to gcc4.0 as compiling under 10.6 , the default compiler is gcc4.2. - Elbert - 2010-01-05 19:31 davilla Wrote:yes, fxed, at Committed revision 11. Current version is svn 12 which sets the compiler to gcc4.0 as compiling under 10.6 , the default compiler is gcc4.2. Ah yes, I also encountered that. Thanks for fixing - Jimmer - 2010-01-05 19:55 Just to be clear - this will compile on a G4/G5 PPC mac with XCode 3 installed? I've successfully compiled other things for the ATV on these systems before, just wanted to make sure I'm not missing anything vital! Jim - davilla - 2010-01-05 20:00 Jimmer Wrote:Just to be clear - this will compile on a G4/G5 PPC mac with XCode 3 installed? I've successfully compiled other things for the ATV on these systems before, just wanted to make sure I'm not missing anything vital! the lib makefile might need some (-arch i386 or something like that). XCode is perfectly capable of cross-compiling i386 on ppc. patches welcome
- Jimmer - 2010-01-05 22:28 Just to be clear, kext compiles for i386 as-is on a PPC. I have compiled it successfully and kextloaded on the ATV to make sure it loads/unloads. So successful on that front with no faffing about! I have put the -arch i386 flag in the makefile and compiled it on my trusty old ibook, it successfully compiled I think - but I cannot test if the compiled lib files work until my card arrives from Hong Kong (should be any day now) will report back when it arrives! Jim - davilla - 2010-01-05 23:06 Jimmer Wrote:Just to be clear, kext compiles for i386 as-is on a PPC. I have compiled it successfully and kextloaded on the ATV to make sure it loads/unloads. So successful on that front with no faffing about! Skunkworks:~ davilla$ file /usr/lib/libcrystalhd.dylib /usr/lib/libcrystalhd.dylib: Mach-O dynamically linked shared library i386 should see the i386 ref. - Jimmer - 2010-01-05 23:33 Thanks Davilla! Confirmed... ibookg4:~ jim$ file libcrystalhd.dylib libcrystalhd.dylib: Mach-O dynamically linked shared library i386 Hope for those of us without intel macs! Jim |