PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

SDL for Pocket PC?

This is from www.libsdl.org:


Simple DirectMedia Layer is a cross-platform multimedia library designed to provide level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of "Civilization: Call To Power."

Simple DirectMedia Layer supports Linux, Windows, BeOS, MacOS Classic, MacOS X, FreeBSD, OpenBSD, BSD/OS, Solaris, and IRIX. There is also code, but no official support, for Windows CE, AmigaOS, Dreamcast, Atari, QNX, NetBSD, AIX, OSF/Tru64, and SymbianOS.

SDL is written in C, but works with C++ natively, and has bindings to several other languages, including Ada, Eiffel, Java, Lua, ML, Perl, PHP, Pike, Python, and Ruby.


From the FAQ:


Q: Can I build SDL for Windows CE?
A: SDL is not officially supported on Windows CE, but some people have successfully built and run SDL applications on Windows CE.
SDL 1.2.5 and newer contain project files and information on building SDL for Windows CE. Take a look at the file README.WinCE in the source archive for more information.


I've used SDL on Windows and Linux. It was kind of nice. I'd always wondered if they'd get it working for Pocket PC or Palm.

Has anyone tried it?
I've tried it (compiled the lib for wince) but it wasn't working on the real hardware...

Don't tried too hard...
I know SDL runs on the Dreamcast, but I don't know if it runs in WinCE programs. If it were officially supported, porting certain games would become much easier.
It works somehow, but is using GDI for graphics, and then is not very useful for games.

(I'm using the sound/mixer part in ScummVM port and it works well after tweaking the sound thread priority a bit)