lockbox的安裝 |
|
nemo_chao
一般會員 發表:1 回覆:0 積分:0 註冊:2009-03-09 發送簡訊給我 |
給跟我一樣卡住的新手 因為對C builder很不熟, 結果還弄了一下午 -_- (笨呀) 我是用C builder 6 安裝步驟1,2,3 就照readme.txt 的步驟做 step 3 是 將第1項的source路徑加入到Delphi中的 IDE Library 路徑中(在 Tools->Environment Options -> Library) 然後 open project , 將 package\L207_r61.bpk 開起來 compile. 再close. 然後 open project , 將 package\L207_vd61.bpk 開起來 compile, 點到L207_vd61.cpp, 按install , 這時會出現說安裝了哪些component 並成功的訊息. 再close這個project. ( 如果沒有先compile L207_r61.bpk , 就會一直說cannot open file L207_r61.bpi) 這樣應該就安裝成功了. 會出現lockbox 的tabpage有各元件 如果去打開example裡的例子 , 就不會error. -------------------------------- installation: To install TurboPower LockBox into your IDE, take the following steps: 1. Unzip the release files into a directory (e.g., d:\lockbox). 2. Start Delphi or C Builder. 3. Add the source subdirectory (e.g., d:\lockbox\source) to the IDE's library path. 4. Open & install the designtime package specific to the IDE being used. The IDE should notify you the components have been installed. a. For C Builder 6 and Delphi 6 or higher, install the VCL design-time package (e.g., LxxxVDxx.*) when using LockBox classes with VCL applications. b. For C Builder 6 and Delphi 6 or higher, install the CLX design-time package (e.g., LxxxCDxx.*) when using LockBox classes with CLX applications. 5. Make sure the PATH environmental variable contains the directory in which the compiled packages (i.e., BPL or DPL files) were placed. |
bugmans
高階會員 發表:95 回覆:322 積分:188 註冊:2003-04-12 發送簡訊給我 |
自從Turbo Power open source之後就沒在更新了,技術上的問題也得不到支援
只能從sourceforge討論區中看有沒有解決辦法,所以nemo_chao所提供的資訊非常實用 我也來提供一個http://sourceforge.net/projects/tpshellshock/ 1.將檔案解壓縮到C:\tpshellshock_1_02 2.開啟BCB6 3.將C:\shellshock\source路徑加到IDE Library 路徑(Tools->Environment Options -> Library)) (在我的電腦沒有加也安裝成功) 4.開啟K102_R61.bpk按下Compile後關閉 5.開啟K102_D61.bpk但在Compile時會出現編譯錯誤 [Pascal Fatal] SsReg.pas(43): File not found: 'DesignIntf.dcu' 解決方法是從功能表Project/Edit Options Source的 <PFLAGS value="-$YD -$W -$O- -$A8 -v -JPHNE -M"/> <PFLAGS value="-$YD -$W -$O- -$A8 -v -JPHNE -M -LUDesignIDE"/> 多加-LUDesignIDE就能編譯成功,再按下Install安裝元件 出自http://sourceforge.net/forum/forum.php?thread_id=1594931&forum_id=241877 在編譯examples/CBuilder底下的範例時會遇到IDropTarget編譯錯誤 operator IDropTarget*(void) { return (IDropTarget*)&__IDropTarget; } 請從功能表Project/Options的Conditional defines加上NO_WIN32_LEAN_AND_MEAN即可 出自http://www.mombu.com/programming/delphi/t-bds-and-shellshock-838242.html
編輯記錄
bugmans 重新編輯於 2009-03-14 10:22:42, 註解 將角括號改成全形才能顯示‧
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |