]>
Commit | Line | Data |
---|---|---|
1a4fe894 JS |
1 | |
2 | ================================================= | |
6fdaa477 | 3 | Welcome to wxWidgets/CE 2.7.0 |
1a4fe894 JS |
4 | ================================================= |
5 | ||
6fdaa477 | 6 | You have downloaded version 2.7.0 of the Windows CE port of |
f4dea58d | 7 | the wxWidgets GUI library. This runs on Pocket PC 2002/2003, |
6fdaa477 | 8 | Smartphone 2002/2003, Windows CE .NET 4.x, and Windows Mobile 5. |
1a4fe894 | 9 | |
fc2171bd | 10 | More information about the wxWidgets project as a whole |
1a4fe894 JS |
11 | can be found at: |
12 | ||
fc2171bd | 13 | http://www.wxwidgets.org |
1a4fe894 | 14 | |
f4dea58d JS |
15 | Information about the Windows CE port in particular can be found in |
16 | the wxWinCE topic in the wxWidgets reference manual. | |
1a4fe894 JS |
17 | |
18 | Supported platforms | |
19 | =================== | |
20 | ||
a96b4743 | 21 | These are the supported platforms at the moment: |
93f467a3 | 22 | |
be076b78 | 23 | - x86 emulator build in eVC 3 and eVC 4.x |
f4dea58d JS |
24 | - Pocket PC (StrongARM) |
25 | - Smartphone (StrongARM) | |
6fdaa477 | 26 | - Windows Mobile 5 |
1a4fe894 | 27 | |
f4dea58d JS |
28 | You can test the library and applications using the Pocket PC emulator |
29 | and/or Compaq iPAQ or other PDAs using Pocket PC. | |
1a4fe894 | 30 | |
1a4fe894 JS |
31 | Compiler installation |
32 | ===================== | |
33 | ||
6fdaa477 JS |
34 | 1. Embedded Visual C++ |
35 | ---------------------- | |
36 | ||
1a4fe894 JS |
37 | Get the Visual C++ embedded (FREE) from Microsoft website |
38 | http://msdn.microsoft.com/vstudio/device/embedded/download.asp | |
39 | ||
a96b4743 | 40 | You must use Embedded Visual C++ 3.0 or Embedded Visual C++ 4.x. |
a96b4743 | 41 | |
f4dea58d JS |
42 | You can download the Smartphone 2002/3 and Pocket PC 2002/3 |
43 | SDKs separately. | |
6fdaa477 JS |
44 | |
45 | 2. Visual Studio 2005 | |
46 | --------------------- | |
47 | ||
48 | VS 2005 Professional is required to write Windows Mobile 5 applications, although Pocket PC | |
49 | 2003 applications should also run on Mobile 5. VS 2005 must | |
50 | be purchased, and you can then download the Mobile 5 2005 SDK | |
51 | from Microsoft's site. | |
f4dea58d | 52 | |
fc2171bd | 53 | wxWidgets/CE Configuration |
a96b4743 JS |
54 | ================================ |
55 | ||
56 | You may wish to customize the following file | |
57 | before compiling wxWinCE: | |
58 | ||
59 | include/wx/msw/wince/setup.h | |
1a4fe894 | 60 | |
fc2171bd | 61 | wxWidgets/CE Compilation |
1a4fe894 JS |
62 | ================================ |
63 | ||
a6966de1 JS |
64 | NOTE: to generate targets not in the standard project files, |
65 | you should rebuild the project files using Bakefile. | |
8c9f8f91 JS |
66 | Also, if you are building from a CVS version of wxWidgets, |
67 | you need to create eVC++ project files or get them from | |
68 | somewhere, such as the daily makefile builds here: | |
69 | ||
70 | http://biolpc22.york.ac.uk/pub/CVS_Makefiles/ | |
71 | ||
72 | See technote docs/tech/tn0016.txt for details on using Bakefile, | |
73 | and you can get Bakefile from: | |
74 | ||
75 | http://bakefile.sf.net | |
be076b78 | 76 | |
f4dea58d JS |
77 | Open build/wince/wx.vcw, select an ARM or x86 target (or emulator |
78 | target for eVC++ 4), and compile. | |
1a4fe894 | 79 | |
f4dea58d JS |
80 | Then open samples/minimal/minimal.vcw, select an ARM, x86 or emulator |
81 | target, and compile. You can use the emulator or real hardware to run | |
82 | the sample. | |
1a4fe894 | 83 | |
f4dea58d JS |
84 | There may be long delays while eVC++ computes dependencies, and expect |
85 | to wait a long time for loading and saving workspaces. Do not attempt to | |
86 | save the wxWidgets library project file: it will take forever and generate | |
87 | a huge file, so make alterations either using Bakefile or by editing the | |
88 | project file with a text editor, and reloading. Sample project files are OK | |
89 | to save. | |
1cc0bc10 JS |
90 | |
91 | To compile using the emulator on eVC++3: | |
92 | ||
a6966de1 | 93 | - Open build/wince/wx.vcw, select the |
1cc0bc10 JS |
94 | WIN32 (WCE x86) Debug Unicode configuration, close the dialog, |
95 | then select Pocket PC 2002 and Pocket PC 2002 Emulation on the toolbar, | |
96 | and compile. | |
97 | ||
be076b78 | 98 | - Open samples/minimal/minimal.vcw, select the |
43499aa4 JS |
99 | WIN32 (WCE x86 Debug) configuration, and select Pocket PC 2002 and |
100 | Pocket PC 2002 Emulation as before. | |
1cc0bc10 JS |
101 | |
102 | To compile using the emulator on eVC++4: | |
103 | ||
a6966de1 | 104 | - Open build/wince/wx.vcw, select the |
f4dea58d | 105 | WIN32 (WCE Emulator) Debug configuration, and compile. |
1cc0bc10 | 106 | |
f4dea58d | 107 | - Open samples/minimal/minimal.vcw with eVC++, select the |
1cc0bc10 JS |
108 | WIN32 (WCE emulator) Debug configuration, and compile. |
109 | ||
8c9f8f91 | 110 | Note: builds for the different SDKs (Smartphone, PPC, .Net) |
f686d43e JS |
111 | use the same directory and library names, so for the moment |
112 | these builds cannot co-exist simultaneously. | |
113 | ||
6fdaa477 | 114 | To use Visual Studio 2005, you need to allow VS to convert the projects |
c1dfa9eb JS |
115 | first (but install all the SDKs you need to _before_ converting), and then |
116 | you need to adjust the library settings of each wxWidgets and sample project. | |
6fdaa477 JS |
117 | |
118 | Edit the configuration properties for each configuration and in the Librarian, | |
119 | add a relative path ..\..\lib to each library path. For example: | |
120 | ||
121 | ..\$(PlatformName)\$(ConfigurationName)\wx_mono.lib | |
122 | ||
123 | Then, for a sample you want to compile, edit the configuration properties | |
124 | and make sure ..\..\lib\$(PlatformName)\$(ConfigurationName) is in the Linker/General/Additional | |
125 | Library Directories property. Also change the Linker/Input/Additional Dependencies | |
126 | property to something like: | |
127 | ||
128 | coredll.lib wx_mono.lib wx_wxjpeg.lib wx_wxpng.lib wx_wxzlib.lib wx_wxexpat.lib commctrl.lib winsock.lib wininet.lib | |
129 | ||
130 | since the library names in the wxWidgets workspace were changed | |
131 | by VS 2005. | |
132 | ||
1a4fe894 JS |
133 | Status |
134 | ====== | |
135 | ||
f4dea58d | 136 | It's possible to create working Pocket PC or Smartphone |
280e0cc4 | 137 | applications with this port. For further information |
f4dea58d JS |
138 | about how to use wxWidgets with Windows CE, and further |
139 | work that needs to be done, see the wxWinCE topic in the | |
140 | reference manual, and also: | |
1a4fe894 | 141 | |
a96b4743 | 142 | http://wiki.wxwindows.org/wiki.pl?Developers_Notebook/WxWinCE |
1a4fe894 | 143 | |
f4dea58d JS |
144 | The "Life!" demo in demos/life has some adaptations for |
145 | wxWinCE, and also demonstrates how to make an installer for | |
146 | a Pocket PC application. | |
147 | ||
1a4fe894 JS |
148 | Disclaimer |
149 | ========== | |
150 | ||
151 | All product names are used for identification purposes and are trademarks | |
152 | or registered trademarks owned by their respective companies. | |
153 |