How to compile Kodi 18 with options
#1
Hello, I need help, I try many many times compile kodi for my raspberry-pi2, but I always have a problem.
I use Ubuntu 16.04 X86_64 at host
I need build whit this options:
Quote:-DWITH_CPU=cortex-a7 -DWITH_ARCH=arm -DCORE_SYSTEM_NAME=rbpi -DCMAKE_INSTALL_PREFIX=/usr/local -DFFMPEG_PATH=/usr/local -DENABLE_INTERNAL_FFMPEG=OFF -DCORE_SYSTEM_NAME=linux -DENABLE_NEON=ON -DENABLE_EVENTCLIENTS=ON -DENABLE_OPENGL=ON -DENABLE_X11=ON -DENABLE_VAAPI=OFF -DENABLE_VDPAU=OFF -DENABLE_MDNS=OFF
I use this guide https://github.com/xbmc/xbmc/blob/master...berryPi.md
but, I have errors.
How I can add my options to build? and how I can build *.deb package for my raspbian stretch?
If I add my options to /$HOME/kodi/tools/depends/cmakebuildsys/Makefile I whatever have errors at configure.

Please help me, and may be somebody will write a guide on compilation new kodi with options for RPI ?
Reply
#2
>> -DENABLE_X11=ON 
nope, you don't need that option at all, not for the pi

make sure you read the proper guide and _if_ you have have any errors come back here reporting _actual_ errors you see

native languague detector by nick triggered:
ты дебил, учись читать маны, когда поймёшь - возвращайся с логом с реальными ошибками, если не будешь творить хуйню как сейчас - может быть помогу
Reply
#3
(2019-04-12, 22:14)asavah Wrote: >> -DENABLE_X11=ON 
nope, you don't need that option at all, not for the pi

make sure you read the proper guide and _if_ you have have any errors come back here reporting _actual_ errors you see

native languague detector by nick triggered:
ты дебил, учись читать маны, когда поймёшь - возвращайся с логом с реальными ошибками, если не будешь творить хуйню как сейчас - может быть помогу
I need X11 because...
look here:
https://www.raspberrypi.org/forums/viewt...0#p1168243
Now I will install a new virtual machine and follow the manual, and I will publish everything in this topic step by step.
Quote:This guide has been tested with Ubuntu 16.04 (Xenial) x86_64 and 18.04 (Bionic)
I will use Ubuntu (Xenial) 16.04 X86_64 

native languague:
Не хами пожалуйста. Я выше скинул ссылку, там описано почему нужна поддержка X11 и OpenGL, я собираю себе carpc, мне надо запускать программу навигации поверх kodi.
Сейчас я поставлю себе свежую виртуальную машину и пойду по мануалу, и буду по этапно публиковать все в этом топике.
Reply
#4
so....
I install fresh system,

first step after install
1. :~$ sudo apt install autoconf bison build-essential curl default-jdk gawk git gperf libcurl4-openssl-dev zlib1g-dev
https://paste.kodi.tv/ocaxubupex
2. cd $HOME
3. git clone https://github.com/xbmc/xbmc kodi
https://paste.kodi.tv/ugadagifid
4. git clone https://github.com/raspberrypi/tools --depth=1
https://paste.kodi.tv/zatemozafi
5. git clone https://github.com/raspberrypi/firmware --depth=1
https://paste.kodi.tv/ojelefefuv
6. Now I do next steps
https://paste.kodi.tv/uhiqupucar
7. And start make -j4
https://paste.kodi.tv/uboduneven
Reply
#5
and last step I need make this
cd $HOME/kodi
make -C tools/depends/target/cmakebuildsys
but, how I can add options ?
I can add my options to this file? (tools/depends/target/cmakebuildsys/Makefile) :
https://paste.kodi.tv/woduhirifa
Reply
#6
next, maybe it mistake but I add my options
https://paste.kodi.tv/ewoyafayej
and I start "make -C tools/depends/target/cmakebuildsys"
but I see this:
CMake Warning:
Manually-specified variables were not used by the project:

ENABLE_X11

https://paste.kodi.tv/yeyabeqihu

in this topic https://forum.kodi.tv/showthread.php?tid=330345
I see option -DENABLE_X=ON this it X11 support? without answer of this question, I change -DENABLE_X11=ON to -DENABLE_X=ON and do "make -C tools/depends/target/cmakebuildsys"
https://paste.kodi.tv/iyobugaxop
next cd $HOME/kodi/build
and make -j4
but I have error
https://paste.kodi.tv/uhalohoqej

when I wait building, I read this topic:
https://forum.kodi.tv/showthread.php?tid=338508
maybe need add this option ?
-DENABLE_OPENGLES=OFF
Reply
#7
(2019-04-13, 10:36)krevedkoman Wrote: next, maybe it mistake but I add my options
https://paste.kodi.tv/ewoyafayej
and I start "make -C tools/depends/target/cmakebuildsys"
but I see this:
CMake Warning:
Manually-specified variables were not used by the project:

ENABLE_X11

https://paste.kodi.tv/yeyabeqihu

in this topic https://forum.kodi.tv/showthread.php?tid=330345
I see option -DENABLE_X=ON this it X11 support? without answer of this question, I change -DENABLE_X11=ON to -DENABLE_X=ON and do "make -C tools/depends/target/cmakebuildsys"
https://paste.kodi.tv/iyobugaxop
next cd $HOME/kodi/build
and make -j4
but I have error
https://paste.kodi.tv/uhalohoqej

when I wait building, I read this topic:
https://forum.kodi.tv/showthread.php?tid=338508
maybe need add this option ?
-DENABLE_OPENGLES=OFF
or I just need install mesa-common-dev ?
Reply
#8
I spent several time for the same problem, but I'vent found a solution.
I would it also use for my carpc project. [emoji16]

When you found a way, let us know. Many people use kodi and raspberry as carpc. [emoji111]
Reply
#9
(2019-04-16, 16:00)Peziman Wrote: I spent several time for the same problem, but I'vent found a solution.
I would it also use for my carpc project. [emoji16]

When you found a way, let us know. Many people use kodi and raspberry as carpc. [emoji111]

I did it ))))
please see this:
https://www.youtube.com/watch?v=aP0W4l3I...e=youtu.be

I build kodi 17.5 Krypton, next step build kodi 18 Leia.
Reply
#10
(2019-04-16, 16:00)Peziman Wrote: I spent several time for the same problem, but I'vent found a solution.
I would it also use for my carpc project. [emoji16]

When you found a way, let us know. Many people use kodi and raspberry as carpc. [emoji111]
I need some time to check everything and write manual
Reply
#11
(2019-04-17, 12:25)krevedkoman Wrote:
(2019-04-16, 16:00)Peziman Wrote: I spent several time for the same problem, but I'vent found a solution.
I would it also use for my carpc project. [emoji16]

When you found a way, let us know. Many people use kodi and raspberry as carpc. [emoji111]

I did it ))))
please see this:
https://www.youtube.com/watch?v=aP0W4l3I...e=youtu.be

I build kodi 17.5 Krypton, next step build kodi 18 Leia.
Nice to see that's run with Kodi 17.
Which build do you use?
Because when I try it with 17, I got only a black screen.
Please let us know a better description...
Reply

Logout Mark Read Team Forum Stats Members Help
How to compile Kodi 18 with options0