wiki:Getting-Started/Windows-Mobile

Version 3 (modified by ismangil, 10 years ago) (diff)

--

Getting Started: Building for Windows Mobile

PJ supports building SIP and media stacks and applications for Windows Mobile targets. A very simple WinCE SIP user agent (with media) application is provided just as proof of concept that the port works. 5.1 Requirements

The following development tools is needed to build SIP and media components for Windows Mobile:

  • Microsoft Visual Studio 2005 with appropriate SDKs for Windows Mobile.

Note that VS2005 Express Edition is not supported because the Windows Mobile SDKs is not supported there. 5.2 Building the Projects

The Windows Mobile port is included in the main source distribution. Please follow the following steps to build the WinCE libraries and sample application:

  1. Open pjproject-vs8.sln solution file.
  2. For Windows Mobile Standard/Smartphone?, select pjsua_wince project as the Active Project.
  3. For Windows Mobile Professional/Pocket? PC, both pjsua_wince and PocketPJ can be chosen.
  4. Select the appropriate SDK (for example Pocket PC 2003 SDK or SmartPhone 2003 SDK)
  5. Select the appropriate configuration (for example, Win32 (WCE Emulator Debug) to debug the program in emulator, or other configurations such as ARMV4, MIPS, SH3, SH4, or whatever suitable for the device)
  6. Select the appropriate device (Emulator or the actual Device).
  7. Build the project. This will build the sample WinCE application and all libraries (SIP, Media, etc.) needed by this application.

Notes

  • If the config_site.h includes config_site_sample.h file, then there are certain configuration in config_site_sample.h that get activated for Windows CE targets. Please make sure that these configurations are suitable for the application.
  • The libraries, binaries and object files produced by the build process are located under build/wince-evc4/output directory of each projects.