Cross-compiling XBMC error of struct SDL_SysWMinfo
#1
Question 
I want compile XBMC without the X11, but I meet this issue:

error infomation:
WinSystemEGL.cpp: In constructor 'CWinSystemEGL::CWinSystemEGL()':
WinSystemEGL.cpp:86:18: warning: converting to non-pointer type 'Window' from NULL
WinSystemEGL.cpp: In member function 'bool CWinSystemEGL::RefreshEGLContext()':
WinSystemEGL.cpp:364:28: error: 'struct SDL_SysWMinfo' has no member named 'info'
WinSystemEGL.cpp:372:22: error: 'struct SDL_SysWMinfo' has no member named 'info'
WinSystemEGL.cpp:373:22: error: 'struct SDL_SysWMinfo' has no member named 'info'
make: *** [WinSystemEGL.o] Error 1

some methods
1. http://homesource.nekomimicon.net/source....php?t=129
#define DISABLE_X11
into /usr/include/SDL/SDL_syswm.h
it'll compile without x11 support


but my issue still on...

2. https://gna.org/bugs/?8070

Fix: Add
/* Ensure that X11 code in SDL_syswm.h is used. Otherwise we get the error:

clipboard.cpp|103| error: 'struct SDL_SysWMinfo' has no member named 'info'

*/
#define SDL_VIDEO_DRIVER_X11

in front of

#include "SDL_syswm.h"



But I want the compile without the X11 support...
Can anybody give me some idear about this? Thanks a lot!
Reply

Logout Mark Read Team Forum Stats Members Help
Cross-compiling XBMC error of struct SDL_SysWMinfo0