Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "How to build eSWT for Windows Mobile 6 Pro"

(New page: dddd)
 
Line 1: Line 1:
dddd
+
Install Visual Studio 2005 and it will also install the .Net framework
 +
 
 +
Install Windows Mobile 6 Professional SDK Refresh.msi for WM 5 & WM6
 +
Windows Mobile 6 Standard SDK Refresh.msi for WM STD 6
 +
dxsdk_jun2007.exe for Win32
 +
    Windows CE 5.0 STANDARD SDK.msi for WinCE 5.0 & 6.0
 +
 
 +
Install IBM Java 1.4.2 SDK
 +
 
 +
Checkout org.eclipse.ercp.swt.sp2005  from dev.eclipse.org
 +
org.eclipse.ercp.swt.win32
 +
org.eclipse.ercp.swt.wince5
 +
org.eclipse.ercp.swt.wm6pro
 +
 
 +
Modify the env.ini under converged_jar folder of org.eclipse.ercp.swt.wm6pro if you would like to build on the wm6 pro platform
 +
This required IBM 1.4.2 Java SDK to build java file, I assume you install this SDK in the default path  C:\Program Files\IBM\Java142\
 +
JAVA_COMPILER=C:\Program Files\IBM\Java142\bin\javac.exe
 +
JAVA_ARCHIVE=C:\Program Files\IBM\Java142\bin\jar.exe
 +
 
 +
Go to C:\Documents and Settings\Sam\IBM\rationalsdp\workspace\org.eclipse.ercp.swt.wm6pro\converged_dll
 +
And launch eswt-converged.sln
 +
 +
This will bring Visual Studio up
 +
 
 +
Right clicking the ugl_wince_port  Properties  it will bring up the property page
 +
 +
 
 +
 
 +
[[Image:Example.jpg]]
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
Expand C/C++  General  Click the scroll-down button of the Additional Include Directories  It will bring up the Additional Include Directories page
 +
 
 +
 +
 
 +
Click New Line  It will generate a new entry  Click the scroll-down button on the right hand side again
 +
 +
 
 +
Point to the folder which jniport.h and jni.h resides.
 +
Here I place them under D:\Job\Project\XPD 6.2.1\Junit\jni
 +
PS: Developer should get the jniport.h and jni.h by themselves.
 +
 +
 
 +
 
 +
Click OK and save this configuration
 +
 
 +
Choose the wanted platform SDK to build and choose Release mode of left side scroll-down menu
 +
 +
 
 +
Click Build  Builds Solution
 +
 +
 
 +
[[Image:[[Image:Example.jpg]]]]

Revision as of 03:58, 3 November 2008

Install Visual Studio 2005 and it will also install the .Net framework

Install Windows Mobile 6 Professional SDK Refresh.msi for WM 5 & WM6 Windows Mobile 6 Standard SDK Refresh.msi for WM STD 6 dxsdk_jun2007.exe for Win32

    Windows CE 5.0 STANDARD SDK.msi for WinCE 5.0 & 6.0

Install IBM Java 1.4.2 SDK

Checkout org.eclipse.ercp.swt.sp2005 from dev.eclipse.org org.eclipse.ercp.swt.win32 org.eclipse.ercp.swt.wince5 org.eclipse.ercp.swt.wm6pro

Modify the env.ini under converged_jar folder of org.eclipse.ercp.swt.wm6pro if you would like to build on the wm6 pro platform This required IBM 1.4.2 Java SDK to build java file, I assume you install this SDK in the default path  C:\Program Files\IBM\Java142\ JAVA_COMPILER=C:\Program Files\IBM\Java142\bin\javac.exe JAVA_ARCHIVE=C:\Program Files\IBM\Java142\bin\jar.exe

Go to C:\Documents and Settings\Sam\IBM\rationalsdp\workspace\org.eclipse.ercp.swt.wm6pro\converged_dll And launch eswt-converged.sln

This will bring Visual Studio up

Right clicking the ugl_wince_port  Properties  it will bring up the property page


Example.jpg




Expand C/C++  General  Click the scroll-down button of the Additional Include Directories  It will bring up the Additional Include Directories page


Click New Line  It will generate a new entry  Click the scroll-down button on the right hand side again


Point to the folder which jniport.h and jni.h resides. Here I place them under D:\Job\Project\XPD 6.2.1\Junit\jni PS: Developer should get the jniport.h and jni.h by themselves.


Click OK and save this configuration

Choose the wanted platform SDK to build and choose Release mode of left side scroll-down menu


Click Build  Builds Solution


[[Image:Example.jpg]]

Back to the top