2019-07-17, 22:23
I am trying to build kodi-gbm on my Pi4 from @popcornmix 's Leia_pi4 branch but am getting some errors I cannot decipher. Perhaps I am missing a dep? I posted the entire build log here but you can see the errors starting near the end of the file. For example, just search for "GL_RGBA16F_EXT"
Here are a few called out into the thread:
My configure step:
Here are a few called out into the thread:
Code:
...
/build/kodi/src/xbmc-932b08f071fd6cf8d95d01fe0c9e186821a38983/xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders/VideoFilterShaderGLES.cpp:101:24: error: ‘GL_RGBA16F_EXT’ was not declared in this scope
m_internalformat = GL_RGBA16F_EXT;
^~~~~~~~~~~~~~
/build/kodi/src/xbmc-932b08f071fd6cf8d95d01fe0c9e186821a38983/xbmc/cores/VideoPlayer/VideoRenderers/VideoShaders/VideoFilterShaderGLES.cpp:101:24: note: suggested alternative: ‘GL_BGRA_EXT’
m_internalformat = GL_RGBA16F_EXT;
^~~~~~~~~~~~~~
GL_BGRA_EXT
...
[ 88%] Building CXX object build/utils/CMakeFiles/utils.dir/Temperature.cpp.o
/build/kodi/src/xbmc-932b08f071fd6cf8d95d01fe0c9e186821a38983/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DRMPRIMEEGL.cpp: In static member function ‘static int CDRMPRIMETexture::GetColorSpace(int)’:
/build/kodi/src/xbmc-932b08f071fd6cf8d95d01fe0c9e186821a38983/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DRMPRIMEEGL.cpp:91:14: error: ‘EGL_ITU_REC2020_EXT’ was not declared in this scope
return EGL_ITU_REC2020_EXT;
^~~~~~~~~~~~~~~~~~~
/build/kodi/src/xbmc-932b08f071fd6cf8d95d01fe0c9e186821a38983/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DRMPRIMEEGL.cpp:93:14: error: ‘EGL_ITU_REC601_EXT’ was not declared in this scope
return EGL_ITU_REC601_EXT;
^~~~~~~~~~~~~~~~~~
/build/kodi/src/xbmc-932b08f071fd6cf8d95d01fe0c9e186821a38983/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DRMPRIMEEGL.cpp:93:14: note: suggested alternative: ‘EGL_NO_CONTEXT’
return EGL_ITU_REC601_EXT;
^~~~~~~~~~~~~~~~~~
EGL_NO_CONTEXT
/build/kodi/src/xbmc-932b08f071fd6cf8d95d01fe0c9e186821a38983/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/DRMPRIMEEGL.cpp:95:14: error: ‘EGL_ITU_REC709_EXT’ was not declared in this scope
return EGL_ITU_REC709_EXT;
^~~~~~~~~~~~~~~~~~
...
My configure step:
Code:
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_PREFIX_PATH=/opt/vc \
-DVERBOSE=ON \
-DENABLE_EVENTCLIENTS=ON \
-DENABLE_OPENGL=OFF \
-DENABLE_INTERNAL_FFMPEG=ON \
-DENABLE_INTERNAL_FMT=ON \
-DENABLE_INTERNAL_CROSSGUID=ON \
-DENABLE_INTERNAL_FSTRCMP=ON \
-DENABLE_INTERNAL_FLATBUFFERS=ON \
-DENABLE_MARIADBCLIENT=ON \
-DENABLE_VAAPI=OFF \
-DENABLE_VDPAU=OFF \
-DCORE_PLATFORM_NAME=gbm \
-DGBM_RENDER_SYSTEM=gles \
-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.3-Leia-18.2.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-"932b08f071fd6cf8d95d01fe0c9e186821a38983"