2018-12-03, 13:26
I'm working with debian stretch and does not compile.
Platform is Firefly RK3288.
gcc and c++ are version "(Debian 6.3.0-18+deb9u1) 6.3.0 20170516". kernel is 4.4.126 a version that include specific driver for our audio i2s interface.
I followed the preparation procedure and at make phase I see numerous warnings coming like this:
"...
In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
from /usr/include/c++/6/locale:43,
from /home/linaro/xbmc/xbmc/utils/StdString.h:670,
from /home/linaro/xbmc/xbmc/guilib/Resolution.h:24,
from /home/linaro/xbmc/xbmc/cores/VideoRenderers/BaseRenderer.h:25,
from /home/linaro/xbmc/xbmc/cores/VideoRenderers/OverlayRenderer.h:25,
from DVDCodecs/Overlay/DVDOverlay.h:23,
from DVDOverlayContainer.h:23,
from DVDPlayerSubtitle.h:23,
from DVDPlayerSubtitle.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
..."
This error follows:
"...
CPP xbmc/cores/dvdplayer/DVDPlayerVideo.o
In file included from /home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11GLES.h:25:0,
from /home/linaro/xbmc/xbmc/windowing/WindowingFactory.h:33,
from DVDPlayerVideo.cpp:23:
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:76:3: error: ‘Display’ does not name a type
Display* GetDisplay() { return m_dpy; }
^~~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:97:3: error: ‘Window’ does not name a type
Window m_glWindow, m_mainWindow;
^~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:107:3: error: ‘Display’ does not name a type
Display* m_dpy;
^~~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:108:3: error: ‘Cursor’ does not name a type
Cursor m_invisibleCursor;
^~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:109:3: error: ‘Pixmap’ does not name a type
Pixmap m_icon;
^~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:125:25: error: ‘XVisualInfo’ has not been declared
bool IsSuitableVisual(XVisualInfo *vInfo);
^~~~~~~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:28: error: ‘Display’ has not been declared
static int XErrorHandler(Display* dpy, XErrorEvent* error);
^~~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:42: error: ‘XErrorEvent’ has not been declared
static int XErrorHandler(Display* dpy, XErrorEvent* error);
^~~~~~~~~~~
..."
The make stops with this error:
"...
/home/linaro/xbmc/Makefile.include:93: recipe for target 'DVDPlayerVideo.o' failed
make[1]: *** [DVDPlayerVideo.o] Error 1
Makefile:515: recipe for target 'xbmc/cores/dvdplayer/DVDPlayer.a' failed
make: *** [xbmc/cores/dvdplayer/DVDPlayer.a] Error 2
..."
I'm almost desperate. I'm working several days trying to compile version 17.6, since debian repository install version 17.1 and this version has several issues.
Can you help me?
Platform is Firefly RK3288.
gcc and c++ are version "(Debian 6.3.0-18+deb9u1) 6.3.0 20170516". kernel is 4.4.126 a version that include specific driver for our audio i2s interface.
I followed the preparation procedure and at make phase I see numerous warnings coming like this:
"...
In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
from /usr/include/c++/6/locale:43,
from /home/linaro/xbmc/xbmc/utils/StdString.h:670,
from /home/linaro/xbmc/xbmc/guilib/Resolution.h:24,
from /home/linaro/xbmc/xbmc/cores/VideoRenderers/BaseRenderer.h:25,
from /home/linaro/xbmc/xbmc/cores/VideoRenderers/OverlayRenderer.h:25,
from DVDCodecs/Overlay/DVDOverlay.h:23,
from DVDOverlayContainer.h:23,
from DVDPlayerSubtitle.h:23,
from DVDPlayerSubtitle.cpp:21:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
..."
This error follows:
"...
CPP xbmc/cores/dvdplayer/DVDPlayerVideo.o
In file included from /home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11GLES.h:25:0,
from /home/linaro/xbmc/xbmc/windowing/WindowingFactory.h:33,
from DVDPlayerVideo.cpp:23:
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:76:3: error: ‘Display’ does not name a type
Display* GetDisplay() { return m_dpy; }
^~~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:97:3: error: ‘Window’ does not name a type
Window m_glWindow, m_mainWindow;
^~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:107:3: error: ‘Display’ does not name a type
Display* m_dpy;
^~~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:108:3: error: ‘Cursor’ does not name a type
Cursor m_invisibleCursor;
^~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:109:3: error: ‘Pixmap’ does not name a type
Pixmap m_icon;
^~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:125:25: error: ‘XVisualInfo’ has not been declared
bool IsSuitableVisual(XVisualInfo *vInfo);
^~~~~~~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:28: error: ‘Display’ has not been declared
static int XErrorHandler(Display* dpy, XErrorEvent* error);
^~~~~~~
/home/linaro/xbmc/xbmc/windowing/X11/WinSystemX11.h:126:42: error: ‘XErrorEvent’ has not been declared
static int XErrorHandler(Display* dpy, XErrorEvent* error);
^~~~~~~~~~~
..."
The make stops with this error:
"...
/home/linaro/xbmc/Makefile.include:93: recipe for target 'DVDPlayerVideo.o' failed
make[1]: *** [DVDPlayerVideo.o] Error 1
Makefile:515: recipe for target 'xbmc/cores/dvdplayer/DVDPlayer.a' failed
make: *** [xbmc/cores/dvdplayer/DVDPlayer.a] Error 2
..."
I'm almost desperate. I'm working several days trying to compile version 17.6, since debian repository install version 17.1 and this version has several issues.
Can you help me?