NOTE: Using VC2008 compiler, SDL and Windows Mobile 5.0 Pocket PC SDK

Project Configurations

There is ONLY one configuration: 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.

Folder naming policy

Project Settings->General->Output Directory AND Intermediate Directory =

$(CEVER)\$(ConfigurationName)

All output folders are set to

$(OutDir)\

error PRJ0004 : Could not generate command line for the ‘VCCLCompilerTool’ tool

Try Project Settings->C/C++->General->Debug Information Format = 4, change it to /Zi

This happens after project conversion from older version of VS compiler.

fatal error C1083: Cannot open include file: ‘sys/types.h’: No such file or directory

Or ‘errno.h’

Add preprocessor defines:

_WIN32_WCE=$(CEVER)
UNDER_CE
$(PLATFORMDEFINES)
WINCE
$(ARCHFAM)
$(_ARCHFAM_)

.\Version.rc : fatal error RC1015: cannot open include file ‘winresrc.h’

Project Settings->Resources->General->Preprocessor Definitions=

_WIN32_WCE=$(CEVER)
UNDER_CE
$(PLATFORMDEFINES)

if this doesn’t work, change include statement to

#include “afxres.h”

fatal error LNK1112: module machine type ‘ARM’ conflicts with target machine type ‘X86’

Make sure ALL input libraries AND current project uses these settings

Project Settings->C/C++->Advanced->Compile for Architecture = ARM4 (/QRarch4)

Project Settings->Linker->Advanced->Target Machine = MachineTHUMB

Error message: Microsoft Visual Studio: Unable to start program…

Project Settings->Debugging->Debugger to launch = Smart Device Native Debugger


3 Comments to “SDL PocketPC development hints & problems & solutions”  

  1. 1 a

    You could definitely see your enthusiasm within the article you write.
    The arena hopes for more passionate writers like you who
    are not afraid to mention how they believe. At all times
    go after your heart.

  2. 2 a

    If you are going for finest contents like myself,
    just visit this web page all the time since it presents feature contents, thanks

  3. 3 a

    I think what you said made a bunch of sense.
    However, what about this? suppose you were to write a killer post title?
    I mean, I don’t wish to tell you how to run your blog, but suppose you added a post title that makes people
    desire more? I mean SDL PocketPC development hints & problems & solutions
    at emreburhan.com is a little boring. You ought to look at Yahoo’s front page and watch how they create news titles to get viewers to open the
    links. You might add a video or a picture or two to grab readers excited about everything’ve got to say.
    Just my opinion, it would make your website a little livelier.

Leave a Reply