![]() |
v18 Compiler Error on Rpi 3B - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: v18 Compiler Error on Rpi 3B (/showthread.php?tid=330528) |
Compiler Error on Rpi 3B - User 411814 - 2018-04-04 I currently try to compile the v18 Alpha 2 on my raspberry pi, but after running for some hours the compiler stopped with an error. Quote:checking whether the C compiler works... noI posted the config.log here https://paste.ubuntu.com/p/xcbdkw3knQ/ I am relativly new to compiling so I have no idea what to do now. RE: Compiler Error on Rpi 3B - Rechi - 2018-04-04 You don't have to compile depends if you build on your pi. Just install the required libs from your distribution. RE: Compiler Error on Rpi 3B - User 411814 - 2018-04-04 How would I do that ? I added the nightly repository, and installed all libs I found here. If I try to install kodi from the nightly repository I get an error that I could not be installed (I guess cause of raspbian, and the nightly repository is made for Ubuntu). Sorry if this question sounds nooby, but I never had to work with libs and and nightly builds before. RE: Compiler Error on Rpi 3B - Rechi - 2018-04-04 Nightly ppa is only for ubuntu and i386 or amd64 processors. Installing the libs listed at https://github.com/xbmc/xbmc/blob/master/docs/README.linux#L46-L60 is already correct, where you get them from doesn't matter. I recommand following http://blog.nunosenica.com/compiling-kodi-and-building-deb-packages-raspbian-stretch/. Note: CORE_SYSTEM_NAME was renamed to CORE_PLATFORM_NAME. You may also want to use -DENABLE_INTERNAL_RapidJSON=ON as additional cmake argument as your distro doesn't ship a recent enough rapidsjon version. RE: Compiler Error on Rpi 3B - User 411814 - 2018-04-04 I found that guide and tried it, but also got errors. I got the RapidJson-Dev from the nightly build, so that is fixed. The CORE_SYSTEM_NAME threw me some errors, so I removed it, but atleast now I know why and can try again. Also it seems the CMakeFile was moved to ../ rather than ../cmake/ , as I always get an error that it doesn't exist in /cmake/. I just tried to run cmake, and it ended in an error. Quote:-- Configuring incomplete, errors occurred!My config. Quote:cmake \CMakeLog CMakeError RE: Compiler Error on Rpi 3B - User 411814 - 2018-04-06 Found the error, I used -CORE_PLATFORM_NAME=rbpi \ and should have used -DCORE_PLATFORM_NAME=rbpi \ RE: Compiler Error on Rpi 3B - rodeirojg - 2018-06-18 RPi 3 has the same problem as RPi 3B? RE: Compiler Error on Rpi 3B - Rechi - 2018-06-18 Which problem does RPi 3 have? |