2002-12-05 16:18:30 -05:00
|
|
|
|
|
|
|
=================================================
|
2006-03-15 05:32:34 -05:00
|
|
|
Welcome to wxWidgets/CE 2.7.0
|
2002-12-05 16:18:30 -05:00
|
|
|
=================================================
|
|
|
|
|
2006-03-15 05:32:34 -05:00
|
|
|
You have downloaded version 2.7.0 of the Windows CE port of
|
2005-03-20 14:35:36 -05:00
|
|
|
the wxWidgets GUI library. This runs on Pocket PC 2002/2003,
|
2006-03-15 05:32:34 -05:00
|
|
|
Smartphone 2002/2003, Windows CE .NET 4.x, and Windows Mobile 5.
|
2002-12-05 16:18:30 -05:00
|
|
|
|
2004-05-04 04:27:20 -04:00
|
|
|
More information about the wxWidgets project as a whole
|
2002-12-05 16:18:30 -05:00
|
|
|
can be found at:
|
|
|
|
|
2004-05-04 04:27:20 -04:00
|
|
|
http://www.wxwidgets.org
|
2002-12-05 16:18:30 -05:00
|
|
|
|
2005-03-20 14:35:36 -05:00
|
|
|
Information about the Windows CE port in particular can be found in
|
|
|
|
the wxWinCE topic in the wxWidgets reference manual.
|
2002-12-05 16:18:30 -05:00
|
|
|
|
|
|
|
Supported platforms
|
|
|
|
===================
|
|
|
|
|
2003-12-27 20:07:31 -05:00
|
|
|
These are the supported platforms at the moment:
|
2003-09-14 15:39:34 -04:00
|
|
|
|
2004-06-16 03:26:18 -04:00
|
|
|
- x86 emulator build in eVC 3 and eVC 4.x
|
2005-03-20 14:35:36 -05:00
|
|
|
- Pocket PC (StrongARM)
|
|
|
|
- Smartphone (StrongARM)
|
2006-03-15 05:32:34 -05:00
|
|
|
- Windows Mobile 5
|
2002-12-05 16:18:30 -05:00
|
|
|
|
2005-03-20 14:35:36 -05:00
|
|
|
You can test the library and applications using the Pocket PC emulator
|
|
|
|
and/or Compaq iPAQ or other PDAs using Pocket PC.
|
2002-12-05 16:18:30 -05:00
|
|
|
|
|
|
|
Compiler installation
|
|
|
|
=====================
|
|
|
|
|
2006-03-15 05:32:34 -05:00
|
|
|
1. Embedded Visual C++
|
|
|
|
----------------------
|
|
|
|
|
2002-12-05 16:18:30 -05:00
|
|
|
Get the Visual C++ embedded (FREE) from Microsoft website
|
|
|
|
http://msdn.microsoft.com/vstudio/device/embedded/download.asp
|
|
|
|
|
2003-12-27 20:07:31 -05:00
|
|
|
You must use Embedded Visual C++ 3.0 or Embedded Visual C++ 4.x.
|
|
|
|
|
2005-03-20 14:35:36 -05:00
|
|
|
You can download the Smartphone 2002/3 and Pocket PC 2002/3
|
|
|
|
SDKs separately.
|
2006-03-15 05:32:34 -05:00
|
|
|
|
|
|
|
2. Visual Studio 2005
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
VS 2005 Professional is required to write Windows Mobile 5 applications, although Pocket PC
|
|
|
|
2003 applications should also run on Mobile 5. VS 2005 must
|
|
|
|
be purchased, and you can then download the Mobile 5 2005 SDK
|
|
|
|
from Microsoft's site.
|
2005-03-20 14:35:36 -05:00
|
|
|
|
2004-05-04 04:27:20 -04:00
|
|
|
wxWidgets/CE Configuration
|
2003-12-27 20:07:31 -05:00
|
|
|
================================
|
|
|
|
|
|
|
|
You may wish to customize the following file
|
|
|
|
before compiling wxWinCE:
|
|
|
|
|
|
|
|
include/wx/msw/wince/setup.h
|
2002-12-05 16:18:30 -05:00
|
|
|
|
2004-05-04 04:27:20 -04:00
|
|
|
wxWidgets/CE Compilation
|
2002-12-05 16:18:30 -05:00
|
|
|
================================
|
|
|
|
|
2005-01-16 09:00:18 -05:00
|
|
|
NOTE: to generate targets not in the standard project files,
|
|
|
|
you should rebuild the project files using Bakefile.
|
2005-03-23 08:05:13 -05:00
|
|
|
Also, if you are building from a CVS version of wxWidgets,
|
|
|
|
you need to create eVC++ project files or get them from
|
|
|
|
somewhere, such as the daily makefile builds here:
|
|
|
|
|
|
|
|
http://biolpc22.york.ac.uk/pub/CVS_Makefiles/
|
|
|
|
|
|
|
|
See technote docs/tech/tn0016.txt for details on using Bakefile,
|
|
|
|
and you can get Bakefile from:
|
|
|
|
|
|
|
|
http://bakefile.sf.net
|
2004-06-16 03:26:18 -04:00
|
|
|
|
2005-03-20 14:35:36 -05:00
|
|
|
Open build/wince/wx.vcw, select an ARM or x86 target (or emulator
|
|
|
|
target for eVC++ 4), and compile.
|
2002-12-05 16:18:30 -05:00
|
|
|
|
2005-03-20 14:35:36 -05:00
|
|
|
Then open samples/minimal/minimal.vcw, select an ARM, x86 or emulator
|
|
|
|
target, and compile. You can use the emulator or real hardware to run
|
|
|
|
the sample.
|
2002-12-05 16:18:30 -05:00
|
|
|
|
2005-03-20 14:35:36 -05:00
|
|
|
There may be long delays while eVC++ computes dependencies, and expect
|
|
|
|
to wait a long time for loading and saving workspaces. Do not attempt to
|
|
|
|
save the wxWidgets library project file: it will take forever and generate
|
|
|
|
a huge file, so make alterations either using Bakefile or by editing the
|
|
|
|
project file with a text editor, and reloading. Sample project files are OK
|
|
|
|
to save.
|
2004-02-17 06:19:41 -05:00
|
|
|
|
|
|
|
To compile using the emulator on eVC++3:
|
|
|
|
|
2005-01-16 09:00:18 -05:00
|
|
|
- Open build/wince/wx.vcw, select the
|
2004-02-17 06:19:41 -05:00
|
|
|
WIN32 (WCE x86) Debug Unicode configuration, close the dialog,
|
|
|
|
then select Pocket PC 2002 and Pocket PC 2002 Emulation on the toolbar,
|
|
|
|
and compile.
|
|
|
|
|
2004-06-16 03:26:18 -04:00
|
|
|
- Open samples/minimal/minimal.vcw, select the
|
2005-03-21 17:18:25 -05:00
|
|
|
WIN32 (WCE x86 Debug) configuration, and select Pocket PC 2002 and
|
|
|
|
Pocket PC 2002 Emulation as before.
|
2004-02-17 06:19:41 -05:00
|
|
|
|
|
|
|
To compile using the emulator on eVC++4:
|
|
|
|
|
2005-01-16 09:00:18 -05:00
|
|
|
- Open build/wince/wx.vcw, select the
|
2005-03-20 14:35:36 -05:00
|
|
|
WIN32 (WCE Emulator) Debug configuration, and compile.
|
2004-02-17 06:19:41 -05:00
|
|
|
|
2005-03-20 14:35:36 -05:00
|
|
|
- Open samples/minimal/minimal.vcw with eVC++, select the
|
2004-02-17 06:19:41 -05:00
|
|
|
WIN32 (WCE emulator) Debug configuration, and compile.
|
|
|
|
|
2005-03-23 08:05:13 -05:00
|
|
|
Note: builds for the different SDKs (Smartphone, PPC, .Net)
|
2005-03-22 15:56:16 -05:00
|
|
|
use the same directory and library names, so for the moment
|
|
|
|
these builds cannot co-exist simultaneously.
|
|
|
|
|
2006-03-15 05:32:34 -05:00
|
|
|
To use Visual Studio 2005, you need to allow VS to convert the projects
|
2006-03-16 06:03:26 -05:00
|
|
|
first (but install all the SDKs you need to _before_ converting), and then
|
|
|
|
you need to adjust the library settings of each wxWidgets and sample project.
|
2006-03-15 05:32:34 -05:00
|
|
|
|
|
|
|
Edit the configuration properties for each configuration and in the Librarian,
|
|
|
|
add a relative path ..\..\lib to each library path. For example:
|
|
|
|
|
|
|
|
..\$(PlatformName)\$(ConfigurationName)\wx_mono.lib
|
|
|
|
|
|
|
|
Then, for a sample you want to compile, edit the configuration properties
|
|
|
|
and make sure ..\..\lib\$(PlatformName)\$(ConfigurationName) is in the Linker/General/Additional
|
|
|
|
Library Directories property. Also change the Linker/Input/Additional Dependencies
|
|
|
|
property to something like:
|
|
|
|
|
|
|
|
coredll.lib wx_mono.lib wx_wxjpeg.lib wx_wxpng.lib wx_wxzlib.lib wx_wxexpat.lib commctrl.lib winsock.lib wininet.lib
|
|
|
|
|
|
|
|
since the library names in the wxWidgets workspace were changed
|
|
|
|
by VS 2005.
|
|
|
|
|
2002-12-05 16:18:30 -05:00
|
|
|
Status
|
|
|
|
======
|
|
|
|
|
2005-03-20 14:35:36 -05:00
|
|
|
It's possible to create working Pocket PC or Smartphone
|
2005-03-15 16:51:14 -05:00
|
|
|
applications with this port. For further information
|
2005-03-20 14:35:36 -05:00
|
|
|
about how to use wxWidgets with Windows CE, and further
|
|
|
|
work that needs to be done, see the wxWinCE topic in the
|
|
|
|
reference manual, and also:
|
2002-12-05 16:18:30 -05:00
|
|
|
|
2003-12-27 20:07:31 -05:00
|
|
|
http://wiki.wxwindows.org/wiki.pl?Developers_Notebook/WxWinCE
|
2002-12-05 16:18:30 -05:00
|
|
|
|
2005-03-20 14:35:36 -05:00
|
|
|
The "Life!" demo in demos/life has some adaptations for
|
|
|
|
wxWinCE, and also demonstrates how to make an installer for
|
|
|
|
a Pocket PC application.
|
|
|
|
|
2002-12-05 16:18:30 -05:00
|
|
|
Disclaimer
|
|
|
|
==========
|
|
|
|
|
|
|
|
All product names are used for identification purposes and are trademarks
|
|
|
|
or registered trademarks owned by their respective companies.
|
|
|
|
|