Friday, February 22, 2013

Build XBMC Frodo from source in Raspbian on Raspberry PI

Hi!

After struggling couple of days in finding the best way to build XBMC on Raspberry PI I have finally got a working solution(haven't discovered how I can cross-compile it, which would be the best choice).
This takes about 15 hours, on my Raspberry PI model B, but the good news is that 'make' takes about 12 hours, so you don't need to watch it, just come from time to time to see if it is working. Besides the build messages displayed on screen you have the whole logs for rbp_depends, configure, make and make install steps. If anything goes wrong you can investigate these files(the last one reached) and search for the first error
log_1_rbp_depends.log
log_2_configure.log
log_3_make.log
log_4_make_install.log
This tutorial is for Linux Host Machine but it can be easily adapted to any other OS.
Let's get this started!

1. Get the latest Raspbian Wheezy image from http://www.raspberrypi.org/downloads and put it on an SD card:
You have couple of possibilities to do this. In Linux you can use:
sudo dd bs=1M if=raspbian_wheezy_image_path of=/dev/sd_card_path
2. Get XBMC 12 source code from http://xbmc.org/download/. On the Source Code section, download the zip file from where it says: "Stable release sources are available here".
If you get the code from git it will probably get an unstable version, which is the latest code. When I have build from source I have got XBMC 13 alpha 1 which worked, but no addon was working.
Transfer xbmc folder to your /home/pi/ directory or wherever you like.
Now you can plug the card in Raspberry PI and follow the next steps.

Note. The easiest way to do this is via ssh(first, enable it using sudo raspi-config menu), from a computer. Just connect in Terminal using:
ssh pi@x.x.x.x
where x.x.x.x is the ip address of your device. You can get the ip address by typing ifconfig. Then you just copy/paste the commands into Terminal.

3. Set minimum amount of video memory and create a swap partition:
sudo raspi-config
Here you should expand_rootfs, disable overscan, configure_keyboard, change_pass, change_timezone and enable ssh. Select memory_split and enter 16 then restart.
Now, to create a swap partition, use the following:
dd if=/dev/zero of=/home/pi/swapfile1 bs=1024 count=204800
sudo mkswap /home/pi/swapfile1
sudo chown root:root /home/pi/swapfile1
sudo chmod 0600 /home/pi/swapfile1
sudo swapon /home/pi/swapfile1
The swap file is needed as extra memory for the compiler. This will prevent you from getting errors like:
gcc: internal compiler error: Killed (program cc1)

4. Update the system and install some dependencies:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install autotools-dev comerr-dev dpkg-dev libalsaplayer-dev libapt-pkg-dev:armhf libasound2-dev libass-dev:armhf libatk1.0-dev libavahi-client-dev libavahi-common-dev libavcodec-dev libavformat-dev libavutil-dev libbison-dev:armhf libbluray-dev:armhf libboost1.49-dev \
    libbz2-dev:armhf libc-dev-bin libc6-dev:armhf libcaca-dev libcairo2-dev libcdio-dev libclalsadrv-dev libcrypto++-dev libcups2-dev libcurl3-gnutls-dev \
    libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdrm-dev libegl1-mesa-dev libelf-dev libenca-dev libept-dev libevent-dev libexpat1-dev libflac-dev:armhf \
    libfontconfig1-dev libfreetype6-dev libfribidi-dev libgconf2-dev libgcrypt11-dev libgdk-pixbuf2.0-dev libgl1-mesa-dev libgles2-mesa-dev \
    libglew-dev:armhf libglewmx-dev:armhf libglib2.0-dev libglu1-mesa-dev libgnome-keyring-dev libgnutls-dev libgpg-error-dev libgtk2.0-dev libhal-dev \
    libhunspell-dev:armhf libice-dev:armhf libicu-dev libidn11-dev libiso9660-dev libjasper-dev libjbig-dev:armhf libjconv-dev libjpeg8-dev:armhf libkrb5-dev \
    libldap2-dev:armhf libltdl-dev:armhf liblzo2-dev libmad0-dev libmicrohttpd-dev libmodplug-dev libmp3lame-dev:armhf libmpeg2-4-dev libmysqlclient-dev \
    libncurses5-dev libnspr4-dev libnss3-dev libogg-dev:armhf libopenal-dev:armhf libp11-kit-dev libpam0g-dev:armhf libpango1.0-dev libpcre++-dev libpcre3-dev \
    libpixman-1-dev libpng12-dev libprotobuf-dev libpthread-stubs0-dev:armhf libpulse-dev:armhf librtmp-dev libsamplerate0-dev:armhf \
    libsdl-image1.2-dev:armhf libsdl1.2-dev libslang2-dev:armhf libsm-dev:armhf libsmbclient-dev:armhf libspeex-dev:armhf \
    libsqlite3-dev libssh-dev libssh2-1-dev libssl-dev libstdc++6-4.6-dev libtagcoll2-dev libtasn1-3-dev libtiff4-dev libtinfo-dev:armhf libtinyxml-dev \
    libts-dev:armhf libudev-dev libv8-dev libva-dev:armhf libvdpau-dev:armhf libvorbis-dev:armhf libvpx-dev:armhf libwebp-dev:armhf libwibble-dev \
    libx11-dev:armhf libx11-xcb-dev libxapian-dev libxau-dev:armhf libxcb-glx0-dev:armhf libxcb-render0-dev:armhf libxcb-shm0-dev:armhf \
    libxcb1-dev:armhf libxcomposite-dev libxcursor-dev:armhf libxdamage-dev libxdmcp-dev:armhf libxext-dev:armhf libxfixes-dev libxft-dev libxi-dev \
    libxinerama-dev:armhf libxml2-dev:armhf libxmu-dev:armhf libxrandr-dev libxrender-dev:armhf libxslt1-dev libxss-dev:armhf libxt-dev:armhf \
    libxtst-dev:armhf libxxf86vm-dev libyajl-dev libzip-dev linux-libc-dev:armhf lzma-dev mesa-common-dev python-dev python2.7-dev x11proto-composite-dev \
    x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev \
    x11proto-record-dev x11proto-render-dev x11proto-scrnsaver-dev x11proto-xext-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev xtrans-dev \
    libnfs-dev libplist-dev avahi-daemon zlib1g-dev:armhf swig java-package libafpclient-dev liblockdev1-dev autoconf automake libtool gcc udev openjdk-6-jre \
    cmake g++ libudev-dev build-essential autoconf ccache gawk gperf mesa-utils zip unzip curl
This will take some time depending on your internet speed.

5. Copy libraries headers and create some symlinks for libraries:
sudo cp -R /opt/vc/include/* /usr/include
sudo cp /opt/vc/include/interface/vcos/pthreads/* /usr/include/interface/vcos
sudo ln -fs /opt/vc/lib/libEGL.so /usr/lib/libEGL.so
sudo ln -fs /opt/vc/lib/libEGL.so /usr/lib/arm-linux-gnueabihf/libEGL.so
sudo ln -fs /opt/vc/lib/libEGL.so /usr/lib/arm-linux-gnueabihf/libEGL.so.1
sudo ln -fs /opt/vc/lib/libEGL_static.a /usr/lib/libEGL_static.a
sudo ln -fs /opt/vc/lib/libEGL_static.a /usr/lib/arm-linux-gnueabihf/libEGL_static.a
sudo ln -fs /opt/vc/lib/libGLESv2.so /usr/lib/libGLESv2.so
sudo ln -fs /opt/vc/lib/libGLESv2.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so
sudo ln -fs /opt/vc/lib/libGLESv2.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2
sudo ln -fs /opt/vc/lib/libGLESv2_static.a /usr/lib/libGLESv2_static.a
sudo ln -fs /opt/vc/lib/libGLESv2_static.a /usr/lib/arm-linux-gnueabihf/libGLESv2_static.a
sudo ln -fs /opt/vc/lib/libbcm_host.so /usr/lib/libbcm_host.so
sudo ln -fs /opt/vc/lib/libbcm_host.so /usr/lib/arm-linux-gnueabihf/libbcm_host.so
sudo ln -fs /opt/vc/lib/libvchiq_arm.a /usr/lib/libvchiq_arm.a
sudo ln -fs /opt/vc/lib/libvchiq_arm.a /usr/lib/arm-linux-gnueabihf/libvchiq_arm.a
sudo ln -fs /opt/vc/lib/libvchiq_arm.so /usr/lib/libvchiq_arm.so
sudo ln -fs /opt/vc/lib/libvchiq_arm.so /usr/lib/arm-linux-gnueabihf/libvchiq_arm.so
sudo ln -fs /opt/vc/lib/libvcos.a /usr/lib/libvcos.a
sudo ln -fs /opt/vc/lib/libvcos.a /usr/lib/arm-linux-gnueabihf/libvcos.a
sudo ln -fs /opt/vc/lib/libvcos.so /usr/lib/libvcos.so
sudo ln -fs /opt/vc/lib/libvcos.so /usr/lib/arm-linux-gnueabihf/libvcos.so
There is a problem when compiling, with the file /usr/include/interface/vmcs_host/vcgencmd.h which includes the wrong vchost_config.h, so I have created a command to put the right inclusion:
sudo sed -i 's/#include "vchost_config.h"/#include "linux\/vchost_config.h"/' /usr/include/interface/vmcs_host/vcgencmd.h
6. Install taglib, libcec and libshairport.
cd <pah_to_xbmc_dir>
make -C lib/taglib
sudo make -C lib/taglib install
cd <any_directory>
git clone --depth 5 https://github.com/Pulse-Eight/libcec.git
cd libcec
./bootstrap
./configure --prefix=/usr/local
make
sudo make install
cd <path_to_xbmc_dir>
make -C lib/libshairport
sudo make -C lib/libshairport install
7. Configure and compile XBMC
cd <path_to_xbmc_dir>
export TARGET_SUBARCH="armv6zk"
export TARGET_CPU="arm1176jzf-s"
export TARGET_FLOAT="hard"
export TARGET_FPU="vfp"
export TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
export TARGET_EXTRA_FLAGS="-Wno-psabi -Wa,-mno-warn-deprecated"
export TARGET_COPT="-Wall -pipe -fomit-frame-pointer -O3 -fexcess-precision=fast -ffast-math  -fgnu89-inline"
export TARGET_LOPT="-s -Wl,--as-needed"
export CFLAGS="-march=$TARGET_SUBARCH -mcpu=$TARGET_CPU $TARGET_FPU_FLAGS -mabi=aapcs-linux $TARGET_COPT $TARGET_EXTRA_FLAGS"
export CXXFLAGS="$CFLAGS"
export LDFLAGS="-march=$TARGET_SUBARCH -mtune=$TARGET_CPU $TARGET_LOPT"
Fix some errors:
sed -i 's/USE_BUILDROOT=1/USE_BUILDROOT=0/' tools/rbp/setup-sdk.sh
sed -i 's/TOOLCHAIN=\/usr\/local\/bcm-gcc/TOOLCHAIN=\/usr/' tools/rbp/setup-sdk.sh
Run:
sudo sh tools/rbp/setup-sdk.sh
Fix other errors:
sed -i 's/cd $(SOURCE); $(CONFIGURE)/#cd $(SOURCE); $(CONFIGURE)/' tools/rbp/depends/xbmc/Makefile
Run:
make -C tools/rbp/depends/xbmc/ 2>&1 | tee log_1_rbp_depends.log
Configure:
./configure --prefix=/usr/local --build=arm-linux-gnueabihf \
            --host=arm-linux-gnueabihf --localstatedir=/var/lib \
            --with-platform=raspberry-pi --disable-gl --enable-gles \
            --disable-x11 --disable-sdl --enable-ccache --enable-optimizations \
            --disable-external-libraries --disable-goom --disable-hal \
            --disable-pulse --disable-vaapi --disable-vdpau --disable-xrandr \
            --enable-airplay --disable-alsa --enable-avahi --enable-libbluray \
            --enable-dvdcss --disable-debug --disable-joystick --disable-mid \
            --enable-nfs --disable-profiling --disable-projectm --enable-rsxs \
            --enable-rtmp --disable-vaapi --disable-vdadecoder \
            --disable-external-ffmpeg --enable-optical-drive \
            --enable-player=omxplayer 2>&1 | tee log_2_configure.log
After configuration completes, please run he following command:
sed -i 's/ifeq (1,1)/ifeq (0,1)/' tools/TexturePacker/Makefile
Compile(this will take about 12 hours):
make 2>&1 | tee log_3_make.log
8. Install XBMC 12 in Raspbian.
sudo make install 2>&1 | tee log_4_make_install.log
After this step you have to run raspi-config again and to set video memory to 128 and then restart. Now you should be able to run XBMC using
/usr/local/lib/xbmc/xbmc.bin
Note: If you are running via xbmc command, or from XFCE menu->Multimedia->XBMC it will not start. The same command can be used to run XBMC from terminal or from XFCE interface.
In addition you can also install PVR Addons and XVDR addon(but this is not necessary):
cd <any_directory>
git clone --depth 5 git://github.com/opdenkamp/xbmc-pvr-addons.git
cd xbmc-pvr-addons/
./bootstrap
./configure --prefix=/usr/local --enable-addons-with-dependencies
sudo make install
cd <any_directory>
git clone git://github.com/pipelka/xbmc-addon-xvdr.git
cd xbmc-addon-xvdr
sh autogen.sh
./configure --prefix=/usr/local
sudo make install
Note
If you want to modify sources after the compilation is completed, you just have to modify them and then run make again, which will build only the affected parts(couple of minutes), but remember to keep the video memory at maximum 32MB when you are building, and also keep the swap partition.

Many thanks to:
  • XBIAN forums 
  • http://www.raspbian.org/RaspbianXBMC (mpthompson)

41 comments:

  1. Hi again!

    It all goes fine with no errors which means xbmc installed :D but I'm not using hdmi output, I'm using composite video, and when I start xbmc I get message that "XBMC cannot run unless the screen colour is atleast 24bit." I'm not sure that I understand what that means and how to change this.

    ReplyDelete
    Replies
    1. Well this fixed my problem in /boot/config.txt where you define resolution.

      framebuffer_depth=32
      framebuffer_ignore_alpha=1

      now to calibration :-/

      Delete
  2. How big of an SD card do you need to compile this?

    Jasmin, do you have an eGalax touchscreen? If so would you be interested in sharing your compiled XMBC?

    ReplyDelete
    Replies
    1. Hi Marcus!

      The minimum sd card size for this compilation is 4GB. I will try to setup a torrent for it.

      Regards,
      Andrei

      Delete
    2. Hello Andrei,

      I really would appreciate that and I bet others would as well. I have a 2GB card in right now. I realized real quick it probably wont do me much good, I need to get another card.

      I was able to complete the kernel compilation, but that was on my desktop. Its great I got the touch screen working in the OS, but I need it working in XBMC as well.

      Again thank you so much for this guide, it has been really helpful.

      Delete
    3. Sorry for a little late response I was otherwise occupied. No problem I can share it with just making full image for my personal backup. But Andrei is using egalax touch too. I need to make calibration of visible screen and touch. That is missing. Working on it.

      Delete
  3. Replies
    1. Hi Marcus!

      My build folder has almost 500MB.

      Delete
  4. Hi!

    I've got a problem at compilation step when trying to compile taglib (make -C lib/taglib).
    Here's the backtrace:
    "
    make: Entering directory `/home/pi/xbmc-12.1/lib/taglib'
    make -C taglib-1.8/build
    make[1]: Entering directory `/home/pi/xbmc-12.1/lib/taglib/taglib-1.8/build'
    make[1]: *** No targets specified and no makefile found. Stop.
    make[1]: Leaving directory `/home/pi/xbmc-12.1/lib/taglib/taglib-1.8/build'
    make: *** [libtaglib.so] Error 2
    make: Leaving directory `/home/pi/xbmc-12.1/lib/taglib'
    pi@raspberrypi ~/xbmc-12.1 $
    "
    I'm sorry for my english i'm not english speaking! Thank you for your help!

    ReplyDelete
  5. Just in case anyone else finds this useful:

    At the

    make -C tools/rbp/depends/xbmc/ 2>&1 | tee log_1_rbp_depends.log

    stage I kept getting permission denied errors.
    I started fixing the individually but in the end gave execute permissions to ALL files in the tree!

    chmod -R a+x ./

    ReplyDelete
  6. Thank you for the compiled upload

    ReplyDelete
  7. Perfect Andrei ! Flawless compilation. Thanks, Helio.

    ReplyDelete
  8. hi,

    i did all with any error but get this when i want to start xbmc

    pi@raspberrypi ~ $ /usr/local/lib/xbmc/xbmc.bin
    /usr/local/lib/xbmc/xbmc.bin: error while loading shared libraries: libbcm_host.so: cannot open shared object file: No such file or directory
    pi@raspberrypi ~ $

    ReplyDelete
  9. Many thanks! Managed to build XBMC 12.1 which seems to work with all plugins, all thanks to your guide. XBMC 12.1 has some improvements for the RPI, for example the ability to view pictures.

    ReplyDelete
    Replies
    1. Hi!

      I have also build XBMC12.1 this weekend, but I have an issue: When I am starting xbmc the logo shows and then the screen goes blank. If I connect the hdmi cable to my tv xbmc is working great. After this, if I reconnect the hdmi cable to my 7 inch display xbmc is also working, very strange. The first time int never works.

      Andrei

      Delete
  10. its possible to use pvr?

    i compiled tvheadend but what xmbc need for it?

    ReplyDelete
    Replies
    1. I think you can use it but I don't know how to configure it.

      Andrei

      Delete
  11. Your image works great, just config axes and done. Thx

    Any chance you can add usb audio support? I'm trying myself with very slow progress.

    Many Thx JAzz

    ReplyDelete
    Replies
    1. Hi Jazz!

      I am sorry but I don't have time for this kind of work.

      Regards

      Delete
  12. Every step works fine until I reached this command:

    sed -i 's/ifeq (1,1)/ifeq (0,1)/' tools/TexturePacker/Makefile

    It keeps returning me the following error:

    pi@raspberrypi ~/xbmc $ sed -i 's/ifeq (1,1)/ifeq (0,1)/' ./tools/TexturePacker/Makefile
    sed: can't read ./tools/TexturePacker/Makefile: No such file or directory

    I've checked the directory and these are the files within:
    cmdlineargs.h MakeDDS.cpp Makefile.in md5.cpp md5.h SDL_anigif.cpp SDL_anigif.h SimpleFS.h TexturePacker.exe Win32 XBMCTex.cpp XBTFWriter.cpp XBTFWriter.h xwinapi.cpp xwinapi.h

    Can someone explain why it is not working for me but it is for everyone else? Using the latest wheezy OS with model-B.

    Thanks!

    ReplyDelete
    Replies
    1. Hi!

      It seems that the Makefile was not genrated. Please try to run this command after ./configure.

      Regards,
      Andrei

      Delete
    2. Hello,

      Thanks for your reply, unfortunatly both the ./configure and the configure command listed above (with all the parameters) didn't solve the problem.

      Any other ideas? Or do you have a precompiled version?

      Regards,
      Jorin

      Delete
    3. Hi Jorin!

      Please do not run that sed command and follow the other steps.
      I don't understand what do you mean by "both the ./configure and the configure command listed above". When I said ./configure I meant(like the post says):
      ./configure --prefix=/usr/local --build=arm-linux-gnueabihf \
      --host=arm-linux-gnueabihf --localstatedir=/var/lib \
      --with-platform=raspberry-pi --disable-gl --enable-gles \
      --disable-x11 --disable-sdl --enable-ccache --enable-optimizations \
      --disable-external-libraries --disable-goom --disable-hal \
      --disable-pulse --disable-vaapi --disable-vdpau --disable-xrandr \
      --enable-airplay --disable-alsa --enable-avahi --enable-libbluray \
      --enable-dvdcss --disable-debug --disable-joystick --disable-mid \
      --enable-nfs --disable-profiling --disable-projectm --enable-rsxs \
      --enable-rtmp --disable-vaapi --disable-vdadecoder \
      --disable-external-ffmpeg --enable-optical-drive \
      --enable-player=omxplayer 2>&1 | tee log_2_configure.log

      Andrei

      Delete
    4. Hi, I have the same problem. After the .configure I ran:

      sed -i 's/ifeq (1,1)/ifeq (0,1)/' tools/TexturePacker/Makefile

      sed: can't read tools/TexturePacker/Makefile: No such file or directory

      Did the whole proceedure twice with same result. Any advise why the makefile is not generated ?

      Delete
    5. just saw that there is a error with the autopoint during the .configure about leaving the make directory.

      I ran the make out of that leaving dir and its running. Will update when its done but appreciate any explanation.

      Thx

      Delete
    6. OK disregard my previous post. stupid. Its still not working.
      The error comes with

      make -C tools/rbp/depends/xbmc/ 2>&1 | tee log_1_rbp_depends.log
      autoreconf: running: autopoint --force
      Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
      autoreconf: failed to run autopoint: No such file or directory
      autoreconf: autopoint is needed because this package uses Gettext
      make: *** [configure] Error 1

      for that reason the make is not generated and not found at the later stage. Need help one that

      Thx

      Delete
    7. Hi Alex!

      I have just rebuild my system from scratch, including xbmc 12.2 last week and it all went fine. I advice you to remove the xbmc sources folder, download xbmc 12.2 again and try the steps again.
      I haven't tested using the git version.

      Delete
    8. Hi ,
      thanks for the response. In the meantime I downloaded the 12.2 tar and using this instead of the git. I reinstalled autopoint and now its working and I just started xbmc. BTW had some issues with taglib versions which I had to reinstall as well.
      Thx again

      Delete
  13. I am using the latest wheezy build 3.6.11+ #474. It complains about libegl1-mesa-dev and libgles2-mesa-dev with the "apt-get install" command. I simply ignored it. But it failed at the ./configure step with the following message:

    checking for FRIBIDI... yes
    checking for SQLITE3... yes
    checking for PNG... yes
    checking for PCRECPP... yes
    checking for PCRE... yes
    checking for CDIO... yes
    checking for SAMPLERATE... yes
    checking for FREETYPE2... yes
    checking for TAGLIB... no
    configure: error: Could not find a required library. Please see the README for your platform.

    ReplyDelete
    Replies
    1. Never mind. Started from a fresh wheezy and the build went smoothly...

      Delete
  14. i have a problem with libwayland0. so before i can install all dependencies i had to do "sudo apt-get install -y libwayland0=0.85.0-2". the version of raspbian is newer but have a problem with other dependencies.

    ReplyDelete
  15. hi,

    when i patch the current git source ill get this:
    patching file xbmc/input/linux/LinuxInputDevices.cpp
    Hunk #1 succeeded at 274 (offset -43 lines).
    Hunk #2 succeeded at 498 (offset -47 lines).
    Hunk #3 succeeded at 655 (offset -43 lines).
    patching file xbmc/input/MouseStat.cpp
    Hunk #1 FAILED at 20.
    Hunk #2 succeeded at 49 (offset 11 lines).
    Hunk #3 succeeded at 149 (offset 11 lines).
    1 out of 3 hunks FAILED -- saving rejects to file xbmc/input/MouseStat.cpp.rej
    patching file xbmc/input/MouseStat.h
    Hunk #1 succeeded at 125 (offset 2 lines).


    how to fix it?

    ReplyDelete
    Replies
    1. Hi!

      I haven't tried my patch on the git files and I don't know how it looks. I advice you to download latest stable 12.2 release and keep a copy of it somewhere. Now, apply my patch to the copy and make a diff(using Meld, Windiff, Beyond Compare, etc) and see the changes. Now copy each changes in the files from the XBMC git(there shouldn't be much).

      Delete
  16. Hi, I have done everything and it works great, I do have one problem and I don't know how to fix it, when running XBMC I only have limited keyboard functions for instance when I go to "add source" you need to type in the source destination but I can't seem to type anything from my keyboard, I have to use the onscreen keyboard and it sucks. With my RaspBMC this works but not the newly build on raspbian.
    please if anyone can help me to how to fix keyboard support I would appreciate it.

    ReplyDelete
  17. Hallo Zusammen,
    erst mal Danke! Eine super Anleitung!
    zu dem Befehl:
    "sed -i 's/cd $(SOURCE); $(CONFIGURE)/#cd $(SOURCE); $(CONFIGURE)/' tools/rbp/depends/xbmc/Makefile"

    Bei mir kam auch eine Fehlermeldung:
    "sed: can't read tools/TexturePacker/Makefile: No such file or directory" Weil die Make-FIles nicht erstellt wurden.

    Es fehlen Berechtigungen zum Ausführen.
    -> Lösung: mit "sudo chmod ... " die Berechtigungen setzen.

    It's a bit sloppy to set the wohl Folder to "sudo chmod 777 * -R" but it works!
    The elegant way is to search the file in the log, but I did not have enough time for it.
    Later, the privilege can be revoked.
    This work with xbmc-12.0.

    ReplyDelete
  18. During the make it fail as following:

    /tmp/ccnfCsb2.s: Assembler messages:
    /tmp/ccnfCsb2.s:80: Warning: swp{b} use is deprecated for this architecture
    AR xbmc/main/main.a
    LD xbmc.bin
    collect2: ld terminated with signal 9 [Killed]
    make: *** [xbmc.bin] Error 1
    any ideas?

    Thank you

    ReplyDelete
    Replies
    1. are you trying to make using my sources, or from fresh sources?

      Delete
  19. Have made the swap partition? This was my fault.
    Look at dmesg

    ReplyDelete
  20. Hi Andrei,
    I'm having issues with high CPU load. It's always above 75%.
    Tried changing vsync options and disabled RSS feed.
    Did you have any similar issue?

    ReplyDelete
  21. Hello,
    I followed the steps but makes runs for about 3 mins and terminates with the following :
    CPP xbmc/cores/dvdplayer/DVDPlayerVideo.o
    In file included from /usr/include/bcm_host.h:54:0,
    from /home/pi/xbmc-rbp/xbmc/linux/DllBCM.h:34,
    from /home/pi/xbmc-rbp/xbmc/windowing/egl/WinEGLPlatformRaspberryPI.h:31,
    from /home/pi/xbmc-rbp/xbmc/windowing/egl/WinEGLPlatform.h:28,
    from /home/pi/xbmc-rbp/xbmc/windowing/egl/WinSystemGLES.h:29,
    from /home/pi/xbmc-rbp/xbmc/windowing/WindowingFactory.h:40,
    from DVDPlayerVideo.cpp:24:
    /usr/include/interface/vmcs_host/vcgencmd.h:33:27: fatal error: vchost_config.h: No such file or directory
    compilation terminated.
    /home/pi/xbmc-rbp/Makefile.include:88: recipe for target 'DVDPlayerVideo.o' failed
    make[1]: *** [DVDPlayerVideo.o] Error 1
    Makefile:257: recipe for target 'xbmc/cores/dvdplayer/DVDPlayer.a' failed
    make: *** [xbmc/cores/dvdplayer/DVDPlayer.a] Error 2

    Fingers crossed -

    Linux Noob

    ReplyDelete