1
General / cmake error
« on: February 08, 2015, 10:15:25 pm »
I'm new to ubuntu and I try to cmake the SFML 2.2 files. I got all the libs I need, but when I make SFML I get this error
In file included from /home/eddie/SFML/src/SFML/Window/Unix/WindowImplX11.cpp:34:0:
/usr/include/xcb/xcb_icccm.h:395:64: error: expected ‘,’ or ‘...’ before ‘class’
/usr/include/xcb/xcb_icccm.h:403:56: error: expected ‘,’ or ‘...’ before ‘class’
make[2]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/WindowImplX11.cpp.o] Error 1
make[1]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Error 2
make: *** [all] Error 2
I thought the libxcb-iccm needed to be updated, but it wasn't that. So I came here hoping you all can help me.
In file included from /home/eddie/SFML/src/SFML/Window/Unix/WindowImplX11.cpp:34:0:
/usr/include/xcb/xcb_icccm.h:395:64: error: expected ‘,’ or ‘...’ before ‘class’
/usr/include/xcb/xcb_icccm.h:403:56: error: expected ‘,’ or ‘...’ before ‘class’
make[2]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/WindowImplX11.cpp.o] Error 1
make[1]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Error 2
make: *** [all] Error 2
I thought the libxcb-iccm needed to be updated, but it wasn't that. So I came here hoping you all can help me.