Finally I could pack this up and second version is ready.

This is a all-in-one solution for those who are tired or scared of downloading/compiling/fixing SDL and SDL libraries for Pocket PC. I have gathered some handy libraries into a VS2008 solution and all files you need are compiled without any pain. I also provide binaries too. Hope this helps.

Download here MySDL-02

Everything is working, except I have only tried wave files with SDL_mixer. I don’t know if it will play other formats.


  • SDL-1.2.13: SDL library itself.
  • JpegLib: Jpeg support
  • libpng-1.2.34: PNG support
  • SDL_draw: Some basic and fast drawing functions
  • SDL_gfx-2.0.18:  Basic drawing routines such as lines, circles or polygons and SDL_rotozoom
  • SDL_image-1.2.7: BMP GIF PCX PNG TGA XPM support
  • SDL_mixer-1.2.8: Sound support
  • SDL_ttf-2.0.9: TTF support
  • zlib-1.2.3: For libpng

Using Directions:

  1. Copy compiled files from bin\0×501 folder to your application folder
  2. Include lib files from lib\0×501 folder to your project
  3. Include header files from include folder.

Compiling Directions:

  • MySDL has ONLY ONE configuration for platform: Windows Mobile 5.0 Pocket PC SDK (ARMV4I). I choose WM5 because PPC2003 is enough old and WM6 is too new-there are still many devices with WM5. Thus WM5.0 keeps a balance between portability and new technology. I also think that there is no need to use latest WM SDK for a SDL project, as it doesn’t use OS functions, though.
  • To compile the solution, navigate to src folder, open MySDL solution file in VS2008 and build.
  • Project outputs are copied into bin and lib folders in root folder of the project via post build step.
  • Projects:
    • lpng_group: zlib and lpngce projects for PNG support
    • mixer_group: mikmod, native_midi, SDL_mixer and timidy projects.
    • sdl_group: SDLmain and SDL projects
    • JpegLib
    • SDL_draw
    • SDL_gfx
    • SDL_image
    • SDL_ttf
  • All projects’ output folders are set to 0×501, which is version number for WM 5.0. I choose to use this name, because CAB Project has some problems with original long fancy folder names that VS use.

Also see: SDL PocketPC development hints & problems & solutions

Tags: windows mobile 2003,microsoft windows mobile,windows mobile 2005,windows mobile smartphones,windows mobile devices,windows mobile smartphone,windows mobile software,windows mobile 5.0,windows mobile 5,windows mobile device,windows mobile pda,windows mobile programs,windows mobile bluetooth,windows mobile pocket pc,upgrade windows mobile,freeware windows mobile,sync windows mobile,windows mobile browser,windows mobile downloads,windows mobile applications,windows mobile phone,windows mobile utilities,windows mobile development,windows mobile 5 software,windows mobile 2003 software,windows mobile,windows mobile 6,windows mobile themes,windows mobile theme,windows mobile apps,gps windows mobile,windows mobile os,windows mobile 2002,windows mobile radio,windows mobile ringtone,windows mobile ce,windows mobile emulator,windows mobile support,windows mobile 5.0 software,windows mobile training,software for windows mobile,windows mobile software download,windows mobile developer,windows mobile database,windows mobile download,microsoft windows mobile 5.0,windows mobile weather,windows mobile activesync,windows mobile bible,windows mobile 2003 second edition,windows mobile 5 upgrade,windows mobile application,registry editor windows mobile,htc windows mobile,windows mobile review,windows mobile games,windows mobile shareware,windows mobile calculator,windows mobile phones,windows mobile pdf,windows media player mobile,window mobile software,windows mobile email,program windows mobile,windows mobile handheld,windows mobile ping,powerpoint windows mobile,windows mobile pocket,microsoft windows mobile software,microsoft windows mobile 5,windows mobile sdk,download windows mobile 5.0,windows mobile 5 development,windows mobile medical software,windows mobile smartphone software,windows mobile manager,microsoft windows mobile 5.0 software,windows mobile 5.0 pocket pc,windows mobile pocketpc,software for windows mobile 5.0,windows mobile 5.0 smartphone,software for windows mobile 5,windows mobile arm,windows mobile synchronization,windows mobile 5.0 pocket pc sdk,ppc windows mobile,windows mobile edition,windows mobile keyboard,soft reset windows mobile,download windows mobile 2003,windows mobile pocket pc software,windows mobile development tools,windows mobile desktop,windows mobile game,browser for windows mobile,windows mobile 5 games,windows mobile today,windows mobile maps,games for windows mobile,chess windows mobile,windows mobile remote,applications for windows mobile,windows mobile programming,windows mobile sudoku,windows mobile softwares,windows mobile calendar,windows mobile update,windows mobile browsers,windows mobile contacts,windows mobile wifi,windows mobile skins,windows mobile player,windows mobile web browser,windows mobile landscape,vpn windows mobile,windows mobile smartphone games,windows mobile ubuntu,musicid windows mobile,windows mobile 3.0,ebay windows mobile,windows mobile 6.1.4,windows mobile home,windows mobile hotmail,windows mobile store,mobile software,pocket pc,windows pda,smartphone software,pda,smartphone,mobile pda,mobile,microsoft mobile,smartphone windows,windows pocket pc,microsoft mobile software,mobile pocket pc,windows smartphone software,mobile sync,smartphones,mobile solutions,pocket pc software,microsoft pocket pc sync,pocketpc,cingular 8525 software,microsoft pocket pc,microsoft pocket pc software,cingular 3125 software,software samsung blackjack,pocket pc bluetooth software,smartphone pocket pc,software for motorola q,qtek 9100 software,software spv,motorola q software,htc software,software for smartphone,2003 pocket pc,all mobile software,smart phone,5 mobile software,new mobile software,mobile software t,i930 software,mobile tv software,pda software,pocket pcs,windows ce,ppc 6700 software,smartphone software download,smartphone comparisons,smartphone comparison,smartphone guide,new smartphone,smartphone forums,i mate software,smartphone forum,top smartphone,smartphone news,smart phone software,best smartphone,pocket pc bluetooth,imate software,smartphone download,pdas,pocket pc applications,mobile application,applications mobile,smartphone weather,pocket pc downloads,imate,qtek 9090 software,mobile application development,smartphones software,pocket software,i mate k jam,mobile web sites,axim software,software,ppc bluetooth

