Solved Build failure of 18.4
#3
(2019-10-19, 15:56)graysky Wrote: I am experiencing a build error under Arch Linux when building kodi-x11 18.4.

Link entire build log.  If I grep the relevant lines out of that log:
Code:
[ 86%] Building CXX object build/cores/VideoPlayer/subtitles/CMakeFiles/dvdsubtitles.dir/DVDSubtitleStream.cpp.o
In file included from /build/kodi/src/xbmc-18.4-Leia/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererVAAPIGL.h:14,
                 from /build/kodi/src/xbmc-18.4-Leia/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererVAAPIGL.cpp:9:
/build/kodi/src/xbmc-18.4-Leia/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/VaapiEGL.h:38:3: error: ‘PFNGLEGLIMAGETARGETTEXTURE2DOESPROC’ does not name a type; did you mean ‘PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC’?
   38 |   PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC
/build/kodi/src/xbmc-18.4-Leia/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererVAAPIGL.cpp: In member function ‘virtual bool CRendererVAAPI::Configure(const VideoPicture&, float, unsigned int)’:
/build/kodi/src/xbmc-18.4-Leia/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererVAAPIGL.cpp:84:13: error: ‘struct VAAPI::InteropInfo’ has no member named ‘glEGLImageTargetTexture2DOES’
   84 |     interop.glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)eglGetProcAddress("glEGLImageTargetTexture2DOES");
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/kodi/src/xbmc-18.4-Leia/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererVAAPIGL.cpp:84:45: error: ‘PFNGLEGLIMAGETARGETTEXTURE2DOESPROC’ was not declared in this scope; did you mean ‘PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC’?
   84 |     interop.glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)eglGetProcAddress("glEGLImageTargetTexture2DOES");
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                             PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC
[ 86%] Building CXX object build/utils/CMakeFiles/utils.dir/SortUtils.cpp.o
make[2]: *** [build/cores/VideoPlayer/videorenderers/hwdec/CMakeFiles/videorenderers_hwdec.dir/build.make:63: build/cores/VideoPlayer/videorenderers/hwdec/CMakeFiles/videorenderers_hwdec.dir/RendererVAAPIGL.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:10128: build/cores/VideoPlayer/videorenderers/hwdec/CMakeFiles/videorenderers_hwdec.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Perhaps some incompatibility with latest mesa or the like?

Here is my cmake stanza:
Code:
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
    -DENABLE_EVENTCLIENTS=ON \
    -DENABLE_INTERNAL_FFMPEG=ON \
    -DENABLE_INTERNAL_FMT=ON \
    -DENABLE_INTERNAL_CROSSGUID=ON \
    -DENABLE_INTERNAL_FSTRCMP=ON \
    -DENABLE_INTERNAL_FLATBUFFERS=ON \
    -Dlibdvdcss_URL="/kodi-libdvdcss-1.4.2-Leia-Beta-5.tar.gz" \
    -Dlibdvdnav_URL="/kodi-libdvdnav-6.0.0-Leia-Alpha-3.tar.gz" \
    -Dlibdvdread_URL="/kodi-libdvdread-6.0.0-Leia-Alpha-3.tar.gz" \
    -DFFMPEG_URL="/kodi-ffmpeg-4.0.4-Leia-18.4.tar.gz" \
    -DFMT_URL="/kodi-fmt-5.1.0.tar.gz" \
    -DCROSSGUID_URL="/kodi-crossguid-8f399e8bd4.tar.gz" \
    -DFSTRCMP_URL="/kodi-fstrcmp-0.7.D001.tar.gz" \
    -DFLATBUFFERS_URL="/kodi-flatbuffers-1.9.0.tar.gz" \
    ../"xbmc-18.4-Leia"
  make
  make preinstal

With glvnd 1.2.0 and mesa 19.2, mesa no longer ships the headers. glvnd does.

Nevermind on the missing. It's in the GLES glext.h. Check packing on the new glvnd due to the change.
Reply


Messages In This Thread
Build failure of 18.4 - by graysky - 2019-10-19, 15:56
RE: Build failure of 18.4 - by fritsch - 2019-10-19, 16:05
RE: Build failure of 18.4 - by yasij - 2019-10-19, 16:11
RE: Build failure of 18.4 - by asavah - 2019-10-19, 16:12
RE: Build failure of 18.4 - by yasij - 2019-10-19, 16:38
RE: Build failure of 18.4 - by asavah - 2019-10-19, 17:25
RE: Build failure of 18.4 - by yasij - 2019-10-19, 23:52
RE: Build failure of 18.4 - by asavah - 2019-10-20, 00:31
RE: Build failure of 18.4 - by fritsch - 2019-10-19, 16:54
RE: Build failure of 18.4 - by graysky - 2019-10-19, 20:11
RE: Build failure of 18.4 - by fritsch - 2019-10-19, 20:40
RE: Build failure of 18.4 - by asavah - 2019-10-19, 20:41
RE: Build failure of 18.4 - by yasij - 2019-10-19, 23:44
RE: Build failure of 18.4 - by asavah - 2019-10-20, 00:29
RE: Build failure of 18.4 - by graysky - 2019-10-20, 13:05
RE: Build failure of 18.4 - by graysky - 2019-10-19, 21:14
Logout Mark Read Team Forum Stats Members Help
Build failure of 18.40