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.
Difference between revisions of "How to build eSWT for Windows Mobile 6 Pro"
Line 22: | Line 22: | ||
=== Steps of How to build eswt-converge.dll === | === Steps of How to build eswt-converge.dll === | ||
#Go to ~\workspace\org.eclipse.ercp.swt.wm6pro\converged_dll | #Go to ~\workspace\org.eclipse.ercp.swt.wm6pro\converged_dll | ||
+ | [[Image:converged_dll folder.JPG]] | ||
#Double click eswt-converged.sln | #Double click eswt-converged.sln | ||
#Visual Studio bring up | #Visual Studio bring up | ||
#Right click ugl_wince_port in right panel | #Right click ugl_wince_port in right panel | ||
+ | [[Image:ugl_wince_port_properties.JPG]] | ||
#Click Properties, it will bring up the property page | #Click Properties, it will bring up the property page | ||
+ | [[Image:ugl_wince_port_propertiespage.JPG]] | ||
#Expand C/C++ | #Expand C/C++ | ||
#Click General | #Click General | ||
#Click the scroll-down button of the Additional Include Diectories, tt will bring up the Additional Include Directories page | #Click the scroll-down button of the Additional Include Diectories, tt will bring up the Additional Include Directories page | ||
+ | [[Image:Additional_Include_Directories_Page.JPG]] | ||
#Click New Line, it will generate a new entry | #Click New Line, it will generate a new entry | ||
#Click the scroll-down button on the right hand side again | #Click the scroll-down button on the right hand side again | ||
#Point to the folder which jniport.h and jni.h resides | #Point to the folder which jniport.h and jni.h resides | ||
+ | [[Image:Additional_Include_Directories_Page_NewEntry.JPG]] | ||
#Click OK and save this configuration | #Click OK and save this configuration | ||
#Choose the Windows Mobile 6 Professional SDK(ARMV4I) on top-center scroll-down menu | #Choose the Windows Mobile 6 Professional SDK(ARMV4I) on top-center scroll-down menu | ||
− | #Choose Release mode of top-left-center scroll-down menu | + | #Choose Release mode of top-left-center scroll-down menu |
+ | [[Image:Release_SDK.JPG]] | ||
#Click Build-->Builds Solution | #Click Build-->Builds Solution | ||
+ | [[Image:Build.JPG]] | ||
#Then you can build eswt-converge.dll successfully which resides in ~\workspace\org.eclipse.ercp.swt.wm6pro\os\win32\arm | #Then you can build eswt-converge.dll successfully which resides in ~\workspace\org.eclipse.ercp.swt.wm6pro\os\win32\arm | ||
Latest revision as of 05:14, 3 November 2008
Contents
Prerequisite
- Install Visual Studio 2005 and it will also install the .Net framework
- Install Windows Mobile 6 Professional SDK Refresh.msi for WM 5 & WM6
- Install IBM Java 1.4.2 SDK
- Checkout org.eclipse.ercp.swt.core.win org.eclipse.ercp.swt.expanded.win org.eclipse.ercp.swt.mobile.win from dev.eclipse.org
- Checkout org.eclipse.ercp.swt.wm6pro from dev.eclipse.org
- Should download jniport.h and jni.h to your PC
Steps of How to Resovle the Errors in org.eclipse.ercp.swt.core(expanded|mobile).win
- Right click org.eclipse.ercp.swt.core(expanded|mobile).win in your IDE
- Click Propertis
- Click Java Build Path
- Click Libraries
- Remove all default jar/lib path
- Add Library
- Choose JRE System Library
- Click Next and Point to the Device JRE
- Then we should resolve the errors in these three projects
Steps of How to build eswt-converge.dll
- Go to ~\workspace\org.eclipse.ercp.swt.wm6pro\converged_dll
- Double click eswt-converged.sln
- Visual Studio bring up
- Right click ugl_wince_port in right panel
- Click Properties, it will bring up the property page
- Expand C/C++
- Click General
- Click the scroll-down button of the Additional Include Diectories, tt 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
- Click OK and save this configuration
- Choose the Windows Mobile 6 Professional SDK(ARMV4I) on top-center scroll-down menu
- Choose Release mode of top-left-center scroll-down menu
- Click Build-->Builds Solution
- Then you can build eswt-converge.dll successfully which resides in ~\workspace\org.eclipse.ercp.swt.wm6pro\os\win32\arm
Steps of How to build eswt-converge.jar
- This required IBM 1.4.2 Java SDK to build and I assume you install this SDK in the default path --> C:\Program Files\IBM\Java142\
- Modify the env.ini under ~\workspace\org.eclipse.ercp.swt.wm6pro converged_jar folder
- JAVA_COMPILER=C:\Program Files\IBM\Java142\bin\javac.exe
- JAVA_ARCHIVE=C:\Program Files\IBM\Java142\bin\jar.exe
- Double click main.bat
- Then you can build eswt-converge.jar successfully which resides in ~\workspace\org.eclipse.ercp.swt.wm6pro\ws\win32\