1
General discussions / Re: Android and iOS ports available for testing
« on: December 20, 2013, 12:28:43 pm »
Hi all! I tried to compile on my PI and got this:
I added "-DSFML_OPENGL_ES=1" to cmake so it would include
instead of
I tried to get around the need of XVisualInfo but I couldn't do it. Any help is greatly appreciated
Quote
Scanning dependencies of target sfml-window
[ 18%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Context.cpp.o
[ 20%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.o
In file included from /home/pi/Documents/sfmlDec2013/SFML/src/SFML/Window/GlContext.cpp:70:0:
/home/pi/Documents/sfmlDec2013/SFML/src/SFML/Window/EglContext.hpp:151:12: error: ‘XVisualInfo’ does not name a type
make[2]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.o] Error 1
make[1]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Error 2
make: *** [all] Error 2
I added "-DSFML_OPENGL_ES=1" to cmake so it would include
Quote
-- Found EGL: /usr/lib/arm-linux-gnueabihf/libEGL.so
-- Found GLES: /usr/lib/libGLESv1_CM.so
instead of
Quote
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/arm-linux-gnueabihf/libX11.so
-- Found OpenGL: /usr/lib/arm-linux-gnueabihf/libGL.so
-- Found GLEW: /usr/lib/arm-linux-gnueabihf/libGLEW.so
I tried to get around the need of XVisualInfo but I couldn't do it. Any help is greatly appreciated