• 1
  • 24
  • 25
  • 26(current)
  • 27
  • 28
  • 34
[LINUX] Problems compiling crystalhd branch
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
Reply
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)

-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

Need that +universal on the macports build to run under the atv. Looks like its built to 10.5sdk.
Reply
fixed, see http://forum.xbmc.org/showpost.php?p=475...stcount=29
Reply
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.

19:33:24 T:2885266288 M: 17727488 DEBUG: CrystalHD: SetDropState... 1
19:33:25 T:2885266288 M: 17727488 DEBUG: CrystalHD: SetDropState... 0
19:33:25 T:2885266288 M: 17727488 DEBUG: CrystalHD: SetDropState... 1
19:33:25 T:2885266288 M: 17743872 DEBUG: CrystalHD: SetDropState... 0

I run Debian Unstable and have exactly the same problem, so probably not ubuntu related.
Code:
uname -a
Linux 2.6.32-trunk-686 #1 SMP Thu Dec 24 05:52:30 UTC 2009 i686 GNU/Linux

Are you having problems with choppy playback on 720p and 1080p also?

/H
Reply
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?
Reply
i5Js Wrote: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?

no

Quote:Then install the following port packages (order is very important):

$ sudo port install pcre +universal
$ sudo port install expat +universal
$ sudo port install libiconv +universal
$ sudo port install gettext +universal
$ sudo port install libtool yasm cmake gmake pkgconfig

$ sudo port install lzo +universal
$ sudo port install lzo2 +universal
$ sudo port install bzip2 +universal
$ sudo port install fontconfig +universal
$ sudo port install boost +universal

$ sudo port install jpeg +universal
$ sudo port install tiff +universal
$ sudo port install libpng +universal
$ sudo port install libogg +universal
$ sudo port install libvorbis +universal
$ sudo port install libmad macosx_deployment_target=10.4
$ sudo port install fribidi +universal
$ sudo port install libmms +universal

$ sudo port install glew +universal
$ sudo port install libcdio +universal
$ sudo port install openssl +universal
$ sudo port install samba3 macosx_deployment_target=10.4
$ sudo port install mysql5 +universal
$ sudo port install sqlite3 +universal
$ sudo port install libsamplerate +universal

$ sudo port install libsdl +no_x11 +universal
$ sudo port install smpeg +universal
$ sudo port install libsdl_mixer +universal
$ sudo port install libsdl_image +universal
Reply
all of this is already done.
Reply
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.
Reply
So, delete all macports,compile it, install dependences and rebuild again?
Reply
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

Sad
Reply
i5Js Wrote: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

Sad

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"
Reply
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++
Reply
i5Js Wrote: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++

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.
Reply
right! Fixed.
Reply
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
Reply
  • 1
  • 24
  • 25
  • 26(current)
  • 27
  • 28
  • 34

Logout Mark Read Team Forum Stats Members Help
[LINUX] Problems compiling crystalhd branch2