[LINUX] Problems compiling crystalhd branch - 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: [LINUX] Problems compiling crystalhd branch (/showthread.php?tid=62708) |
- i5Js - 2010-01-06 sorry cj43, It doesn't work in my aTV, when I try to launch I get this error (by command-line, launcher doesn't work either) -bash-2.05b$ XBMC.app/Contents/MacOS/XBMC dyld: Library not loaded: @executable_path/../Frameworks/libmms.0.dylib Referenced from: /mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/MacOS/XBMC Reason: no suitable image found. Did find: /mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/MacOS/../Frameworks/libmms.0.dylib: unknown required load command 0x80000022 /mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/MacOS/../Frameworks/libmms.0.dylib: unknown required load command 0x80000022 Trace/BPT trap It's very late... Good night - davilla - 2010-01-06 i5Js Wrote:sorry cj43, It doesn't work in my aTV, when I try to launch I get this error (by command-line, launcher doesn't work either) Need that +universal on the macports build to run under the atv. Looks like its built to 10.5sdk. - davilla - 2010-01-06 fixed, see http://forum.xbmc.org/showpost.php?p=475369&postcount=29 - henkaw - 2010-01-06 cj43 Wrote:Is anybody getting the "CystalHD: SetDropState..." all over the log file and not running Ubuntu Karmic? Iam just trying to see if maybe all the people having this problem are running Karmic. Just a shot in the dark. I run Debian Unstable and have exactly the same problem, so probably not ubuntu related. Code: uname -a Are you having problems with choppy playback on 720p and 1080p also? /H - i5Js - 2010-01-06 davilla Wrote:Need that +universal on the macports build to run under the atv. Looks like its built to 10.5sdk. I did all of this $ sudo nano /opt/local/etc/macports/macports.conf a) change "universal_target 10.5" to "universal_target 10.4" b) change "universal_sysroot /Developer/SDKs/MacOSX10.5.sdk" to "universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk" c) change "universal_archs ppc i386" to reflect the arch you are building by removing the unused arch. 2) These are needed to build openssl (used by samba3 and mysql5) against 10.4sd k $ sudo ln -s /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/dylib1.o /Developer/SDKs /MacOSX10.4u.sdk/usr/lib/dylib1.10.5.o $ sudo ln -s /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o /Developer/SDKs/M acOSX10.4u.sdk/usr/lib/crt1.10.5.o is it enough? - davilla - 2010-01-06 i5Js Wrote:I did all of this no Quote:Then install the following port packages (order is very important): - i5Js - 2010-01-06 all of this is already done. - davilla - 2010-01-06 i5Js Wrote:all of this is already done. dyld: Library not loaded: @executable_path/../Frameworks/libmms.0.dylib Referenced from: /mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/MacOS/XBMC Reason: no suitable image found. Did find: /mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/MacOS/../Frameworks/libmms.0.dylib: unknown required load command 0x80000022 /mnt/Scratch/Users/frontrow/Applications/XBMC.app/Contents/MacOS/../Frameworks/libmms.0.dylib: unknown required load command 0x80000022 means it was build using an SDK greater than 10.4SDK. The dylib loader commands were expanded in 10.5. Not sure what to say except nuke macports and do it again. Something is not correct with what it's built. - i5Js - 2010-01-06 So, delete all macports,compile it, install dependences and rebuild again? - i5Js - 2010-01-06 My God, /usr/bin/tclsh src/dep_map_clean.tcl /Library/Tcl can't find package Pextlib 1.0 while executing "package require Pextlib 1.0" (file "/opt/local/share/macports/Tcl/registry1.0/receipt_flat.tcl" line 37) invoked from within "source /opt/local/share/macports/Tcl/registry1.0/receipt_flat.tcl" ("package ifneeded receipt_flat 1.0" script) invoked from within "package require receipt_flat 1.0" (file "/opt/local/share/macports/Tcl/registry1.0/registry.tcl" line 35) invoked from within "source /opt/local/share/macports/Tcl/registry1.0/registry.tcl" ("package ifneeded registry 1.0" script) invoked from within "package require registry 1.0" (file "src/dep_map_clean.tcl" line 10) make: *** [install] Error 1 when I try to install mac-ports. I'm running snow leopard and i686-apple-darwin10-gcc-4.0.1: no input files Sander:base jsalas$ gcc i686-apple-darwin10-gcc-4.0.1: no input files Sander:base jsalas$ c++ i686-apple-darwin10-g++-4.0.1: no input files Sander:base jsalas$ g++ i686-apple-darwin10-g++-4.0.1: no input files - davilla - 2010-01-06 i5Js Wrote:My God, 5.- If you are under 10.6 (Snow Leopard), remember to switch the default compilers to gcc-4.0. We do it this way because the macport and XBMC for Mac build system is complex and makes some silly assumptions. However, remember that macports itself needs to be built using the xxx-4.2 version or it will fail when doing "make install" - i5Js - 2010-01-06 I thought it was done with sudo ln -s gcc-4.0 cc sudo ln -s gcc-4.0 gcc sudo ln -s c++-4.0 c++ sudo ln -s g++-4.0 g++ - davilla - 2010-01-06 i5Js Wrote:I thought it was done with Quote:However, remember that macports itself needs to be built using the xxx-4.2 version or it will fail when doing "make install" need to revert back to xxx-4.2 version when building macports. - i5Js - 2010-01-06 right! Fixed. - canadianguy - 2010-01-06 davilla Wrote:5.- If you are under 10.6 (Snow Leopard), remember to switch the default compilers to gcc-4.0. We do it this way because the macport and XBMC for Mac build system is complex and makes some silly assumptions. However, remember that macports itself needs to be built using the xxx-4.2 version or it will fail when doing "make install" If under 10.6, with xCode 3.2 (the only supported version for 10.6) I don't have the 10.4u SDK installed. It doesn't come with xCode 3.2. Do I absolutely need the 10.4 SDK? Where can I get it, or do I have to uninstall xCode 3.2 and use xCode 3.1 instead? Thanks |