看板 NTUGIEE_EDA 關於我們 聯絡資訊
[wx 安裝教學] 我安裝 wx 的方法是在 Mini System 下執行的,也有其它的方法如結合 Cgywin、 Visual Studio (天彰會) 和 dev cpp 的方式 (沒用過 -.-)。 以下的 MinGW-3.1.0-1.exe、MSYS-1.0.10.exe、msysDTK-1.0.1.exe、 wxAll-2.4.2.tar.gz、do 均可從我的 FTP 上 /Software/Program Language/WX/ 取得。 1. 安裝 MinGW-3.1.0-1.exe 2. 安裝 MSYS-1.0.10.exe Do you wish to continue with the post install? [yn ] y Do you have MinGW installed? [yn ] y Where is your MinGW installation? c:/MinGW 3. 安裝 msysDTK-1.0.1.exe 4. copy wxAll-2.4.2.tar.gz 到 C:\msys\1.0\home\xxx\下,xxx 表示你電腦上 Administrator 的名稱 5. 開啟桌面上的捷徑 MSYS 執行 tar zxvf wxAll-2.4.2.tar.gz 6. cd wxWindows-2.4.2 執行 ./configure 7. 用 gcc -v 查看 gcc 的版本,gcc version 3.2.3 (mingw special 20030504-1) 編輯 wxWindows-2.4.2/src/makeg95.env 第53行: MINGW32VERSION=3.2 8. 開始安裝 wx。 cd wxWindows-2.4.2/src/msw make -f makefile.g95 clean make -f makefile.g95 FINAL=1 等待 5 分鐘左右...-.- 9. 編繹全部的 wx example 檔,來當作初學的參考用。 copy script 檔 "do" 到 C:\msys\1.0\home\xxx\wxWindows-2.4.2\samples cd wxWindows-2.4.2/samples 執行 ./do 等待 10 分鐘左右...-.- 執行過程中有 Error 發生沒關係 :) 10. wxWindows-2.4.2\samples\minimal\minimal.exe 是最基本的視窗,可由此處學起。 編繹程式的指令為 > cd \samples\minimal > make -f makefile.g95 cleanall > make -f makefile.g95 FINAL=1 wxWindows-2.4.2\samples\drawing\drawing.exe 是畫圖的範例。 wxWindows-2.4.2\samples\toolbar\toolbar.exe 是工具列的範例。 11. FTP 上的 wxWindows-2.4.2-HTMLHelp/docs/htmlhelp/wx.chm 是 wx 的使用說明文件。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.164.33.37 ※ 編輯: yellowfishie 來自: 218.164.33.37 (01/22 11:26)
moonshade:自己M一下吧,不要客氣... 203.203.82.130 01/22
moonshade:那很好..XD 203.203.82.130 01/22
※ 編輯: yellowfishie 來自: 218.164.33.35 (01/25 09:45)