wince6.0開發平臺搭建



PB 6.0開發平臺搭建
操作系統 最好是xp sp3的,sp2在安裝 .net 3.5的時候會出一個錯.
欲安裝的分區必大於 15G.
以下軟件在 Pineking Server 上都能找得到.

按裝順序:

1 .VS2005(中英文皆可)
2.VS2005 SP1補丁(注:中文版用VS80sp1-KB926604-X86-CHS,英文版用VS80sp1-KB926601-X86-ENU)這個可能需要30分-2個小時才能裝好它.
3. MSDN(可選)
4 .Windows Embedded CE6.0


選中 爲節省磁盤空間 我們只安裝 arm4i 如上圖.
如果要修改它的路徑選中 CE6.0Tools 點 Browse按鈕修改爲  例如: D:/Program Files/Microsoft Platform Builder/6.00/. 然後再選中 CE6.0 Operating System點 Browse按鈕 修改爲 例如:D:/WINCE600. 不要修改它們的的相對路徑.

5 .Windows Embedded CE6.0 Platform Builder Service Pack 1(默認安裝即可)
6 .Wince6.0 R2(默認安裝即可)
7 .Microsoft Device Emulator 2.0(可選) (默認安裝即可)
8 .Virtual Machine Network Driver for Microsoft Device Emulator(可選) (默認安裝即可)
9 .WinCEPB60-061231-Product-Update-Rollup-Armv4I(06年的補丁彙總包) (默認安裝即可)
10 .WinCEPB60-071231-Product-Update-Rollup-Armv4I(07年的補丁彙總包) (默認安裝即可).
11 .WinCEPB60-081231-Product-Update-Rollup-Armv4I(08年的補丁彙總包) (默認安裝即可)
12 .Wince6.0 R3(默認安裝即可)

13. WinCEPB60-091231-Product-Update-Rollup-Armv4I(09年的補丁彙總包) (默認安裝即可)
14 .WinCEPB60-101231-Product-Update-Rollup-Armv4I(10年的補丁彙總包) (默認安裝即可)
15. WinCEPB60-110131-2011M01-Armv4I(11年1月份補丁包) (默認安裝即可)
16. Wince6.0 附加組件安裝 例如 Expression Blend 2 Trial. Office and PDF Viewers. QQ Messenger Client (可選).

到此Wince6_PB 開發環境搭建完畢. 安裝完成後檢查一下補丁情況如下圖:
C:/Program Files/Microsoft Platform Builder/6.00/cepb/SustainedEngineering/
 

點擊 Verify 按鈕 Waiting…..

 
如果你的是這樣的哪就對了.
如果都是綠的 哪說明你是裝了 R2 再R3 ,在裝完R2 後沒有裝 06-08 年的補丁,這樣你編譯就會有好幾個鏈接錯誤.
這個工具在X:/Program Files/Microsoft Platform Builder/6.00/cepb/SustainedEngineering/ CEUpdateCheck.exe

加快編譯速度兩點 :
1. 修改X:/WINCE600/PLATFORM/COMMON/SRC/SOC/ 下的dri文件
把 DIRS=/
S5PV210_SEC_V1/


2. .
如實填入你cpu 核心的數量
系統定製
必選項如圖:
 
 
 

 

編譯的時候最好把殺軟關閉或退出.

編譯錯誤:
Error 1 ENDIF expected. C:/WINCE600/PLATFORM/SMDKV210/FILES/platform.bib 401  // 這個錯誤可忽略 因爲這是預期中的錯誤,這不算錯誤,可以看作一個警告.

liguosheng:

--------------------

from freescale document,we can read maybe it is not so complex, just do as following:

 Windows Embedded CE 6.0
The following must be installed in order to create a Windows Embedded CE 6.0 development
environment for i.MX51 EVK WinCE 6.0 BSP:
 Visual Studio 2005
 Visual Studio 2005 SP1
 Visual Studio 2005 SP1 Update for Vista (if applicable)
 Windows Embedded CE 6.0 Platform Builder
 Windows Embedded CE 6.0 SP1 (required if PB 6.0 Tools have been installed)
 Windows Embedded CE 6.0 R2
 Windows Embedded CE 6.0 R3
 Windows Embedded CE 6.0 Cumulative Product Update Rollup Package (through
12/31/2010)
 Windows Embedded CE 6.0 Monthly Update January 2011
 Windows Embedded CE 6.0 Monthly Update February 2011

---------------------

心得體會:

1. 屢屢編譯出錯,大多是因爲系統定製錯誤,而並非環境錯誤,也並非安裝順序的問題.
2.至於09年 1月到 8月的補丁是不是一定在第11步後安裝(11 .WinCEPB60-081231-Product-Update-Rollup-Armv4I(08年的補丁彙總包))
答案是:否定的,你可在些處裝也可不裝,因爲後面 09年的補丁包已經有這些補丁了.
3. 一定不能搞錯的順序是,R2裝後 一定要裝完 06 07 08 年的補丁包才能裝R3,打上 09年之後的所有補丁.
微軟CE6 補丁下載的兩個地址.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0e929f91-a379-4277-80d5-a66e3b821ba1&displaylang=en

 

http://www.microsoft.com/downloads/en/ResultsForProduct.aspx?productID=f8af6708-edcb-472a-829d-f73d951c35a1&stype=ss_sd&displaylang=en&nr=10&sortCriteria=Popularity&sortOrder=Ascending
發佈了21 篇原創文章 · 獲贊 25 · 訪問量 2萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章