Re: Raspberry Pi (Raspbian) + OpenglES + no X

"blacktm" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
cleger – I've also had to figure this out for my little 2D graphics engine: https://github.com/simple2d/simple2d

Unfortunatly, the Raspbian packages are configured for desktop OpenGL and X11, so I currently have the Simple 2D install script build SDL2 from source, which works great (and is very fast) using OpenGL ES without X. For a shortcut, you can build/install just SDL2 (along with SDL2_mixer, SDL2_image, SDL2_ttf, and SMPEG2) by running the script with the `--sdl` flag:


Code:
simple2d.sh install --sdl



See all the details under the hood here: https://github.com/simple2d/simple2d/blob/v0.4.1/bin/simple2d.sh#L280

I might also recommend giving Simple 2D a try, browse through the internals – lots of SDL examples on display here that work across platforms/OSes, GL2, GL3, GLES, etc.

Good luck, and happy to answer any more Q's you have, blockers you encounter. SDL is awesome and I'm always looking for ways to make it easier for folks to get started.

Tom

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.