compile xmbc in kheras VIM3 - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: compile xmbc in kheras VIM3 (/showthread.php?tid=355329) |
compile xmbc in kheras VIM3 - ronron78 - 2020-06-20 Hello, I try to compile xmbc into kheras VIM3, kernel 4.9.206. My problem is often the EGL module.
cmake -j10 .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=x11 -DX11_RENDER_SYSTEM=gles make Scanning dependencies of target utils [ 70%] Building CXX object build/utils/CMakeFiles/utils.dir/EGLUtils.cpp.o /home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:102:5: error: ‘EGL_DEBUG_MSG_CRITICAL_KHR’ was not declared in this scope X(EGL_DEBUG_MSG_CRITICAL_KHR), ^ /home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro ‘X’ #define X(VAL) std::make_pair(VAL, #VAL) ^~~ /home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:102:5: note: suggested alternative: ‘EGL_BITMAP_PITCH_KHR’ X(EGL_DEBUG_MSG_CRITICAL_KHR), ^ /home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:38:31: note: in definition of macro ‘X’ #define X(VAL) std::make_pair(VAL, #VAL) ^~~ the variable is not present EGL_BITMAP_PITCH_KHR into EGL/eglext.h ( package linux-gpu-mali-fbdev )
make In file included from /home/khadas/xbmc/xbmc/windowing/gbm/DRMUtils.h:11:0, from /home/khadas/xbmc/xbmc/windowing/gbm/WinSystemGbm.h:11, from /home/khadas/xbmc/xbmc/utils/DumbBufferObject.cpp:14: /home/khadas/xbmc/xbmc/windowing/gbm/GBMUtils.h:11:10: fatal error: gbm.h: No such file or directory #include <gbm.h> ^~~~~~~ compilation terminated. build/utils/CMakeFiles/utils.dir/build.make:2006: recipe for target 'build/utils/CMakeFiles/utils.dir/DumbBufferObject.cpp.o' failed make[2]: *** [build/utils/CMakeFiles/utils.dir/DumbBufferObject.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 85%] Built target dvdinputstreams /home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:102:5: error: ‘EGL_DEBUG_MSG_CRITICAL_KHR’ was not declared in this scope X(EGL_DEBUG_MSG_CRITICAL_KHR), gbm.h is not present beacuse linux-gpu-mali-gbm replace linux-gpu-mali-fbdev.
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenGLES (missing: OPENGLES_gl_LIBRARY) Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindOpenGLES.cmake:37 (find_package_handle_standard_args) cmake/scripts/common/Macros.cmake:346 (find_package) cmake/scripts/common/Macros.cmake:360 (find_package_with_ver) CMakeLists.txt:173 (core_require_dep) How can your xbmc on khadas compile? RE: compile xmbc in kheras VIM3 - asavah - 2020-06-20 Ask kheras or whatever company is making these boards support to provide proper mali userspace stuff with gbm. |