9 Comments to “MySDL-02: All-in-one solution for SDL with Windows Mobile 5.0 Pocket PC SDK (ARMV4I)”  

  1. 1 Ric Hardacre

    Thanks for taking the effort to put this together, the whole point of SDL is to make cross platform dev simple and you’ve redoubled that for those of us who are tarrified of cross compilation!

  2. 2 David

    Good Work!
    Great improvement.

    I am facing quite some trouble with the IMG_Load function though.

    The following piece of code does not work when the application is launched from a mobile-phone’s external storage card.
    (…but works fine when launched from the mobile-phone’s internal memory… strange isn’t it?)

    char sModuleDir[200];
    char sFileName[200];
    WCHAR wsBuf[200];
    SDL_Surface *gSurf=NULL;

    //let’s retrieve the directory…

    char * ptr = strrchr(sModuleDir,’\\’);
    *ptr = ”;

    //…and load the pix..;

    gSurf = IMG_Load(sFileName);

    if(!gSurf) printf(IMG_GetError());

    The error message retrieved is:
    “Couldn’t open \Ma Mémoire\Image.bmp”

    I couldn’t solve this one! The reason doesn’t seem to be trivial.
    I have tried many ways to go around it but with no success.

    Opening the same pix file as a non-formatted binary file using ifstream::open works fine.

    That is really the IMG_Load function that seems not being able to open the file.

    Would you have some idea?



  3. 3 timoo

    its posible to include ogg vorbis in sdl_mixer? btw great work

  4. 4 Emre

    @David: My first bet would be non-English character (é) on the path name. I suggest you to check IMG_Load for unicode support. You may also want to try your application on an English OS to make sure. You can simply use VS emulator.

    @timoo: I have moved to another project now and it’s indefinite when I will switch back. I know that SDL_Mixer support is weak in the package, however I’m putting this on my TODO list. Thanks for suggestion.

  5. 5 changkang

    hi,Did you solve this problem?I encountered the same problem.

  6. 6 changkang

    hi,Divid,Did you solve the problem of “IMG_Load”, I encountered the same problem。

  7. 7 Jayden McKay

    Greetings, I was just taking a look at your site and filled out your “contact us” form. The “contact us” page on your site sends you these messages via email which is the reason you’re reading my message right now correct? That’s the most important accomplishment with any kind of online ad, getting people to actually READ your message and that’s exactly what I just accomplished with you! If you have something you would like to promote to lots of websites via their contact forms in the U.S. or to any country worldwide send me a quick note now, I can even focus on specific niches and my prices are super low. Send a reply to:

  1. 1 по этой ссылке
  2. 2 păcănele jocuri mecanice

Leave a Reply