Build Android from Git PVR Addons set to No..
#1
So I'm getting ready to build XBMC for Android and the configuration came back with the PVR Addons set to No. How do I set it to yes to get them to build?

Code:
------------------------
  XBMC Configuration:
------------------------
  git Rev.:    20130831-2da9c97
Shared lib    Yes
  Debugging:    Yes
  Profiling:    No
  Optimization:    Yes
  SWIG Available:    Yes
  JRE Available:    Yes
  Doxygen Available:    No
  Crosscomp.:    Yes
  target ARCH:    arm
  target CPU:    cortex-a9
  OpenGLES:    Yes
  ALSA:        No
  DBUS:        No
  VDPAU:    No
  VAAPI:    No
  CrystalHD:    No
  VTBDecoder:    No
  OpenMax:    No
  Joystick:    No
  XRandR:    No
  Waveform:    Yes
  Spectrum:    Yes
  GOOM:        No
  RSXS:        Yes
  FishBMC:    No
  ProjectM:    No
  Skin Touched:    Yes
  X11:        No
  Bluray:    Yes
  TexturePacker:Yes
  MID Support:    No
  ccache:    No
  ALSA Support:    No
  PulseAudio:    No
  HAL Support:    No
  DVDCSS:    Yes
  Google Test Framework Configured:    No
  Avahi:    No
  mDNSEmbedded:    Yes
  Non-free:    Yes
  ASAP Codec:    No
  MySQL:    Yes
  Webserver:    Yes
  libssh support:    Yes
  libRTMP support:    Yes
  libsmbclient support:    Yes
  libnfs client support:Yes
  libafpclient support:    Yes
  AirPlay support:    Yes
  AirTunes support (libshairplay):    Yes
  UPnP support:        Yes
  Optical drive:    No
  libudev support:    No
  libusb support:    Yes
  libcec support:    Yes
  libmp3lame support:    Yes
  libvorbisenc support:    Yes
  libcap support:    No
  additional players:    No
  External FFmpeg:    No
  PVR add-ons:        No
  prefix:    /home/kyriv/local/xbmc-depends/arm-linux-androideabi-android-14
Reply
#2
Ignore that printout is for telling you that no external pvr - addons are used. They are built already and you can go on with the build instructions of the readme ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
Thanks. Are they compiled with xbmc sources or pre-compiled?
Reply
#4
with xbmc sources ... tools/depends/ builds them in target/xbmc-pvr-addons
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#5
Thanks I'm trying to see if I build xbmc with my custom pvr it will work on a RK30** device. When I compile it using a cross-compiled for androieabi it works fine on my Nexus phone, Galaxy tablet, and my friends Ouya. But when I put it on my RK3066 android device it doesn't start for some reason. Hoping maybe this will make a difference...
Reply
#6
So this is what I get from my PVR when I try to load it on Gotham Alpha7 on an Android RK3066 device.
Code:
23:03:13 T:1749963360   ERROR: Unable to load /mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/pvr.rockchiptv/libXBMC_RockchipTV_PVR.so, reason: Cannot load library: load_library(linker.cpp:814): can't map loadable segments for "/mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/addons/pvr.rockchiptv/libXBMC_RockchipTV_PVR.so": Invalid argument

The same source compile for frodo n Android works on my Phone, tablet, and Ouya, but won't work on the RK3066.
Could I simply be missing a compile flag for this device? I've tried building it with NDK and with a standalone toolchain.

I would really like to utilize the dual core RK3066 device... please help..
Reply
#7
Any way that we can have a look at your pvr code? It has to be compiled from within xbmc tree - but not sure how to do it when it is not handled via tools/depends/target/xbmc-pvr-addons.

Android is picky about so names and symbols and resolving dependency libs and what not.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#8
I added it manually to the xbmc-pvr-addons and made the necessary additions to the Makefile.am for it to get compiled. I don't use any external libs, just the ones that xbmc-pvr has... rapidxml and jsoncpp.

I even went as far as cloning pipelka's repository and replacing the xvdr source with mine. Again when compiled it works great on my Nexus S, Galaxy Tab II and buddies Ouya, just that damn blasted RK3066 device (new Jynxbox XD).

I would rather not share the code right now but these are my includes:
client.cpp
Code:
#include "client.h"
#include "xbmc_pvr_dll.h"
#include "RockchipTVClient.h"
#include "platform/util/util.h"

RockchipTVClient.cpp
Code:
#include <sstream>
#include <string>
#include <fstream>
#include <iostream>
#include <map>
#include "zlib.h"
#include "rapidxml/rapidxml.hpp"
#include "RockchipTVClient.h"
#include "RockchipTVResolver.h"

and RockchipTVResolver.cpp
Code:
#include <sstream>
#include <string>
#include <fstream>
#include <iostream>
#include <regex.h>
#include <cstdio>
#include "client.h"
#include "rapidxml/rapidxml.hpp"
#include "RockchipTVResolver.h"
Reply
#9
that doesn't help... something is wrong with that so file ... use ldd and nm to figure it out on your own then ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#10
readelf can help where nm refuses to play
Reply
#11
thanks for the tips guys and sorry for not wanting to share sources.
Reply

Logout Mark Read Team Forum Stats Members Help
Build Android from Git PVR Addons set to No..0