2015-10-27, 19:44
Hi, I'v some trouble to crosscompile for RPi2 vnsi. Because, I cannot find a precise guide on how to "cross compile for raspberry" with right steps.
before I'v git cloned and cross build, into my debian x86_64 vmware KODI following this doc:
https://github.com/xbmc/xbmc/blob/master...aspberrypi
After I'v try to build vnsi addon using that guide:
http://forum.kodi.tv/showthread.php?tid=...ight=cross
My src is installed in:
Cross compile commands:
but the binary built is for x86_64 (that is strange because kodi.bin is built correctly for ELF armhf):
another issue is that zip isn't made.......why if I specified "-DPACKAGE_ZIP=1" ?
before I'v git cloned and cross build, into my debian x86_64 vmware KODI following this doc:
https://github.com/xbmc/xbmc/blob/master...aspberrypi
After I'v try to build vnsi addon using that guide:
http://forum.kodi.tv/showthread.php?tid=...ight=cross
My src is installed in:
Quote:/root/xbmc/ (for kodi sources)
/root/kodiaddons/vns.vdr.pnsi (for my addon sources)
Cross compile commands:
Quote:cmake -DADDONS_TO_BUILD=pvr.vdr.vnsi -DADDON_SRC_PREFIX=/root/kodiaddons/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/root/xbmc/addons/ -DPACKAGE_ZIP=1 project/cmake/addons/
make -j4
but the binary built is for x86_64 (that is strange because kodi.bin is built correctly for ELF armhf):
Quote:root@raspbuild:~/xbmc# file /root/xbmc/addons/pvr.vdr.vnsi/pvr.vdr.vnsi.so.1.11.7
/root/xbmc/addons/pvr.vdr.vnsi/pvr.vdr.vnsi.so.1.11.7: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=0cc189ef5ad7f97b1507625f47f0f15f7ea13406, not stripped
another issue is that zip isn't made.......why if I specified "-DPACKAGE_ZIP=1" ?