compile xmbc in kheras VIM3
#1
Hello,
   I try to compile xmbc into kheras VIM3, kernel 4.9.206.
My problem is often the EGL module.
  • When I compile with X11 plateform with

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 )
  • When gbm
cmake -j10 ..  -DGBM_RENDER_SYSTEM=gles       -DCORE_PLATFORM_NAME=gbm
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.
  • with configuration rbpi
cmake -j10 ..  -DGBM_RENDER_SYSTEM=gles       -DCORE_PLATFORM_NAME=rbpi

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?
Reply
#2
Ask kheras or whatever company is making these boards support to provide proper mali userspace stuff with gbm.
Reply



Logout Mark Read Team Forum Stats Members Help
compile xmbc in kheras VIM30
This forum uses Lukasz Tkacz MyBB addons.