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.