Linux Nooby Compiling help
#1
Hi All,

I am trying to compile unstable Kodi from Git and the PVR addons on my Debian Jessie system.

I have installed all depends...

I have tried reading the the README.linux file, but I am getting stuck at the point where it calls ./bootstrap and ./configure...

These files are not in the main source tree.

Cheers!

UPDATE: I have run

tools/depends/bootstrap
tools/depends/configure

configure is reporting

configure: error: No prefix path defined. Use for ex: --prefix=/opt/xbmc-depends
Reply
#2
https://github.com/xbmc/xbmc/blob/master.../README.md
Reply
#3
I am runnign Debian Jessie amd64 with all libs installed.

This is my current error... after running make (I have bootstrapped & configured with no error)

I think it's moaning about ffmpeg, but configure has built its own ffmpeg library?

Code:
AR      xbmc/addons/addons.a
CPP     xbmc/cores/AudioEngine/Utils/AEChannelInfo.o
CPP     xbmc/cores/AudioEngine/Utils/AEUtil.o
CPP     xbmc/cores/ExternalPlayer/ExternalPlayer.o
CPP     xbmc/cores/AudioEngine/Utils/AEStreamInfo.o
CPP     xbmc/cores/AudioEngine/Utils/AEPackIEC61937.o
CPP     xbmc/cores/AudioEngine/Utils/AEBitstreamPacker.o
CPP     xbmc/cores/AudioEngine/Utils/AEELDParser.o
CPP     xbmc/cores/AudioEngine/Utils/AEDeviceInfo.o
AR      xbmc/cores/ExternalPlayer/ExternalPlayer.a
CPP     xbmc/cores/AudioEngine/Utils/AELimiter.o
CPP     xbmc/cores/AudioEngine/Encoders/AEEncoderFFmpeg.o
In file included from Encoders/AEEncoderFFmpeg.cpp:21:0:
/home/chris/projects/kodi/xbmc/xbmc/cores/AudioEngine/AEDefines.h:26:32: fatal error: AEDefines_override.h: No such file or directory
#include "AEDefines_override.h"
                                ^
compilation terminated.
/home/chris/projects/kodi/xbmc/Makefile.include:97: recipe for target 'Encoders/AEEncoderFFmpeg.o' failed
make[1]: *** [Encoders/AEEncoderFFmpeg.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CPP     xbmc/cores/VideoPlayer/VideoRenderers/BaseRenderer.o
Makefile:432: recipe for target 'xbmc/cores/AudioEngine/audioengine.a' failed
make: *** [xbmc/cores/AudioEngine/audioengine.a] Error 2
make: *** Waiting for unfinished jobs....
CPP     xbmc/cores/VideoPlayer/VideoRenderers/ColorManager.o
CPP     xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.o
CPP     xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererUtil.o
CPP     xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererGUI.o
CPP     xbmc/cores/VideoPlayer/VideoRenderers/RenderCapture.o
CPP     xbmc/cores/VideoPlayer/VideoRenderers/RenderManager.o
CPP     xbmc/cores/VideoPlayer/VideoRenderers/RenderFlags.o
CPP     xbmc/cores/VideoPlayer/VideoRenderers/DebugRenderer.o
CPP     xbmc/cores/VideoPlayer/VideoRenderers/LinuxRendererGL.o
CPP     xbmc/cores/VideoPlayer/VideoRenderers/OverlayRendererGL.o
CPP     xbmc/cores/VideoPlayer/VideoRenderers/FrameBufferObject.o
AR      xbmc/cores/VideoPlayer/VideoRenderers/VideoRenderer.a
chris@apollo:~/projects/kodi/xbmc$


Also, anoter note, cmake does not work at all for me. I am running it from a seperate build folder, with Kodi checked out to ../xbmc/

Code:
chris@apollo:~/projects/kodi/kodi-build$ cmake ../xbmc/
CMake Error: The source directory "/home/chris/projects/kodi/xbmc" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Reply
#4
in krypton the cmake project is in project/cmake
so: cmake ../project/cmake
Reply
#5
Excellent! The wiki & Github pages could do with a bit of tweaking... I am a fairly confident software developer and new to Kodi but this took a few evenings to get right.

Any tips on cross-compiling a .deb package for the Raspberry Pi? There is a page on cross-compiling, but nothing for making a deb after,
Reply
#6
we support creating debs in cmake natively, all in the readme I linked above
Reply

Logout Mark Read Team Forum Stats Members Help
Nooby Compiling help0