I tried building with
Code:
cmake ../xbmc-17.0-Krypton/project/cmake/ \
-DENABLE_OPENGL=OFF \
-DENABLE_X11=OFF \
-DENABLE_OPENGLES=YES \
-DENABLE_VAAPI=OFF \
-DENABLE_VDPAU=OFF \
-DENABLE_SDL=OFF \
-DTARGET_RASPBERRY_PI=1
Build configuration:
Code:
-- #---- CONFIGURATION ----#
-- -- PATH config --
-- Prefix: /usr/local
-- Libdir: /usr/local/lib
-- Bindir: /usr/local/bin
-- Includedir: /usr/local/include
-- Datarootdir: /usr/local/share
-- Datadir: /usr/local/share
-- Docdir: /usr/local/share/doc/kodi
-- MICROHTTPD enabled: Yes
-- MYSQLCLIENT enabled: Yes
-- SSH enabled: Yes
-- XSLT enabled: Yes
-- ALSA enabled: Yes
-- UDEV enabled: Yes
-- DBUS enabled: Yes
-- AVAHI enabled: No
-- SMBCLIENT enabled: Yes
-- CCACHE enabled: Yes
-- PULSEAUDIO enabled: Yes
-- VDPAU enabled: No
-- VAAPI enabled: No
-- BLUETOOTH enabled: Yes
-- CAP enabled: Yes
-- CEC enabled: No
-- BLURAY enabled: No
-- PLIST enabled: Yes
-- NFS enabled: No
-- SDL enabled: No
-- OPENGL enabled: No
-- OPENGLES enabled: Yes
-- X enabled: No
-- LIBDRM enabled: No
-- AML enabled: No
-- IMX enabled: No
-- Configuring done
-- Generating done
But I got many errors regarding EGLWrapper.cpp:
Code:
[ 92%] Building CXX object build/windowing/egl/CMakeFiles/windowing_egl.dir/EGLWrapper.cpp.o
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In function ‘bool {anonymous}::CorrectGuess(CEGLNativeType*, const string&)’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:63:13: error: invalid use of incomplete type ‘class CEGLNativeType’
if(guess->CheckCompatibility())
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:65:34: error: invalid use of incomplete type ‘class CEGLNativeType’
if (implementation == guess->GetNativeName() ||
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::Initialize(const string&)’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:105:7: error: expected primary-expression before ‘)’ token
)
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:109:18: error: invalid use of incomplete type ‘class CEGLNativeType’
m_nativeTypes->Initialize();
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::Destroy()’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:121:16: error: invalid use of incomplete type ‘class CEGLNativeType’
m_nativeTypes->Destroy();
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:123:10: warning: possible problem detected in invocation of delete operator: [-Wdelete-incomplete]
delete m_nativeTypes;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:123:10: warning: invalid use of incomplete type ‘class CEGLNativeType’
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:123:10: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined
delete m_nativeTypes;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘std::string CEGLWrapper::GetNativeName()’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:131:25: error: invalid use of incomplete type ‘class CEGLNativeType’
return m_nativeTypes->GetNativeName();
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::CreateNativeDisplay()’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:140:23: error: invalid use of incomplete type ‘class CEGLNativeType’
return m_nativeTypes->CreateNativeDisplay();
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::CreateNativeWindow()’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:148:23: error: invalid use of incomplete type ‘class CEGLNativeType’
return m_nativeTypes->CreateNativeWindow();
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘void CEGLWrapper::DestroyNativeDisplay()’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:154:18: error: invalid use of incomplete type ‘class CEGLNativeType’
m_nativeTypes->DestroyNativeDisplay();
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘void CEGLWrapper::DestroyNativeWindow()’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:160:18: error: invalid use of incomplete type ‘class CEGLNativeType’
m_nativeTypes->DestroyNativeWindow();
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::SetNativeResolution(RESOLUTION_INFO&)’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:167:23: error: invalid use of incomplete type ‘class CEGLNativeType’
return m_nativeTypes->SetNativeResolution(res);
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::ProbeResolutions(std::vector<RESOLUTION_INFO>&)’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:174:23: error: invalid use of incomplete type ‘class CEGLNativeType’
return m_nativeTypes->ProbeResolutions(resolutions);
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::GetPreferredResolution(RESOLUTION_INFO*)’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:182:23: error: invalid use of incomplete type ‘class CEGLNativeType’
return m_nativeTypes->GetPreferredResolution(res);
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::GetNativeResolution(RESOLUTION_INFO*)’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:190:23: error: invalid use of incomplete type ‘class CEGLNativeType’
return m_nativeTypes->GetNativeResolution(res);
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::ShowWindow(bool)’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:198:23: error: invalid use of incomplete type ‘class CEGLNativeType’
return m_nativeTypes->ShowWindow(show);
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::GetQuirks(int*)’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:205:26: error: invalid use of incomplete type ‘class CEGLNativeType’
*quirks = m_nativeTypes->GetQuirks();
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::InitDisplay(void**)’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:217:21: error: invalid use of incomplete type ‘class CEGLNativeType’
if (!m_nativeTypes->GetNativeDisplay((XBNativeDisplayType**)&nativeDisplay))
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:217:41: error: ‘XBNativeDisplayType’ was not declared in this scope
if (!m_nativeTypes->GetNativeDisplay((XBNativeDisplayType**)&nativeDisplay))
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:217:62: error: expected primary-expression before ‘)’ token
if (!m_nativeTypes->GetNativeDisplay((XBNativeDisplayType**)&nativeDisplay))
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp: In member function ‘bool CEGLWrapper::CreateSurface(EGLDisplay, EGLConfig, void**)’:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:288:21: error: invalid use of incomplete type ‘class CEGLNativeType’
if (!m_nativeTypes->GetNativeWindow((XBNativeWindowType**)&nativeWindow))
^
In file included from /tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:40:0:
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.h:28:7: note: forward declaration of ‘class CEGLNativeType’
class CEGLNativeType;
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:288:40: error: ‘XBNativeWindowType’ was not declared in this scope
if (!m_nativeTypes->GetNativeWindow((XBNativeWindowType**)&nativeWindow))
^
/tmp/xbmc-17.0-Krypton/xbmc/windowing/egl/EGLWrapper.cpp:288:60: error: expected primary-expression before ‘)’ token
if (!m_nativeTypes->GetNativeWindow((XBNativeWindowType**)&nativeWindow))
^
make[2]: *** [build/windowing/egl/CMakeFiles/windowing_egl.dir/build.make:63: build/windowing/egl/CMakeFiles/windowing_egl.dir/EGLWrapper.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9275: build/windowing/egl/CMakeFiles/windowing_egl.dir/all] Error 2
make: *** [Makefile:139: all] Error 2
[/quote]Is there a workaround for this?
thanks