v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
(2018-07-31, 19:55)asavah Wrote: CXXFLAGS += -std=c++11 should help
if memory serves g++ 5.3 in ubuntu 16.04 defaults to std=gnu++98, which lacks lots of stuff,
however this should be checked and set properly by cmake, if it's not than it's a bug in the package itself and should be reported to package maintainers.

Yeah... from 16.04 VM (which fails):
text:
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /home/ubuntu/projects/LibreELEC.tv/build.LibreELEC-RPi.arm-9.0-devel/toolchain/bin/host-gcc
-- Check for working C compiler: /home/ubuntu/projects/LibreELEC.tv/build.LibreELEC-RPi.arm-9.0-devel/toolchain/bin/host-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/ubuntu/projects/LibreELEC.tv/build.LibreELEC-RPi.arm-9.0-devel/toolchain/bin/host-g++
-- Check for working CXX compiler: /home/ubuntu/projects/LibreELEC.tv/build.LibreELEC-RPi.arm-9.0-devel/toolchain/bin/host-g++ -- works

and from 17.10 (which works):
text:
-- The C compiler identification is GNU 7.2.0
-- The CXX compiler identification is GNU 7.2.0
-- Check for working C compiler: /home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel-gcc/toolchain/bin/host-gcc
-- Check for working C compiler: /home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel-gcc/toolchain/bin/host-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel-gcc/toolchain/bin/host-g++
-- Check for working CXX compiler: /home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel-gcc/toolchain/bin/host-g++ -- works


Both are wrong, of course, as in both cases it's building with gcc-8.1.0 - what the package is doing is detecting the build host gcc version not the $TOOLCHAIN version (even though that is what it claims to be using). So it's possibly a little more involved than setting CXXFLAGS.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.


Messages In This Thread
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by Milhouse - 2018-07-31, 20:26
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24