Hello,
I try to compile xmbc into ubuntu linux. I miss several variable into /usr/include/EGL/eglext.h.
I don’t see how to go about
If someone has an idea ? Should we put more debian? did I forget an option in the compilation?
Explicites errors:
/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)
^~~
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:103:5: error: ‘EGL_DEBUG_MSG_ERROR_KHR’ was not declared in this scope
X(EGL_DEBUG_MSG_ERROR_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:103:5: note: suggested alternative: ‘EGL_BAD_STREAM_KHR’
X(EGL_DEBUG_MSG_ERROR_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:104:5: error: ‘EGL_DEBUG_MSG_WARN_KHR’ was not declared in this scope
X(EGL_DEBUG_MSG_WARN_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:104:5: note: suggested alternative: ‘EGL_BAD_STATE_KHR’
X(EGL_DEBUG_MSG_WARN_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:105:5: error: ‘EGL_DEBUG_MSG_INFO_KHR’ was not declared in this scope
X(EGL_DEBUG_MSG_INFO_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:105:5: note: suggested alternative: ‘EGL_LOCK_USAGE_HINT_KHR’
X(EGL_DEBUG_MSG_INFO_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:107:1: error: could not convert ‘{, , , }’ from ‘’ to ‘std::map<int, const char*>’
};
^
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:114:79: error: ‘EGLLabelKHR’ has not been declared
void EglErrorCallback(EGLenum error, const char* command, EGLint messageType, EGLLabelKHR threadLabel, EGLLabelKHR objectLabel, const char* message)
^~~~~~~~~~~
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:114:104: error: ‘EGLLabelKHR’ has not been declared
void EglErrorCallback(EGLenum error, const char* command, EGLint messageType, EGLLabelKHR threadLabel, EGLLabelKHR objectLabel, const char* message)
^~~~~~~~~~~
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp: In constructor ‘CEGLContextUtils::CEGLContextUtils(EGLenum, const string&)’:
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:192:69: error: ‘PFNEGLDEBUGMESSAGECONTROLKHRPROC’ was not declared in this scope
auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress(“eglDebugMessageControlKHR”);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:192:69: note: suggested alternative: ‘PFNEGLSETDAMAGEREGIONKHRPROC’
auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress(“eglDebugMessageControlKHR”);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PFNEGLSETDAMAGEREGIONKHRPROC
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:192:130: error: no matching function for call to ‘CEGLUtils::GetRequiredProcAddress< >(const char [26])’
auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress(“eglDebugMessageControlKHR”);
^
In file included from /home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:9:0:
/home/khadas/xbmc/xbmc/utils/EGLUtils.h:28:12: note: candidate: template static T CEGLUtils::GetRequiredProcAddress(const char*)
static T GetRequiredProcAddress(const char * procname)
^~~~~~~~~~~~~~~~~~~~~~
/home/khadas/xbmc/xbmc/utils/EGLUtils.h:28:12: note: template argument deduction/substitution failed:
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:192:130: error: template argument 1 is invalid
auto eglDebugMessageControl = CEGLUtils::GetRequiredProcAddress(“eglDebugMessageControlKHR”);
^
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:194:36: error: ‘EGL_DEBUG_MSG_CRITICAL_KHR’ was not declared in this scope
EGLAttrib eglDebugAttribs[] = {EGL_DEBUG_MSG_CRITICAL_KHR, EGL_TRUE,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:194:36: note: suggested alternative: ‘EGL_BITMAP_PITCH_KHR’
EGLAttrib eglDebugAttribs[] = {EGL_DEBUG_MSG_CRITICAL_KHR, EGL_TRUE,
^~~~~~~~~~~~~~~~~~~~~~~~~~
EGL_BITMAP_PITCH_KHR
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:195:36: error: ‘EGL_DEBUG_MSG_ERROR_KHR’ was not declared in this scope
EGL_DEBUG_MSG_ERROR_KHR, EGL_TRUE,
^~~~~~~~~~~~~~~~~~~~~~~
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:195:36: note: suggested alternative: ‘EGL_BAD_STREAM_KHR’
EGL_DEBUG_MSG_ERROR_KHR, EGL_TRUE,
^~~~~~~~~~~~~~~~~~~~~~~
EGL_BAD_STREAM_KHR
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:196:36: error: ‘EGL_DEBUG_MSG_WARN_KHR’ was not declared in this scope
EGL_DEBUG_MSG_WARN_KHR, EGL_TRUE,
^~~~~~~~~~~~~~~~~~~~~~
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:196:36: note: suggested alternative: ‘EGL_BAD_STATE_KHR’
EGL_DEBUG_MSG_WARN_KHR, EGL_TRUE,
^~~~~~~~~~~~~~~~~~~~~~
EGL_BAD_STATE_KHR
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:197:36: error: ‘EGL_DEBUG_MSG_INFO_KHR’ was not declared in this scope
EGL_DEBUG_MSG_INFO_KHR, EGL_TRUE,
^~~~~~~~~~~~~~~~~~~~~~
/home/khadas/xbmc/xbmc/utils/EGLUtils.cpp:197:36: note: suggested alternative: ‘EGL_LOCK_USAGE_HINT_KHR’
EGL_DEBUG_MSG_INFO_KHR, EGL_TRUE,
^~~~~~~~~~~~~~~~~~~~~~
EGL_LOCK_USAGE_HINT_KHR
build/utils/CMakeFiles/utils.dir/build.make:1862: recipe for target ‘build/utils/CMakeFiles/utils.dir/EGLUtils.cpp.o’ failed