Windows CE development / VS problems
-
I have downoaded and installed Windows Mobile 5.0 Pocket PC SDK.msi
checksdk -list now gives a lot more options.However
when I run nmake I get
cl .....
C:\Program Files (x86)\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i\winreg.h(157) : error C2061: syntax error : identifier '__opt'cl is the correct arm version ?:
cl
Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50725 for ARM
Copyright (C) Microsoft Corporation. All rights reserved.and for nmake:
nmake -h
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.Note: nmake is in a different directory from cl
-
I have managed to get it to go a bit further, but now I get a missing gmtime function
link /LIBPATH:"c:\QtSDK\qt-everywhere-opensource-src-4.7.4\lib" /LIBPATH:"c:\QtSDK\qt-everywhere-opensource-src-4.7.4\lib" /NOLOGO /NODEFAULTLIB:OLDNAME
S.LIB /DEBUG /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:THUMB /DLL /VERSION:4.74 /OUT:..
..\lib\QtGuid4.dll @C:\Users\Paul\AppData\Local\Temp\nmFD65.tmp
Creating library ....\lib\QtGuid4.lib and object ....\lib\QtGuid4.exp
pngwrite.obj : error LNK2019: unresolved external symbol gmtime referenced in fu
nction png_convert_from_time_t -
hey dude! I just created a Wiki page and completely described
"Look at there":http://developer.qt.nokia.com/wiki/Building-Qt-4.7.4-for-WindowsCE-StandardSDK -
[quote author="SteveKing" date="1323689789"]@mohsen
I've just added a quick note on the bottom of the wiki about the problems with WinCE5 memory limits.There was an excellent presentation about this at DevDays 2009 but I can't find it any more, do you remember anything about that?[/quote]
Thanks for sharing your experience!
Actually i've not ever heared about that. Usually i prefer dynamic loading libraries on embedded devices due to memory limits on this sort of devices. Did you have same result on Embedded Linux? One idea is that because the architecture of ARM processors. -
I'm not sure if VS2010 can compile for WinCE, it certainly couldn't a year or so ago but it might be okay now.
Is the VS2005 crash happening when you try to compile the Qt libraries from within the tool? I've found that I can only compile QtScript from the command line as it always crashes VS2005 when I load it.
It's a WinCE5 thing which is a real pain! I haven't heard that any other OS's have this problem.