v18 Build errors compiling 18.0a1 on RPi2
#16
(2018-03-08, 22:59)popcornmix Wrote:
(2018-03-08, 22:42)graysky Wrote: I don't think I can build without the mesa package due to some dependencies...  glew --> glu --> libglvnd --> mesa

Can kodi build without glew, glu, libglvnd, and mesa?
  
Kodi won't use any of those libs.    
 
On Arch ARM, the libgl requirement can use one of these 5:
1) libglvnd 2) imx-gpu-viv-dfb  3) imx-gpu-viv-fb  4) imx-gpu-viv-wl  5) imx-gpu-viv-x11

If I select 1, it will pull in mesa due to a dependency.  Which of the 4 packages listed above do you recommend (description for all 4 of them is simply, "Freescale proprietary Vivante GPU drivers for i.MX6 Quad SoC.") ... OR... should I simply drop the libgl requirement completely?  Thanks!

EDIT:  I am trying to build without the libgl and glew requirements now while awaiting your reply.  Thanks again!
Need help programming a Streamzap remote?
Reply
#17
(2018-03-08, 23:01)graysky Wrote: EDIT:  I am trying to build without the libgl and glew requirements now while awaiting your reply.  Thanks again! 

Kodi won't use any gl libs from your distribution - it just needs the firmware gl in /opt/vc/
So I think what you are currently doing without mesa or gl installed is correct.
Reply
#18
(2018-03-08, 23:46)popcornmix Wrote:
(2018-03-08, 23:01)graysky Wrote: EDIT:  I am trying to build without the libgl and glew requirements now while awaiting your reply.  Thanks again! 

Kodi won't use any gl libs from your distribution - it just needs the firmware gl in /opt/vc/
So I think what you are currently doing without mesa or gl installed is correct.    

That was it... it builds fine!  Thank you to all who helped me through this.  For reference, here are my makedeps and cmake line:
Code:
makedepends=(
  'afpfs-ng' 'bluez-libs' 'boost' 'cmake' 'curl' 'doxygen'       
  'gperf' 'hicolor-icon-theme' 'jasper' 'java-environment' 'libaacs' 'libass'
  'libbluray' 'libcdio' 'libcec-rpi' 'libmariadbclient' 'libmicrohttpd'
  'libmodplug' 'libmpeg2' 'libnfs' 'libplist' 'libpulse' 'libssh'
  'libxrandr' 'libxslt' 'lzo' 'nasm' 'nss-mdns' 'python2-pillow'
  'python2-pybluez' 'python2-simplejson' 'raspberrypi-firmware' 'rtmpdump'
  'shairplay' 'smbclient' 'speex' 'swig' 'taglib' 'tinyxml' 'unzip' 'upower'
  'yajl' 'zip' 'giflib' 'rapidjson' 'fmt'
)
 
Code:
_codename=Leia
_tag="18.0a1-$_codename"
_rtype=Alpha
_ffmpeg_version="3.4.1-$_codename-$_rtype-$_rver"
_libdvdcss_version="1.4.1-$_codename-$_rtype-$_rver"
_libdvdnav_version="6.0.0-$_codename-$_rtype-$_rver"
_libdvdread_version="6.0.0-$_codename-$_rtype-$_rver"
_CPU=cortex-a7

  cmake -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
    -DCMAKE_PREFIX_PATH=/opt/vc \
    -DCORE_PLATFORM_NAME=rbpi \
    -DWITH_CPU="$_CPU" \
    -DENABLE_EVENTCLIENTS=ON \
    -DENABLE_OPENGL=OFF \
    -DENABLE_X11=OFF \
    -DENABLE_VAAPI=OFF \
    -DENABLE_VDPAU=OFF \
    -DENABLE_INTERNAL_CROSSGUID=ON \
    -DLIRC_DEVICE=/run/lirc/lircd \
    -Dlibdvdcss_URL="$srcdir/libdvdcss-$_libdvdcss_version.tar.gz" \
    -Dlibdvdnav_URL="$srcdir/libdvdnav-$_libdvdnav_version.tar.gz" \
    -Dlibdvdread_URL="$srcdir/libdvdread-$_libdvdread_version.tar.gz" \
    -DFFMPEG_URL="$srcdir/ffmpeg-$_ffmpeg_version.tar.gz" \
    ../"xbmc-$_tag
Need help programming a Streamzap remote?
Reply

Logout Mark Read Team Forum Stats Members Help
Build errors compiling 18.0a1 on RPi20