Skip to content

Instantly share code, notes, and snippets.

@andy5995
Created January 12, 2018 18:51
Show Gist options
  • Save andy5995/24f1c73f80cd35b31bf654d654c910d2 to your computer and use it in GitHub Desktop.
Save andy5995/24f1c73f80cd35b31bf654d654c910d2 to your computer and use it in GitHub Desktop.
tex_bmp.cpp
tex_codec.cpp
../../../source/lib/sysdep/os/unix/x/x.cpp: In function ‘int clipboard_filter(void*, SDL_Event*)’:
../../../source/lib/sysdep/os/unix/x/x.cpp:267:42: error: ‘union SDL_SysWMmsg::<anonymous>’ has no member named ‘x11’
XEvent* xevent = &event->syswm.msg->msg.x11.event;
^~~
../../../source/lib/sysdep/os/unix/x/x.cpp: In function ‘Status x11_clipboard_init()’:
../../../source/lib/sysdep/os/unix/x/x.cpp:323:30: error: ‘union SDL_SysWMinfo::<anonymous>’ has no member named ‘x11’
g_SDL_Display = info.info.x11.display;
^~~
../../../source/lib/sysdep/os/unix/x/x.cpp:324:29: error: ‘union SDL_SysWMinfo::<anonymous>’ has no member named ‘x11’
g_SDL_Window = info.info.x11.window;
^~~
../../../source/lib/sysdep/os/unix/x/x.cpp: In function ‘Status sys_cursor_create(int, int, void*, int, int, void**)’:
../../../source/lib/sysdep/os/unix/x/x.cpp:419:52: error: ‘union SDL_SysWMinfo::<anonymous>’ has no member named ‘x11’
impl->cursor = XcursorImageLoadCursor(wminfo.info.x11.display, image);
^~~
../../../source/lib/sysdep/os/unix/x/x.cpp: In function ‘Status sys_cursor_set(sys_cursor)’:
../../../source/lib/sysdep/os/unix/x/x.cpp:453:18: error: ‘union SDL_SysWMinfo::<anonymous>’ has no member named ‘x11’
if(wminfo.info.x11.window)
^~~
../../../source/lib/sysdep/os/unix/x/x.cpp:454:25: error: ‘union SDL_SysWMinfo::<anonymous>’ has no member named ‘x11’
window = wminfo.info.x11.window;
^~~
../../../source/lib/sysdep/os/unix/x/x.cpp:458:29: error: ‘union SDL_SysWMinfo::<anonymous>’ has no member named ‘x11’
XDefineCursor(wminfo.info.x11.display, window,
^~~
../../../source/lib/sysdep/os/unix/x/x.cpp:462:21: error: ‘union SDL_SysWMinfo::<anonymous>’ has no member named ‘x11’
XSync(wminfo.info.x11.display, False);
^~~
../../../source/lib/sysdep/os/unix/x/x.cpp: In function ‘Status sys_cursor_free(sys_cursor)’:
../../../source/lib/sysdep/os/unix/x/x.cpp:483:26: error: ‘union SDL_SysWMinfo::<anonymous>’ has no member named ‘x11’
XFreeCursor(wminfo.info.x11.display, impl->cursor);
^~~
lowlevel.make:768: recipe for target 'obj/lowlevel_Release/x.o' failed
make[1]: *** [obj/lowlevel_Release/x.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:134: recipe for target 'lowlevel' failed
make: *** [lowlevel] Error 2
andy@oceanus:~/src/0ad/build/workspaces/gcc$
@andy5995
Copy link
Author

root@oceanus:~# apt-get install build-essential libboost-dev libboost-filesystem-dev \

libcurl4-gnutls-dev libenet-dev libgloox-dev libicu-dev    \
libminiupnpc-dev libnspr4-dev libnvtt-dev libogg-dev libopenal-dev   \
libpng-dev libsdl2-dev libvorbis-dev libwxgtk3.0-dev libxcursor-dev      \
libxml2-dev subversion zlib1g-dev

Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-dev is already the newest version (1.62.0.1).
libboost-filesystem-dev is already the newest version (1.62.0.1).
build-essential is already the newest version (12.3).
libcurl4-gnutls-dev is already the newest version (7.52.1-5+deb9u3).
libenet-dev is already the newest version (1.3.12+ds-2).
libgloox-dev is already the newest version (1.0.18-1).
libicu-dev is already the newest version (57.1-6+deb9u1).
libogg-dev is already the newest version (1.3.2-1).
libpng-dev is already the newest version (1.6.28-1).
libsdl2-dev is already the newest version (2.0.5+dfsg1-2).
libvorbis-dev is already the newest version (1.3.5-4).
libxml2-dev is already the newest version (2.9.4+dfsg1-2.2+deb9u1).
libminiupnpc-dev is already the newest version (1.9.20140610-4).
libnspr4-dev is already the newest version (2:4.12-6).
libnvtt-dev is already the newest version (2.0.8-1+dfsg-8.1+b1).
libopenal-dev is already the newest version (1:1.17.2-4+b2).
subversion is already the newest version (1.9.5-1+deb9u1).
libwxgtk3.0-dev is already the newest version (3.0.2+dfsg-4).
zlib1g-dev is already the newest version (1:1.2.8.dfsg-5).
libxcursor-dev is already the newest version (1:1.1.14-1+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment