下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、ice開發(fā)環(huán)境搭建 全ice作為一種無平臺的中間件,提供了最靈便的編譯方式,即自定義的平臺無關(guān)語言slice,這種以語言方式來配置的做法,極大的統(tǒng)一了網(wǎng)絡(luò)服務(wù)的標(biāo)準(zhǔn),有點類似于java語言的實現(xiàn)與編譯,正是由于java語言的定義與實現(xiàn)都是由sun公司提供的,才極大的推進了java語言的發(fā)進展。 在linux平臺下編譯比windows平臺容易的多,必需要用g+ 3.x來編譯ice的開發(fā)包,否則會報錯。 在 中下載ice-3.0.1.tar.gz和thirdparty-sources-3.0.1.tar.gz,先編譯thirdparty-sources-3.0.1.tar.gz:1、 thirdp
2、arty2、 thirdparty-sources-3.0.1.tar.gz thirdparty3、tar xzvf thirdparty-sources-3.0.1.tar.gz4、tar xzvf openssl-0.9.8a.tar.gz5、 openssl-0.9.8a6、./ configure;make;make install7、cd .8、tar xzvf pat-1.95.8.tar.gz9、cd expat-1.95.810、./ configure;make;make install11、cd .12、tar xzvf db-4.3.29.nc.tar.gz13、cd
3、db-4.3.29.nc14、cd build_unix15、./dist/configure;make;make install16、cd ./.17、tar xzvf ice-3.0.1.tar.gz18、cd ice-3.0.119、將config文件夾下的make.rules.linux,將c+改為g+20、將config文件夾下的make.rules里面的變量修改為第三方庫的路徑,找?號的是系統(tǒng)已經(jīng)安裝的,在linux下stl就是stlport不用另行安裝。stlport_home ?= /opt/stlport if libb2 is not install in a standa
4、rd loion where the compiler can it, bzip2_home to the installation directory. bzip2_home ?= /opt/bzip2 if berkeley db is not installed in a standard location where the compiler can find it, set db_home to the berkeley db installation directory. db_home = /root2/opt/db if openssl is not installed in
5、a standard location where the compiler can find it, set openssl_home to the openssl installation directory. openssl_home = /root2/opt/openssl define if your openssl requires kerberos, and if kerberos is not installed in a standard location. kerberos_home ?= /usr/kerberos if expat is not installed in
6、 a standard location where the compiler can find it, set expat_home to the expat installation directory. expat_home = /root2/opt/expat if readline is not installed in a standard location where the compiler can find it, and you want to use readline, set readline_home to the readline installation dire
7、ctory. readline_home ?= /opt/readline這一步假如出了問題 參見我轉(zhuǎn)載的另一篇博客 ice在linux下的完整編譯安裝21、make;make install 這樣ice就可以編譯過去了,可以用make test來測試編譯得是否正確。 在windows平臺上安裝ice比較容易,就是vc設(shè)置棘手些。由于我用的是vc6.0,但用vc7.0和8.0都有相對應(yīng)的包,安裝步驟是一樣的。首先從 setting- c/c+- code gereration中的use run- library中的debug multithreaded dll選上,實現(xiàn)多線程,由于ice本身天生就是多線程的。在任何狀況下編譯ice程序,都要將porject- setting- c+ language中的enable run-time type infoation (rtti)選中,
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年統(tǒng)編版八年級歷史下冊階段測試試卷
- 2025年滬教新版九年級地理下冊階段測試試卷
- 2025年牛津上海版必修三生物下冊月考試卷
- 2025年新科版選修4歷史上冊階段測試試卷含答案
- 2025年度共享辦公空間租賃協(xié)議延期及使用權(quán)轉(zhuǎn)讓合同4篇
- 按揭二手車轉(zhuǎn)讓合同(2篇)
- 二零二五年度新能源汽車電池回收利用合同集錦2篇
- 二零二五年度企業(yè)并購財務(wù)盡職調(diào)查合同3篇
- 二零二五年度農(nóng)家樂鄉(xiāng)村旅游資源整合開發(fā)合同4篇
- 二零二五年度紡織機械設(shè)備租賃合同范本4篇
- 【寒假預(yù)習(xí)】專題04 閱讀理解 20篇 集訓(xùn)-2025年人教版(PEP)六年級英語下冊寒假提前學(xué)(含答案)
- 2024年智能監(jiān)獄安防監(jiān)控工程合同3篇
- 2024年度窯爐施工協(xié)議詳例細則版B版
- 幼兒園籃球課培訓(xùn)
- 【企業(yè)盈利能力探析的國內(nèi)外文獻綜述2400字】
- 統(tǒng)編版(2024新版)七年級《道德與法治》上冊第一單元《少年有夢》單元測試卷(含答案)
- 100道20以內(nèi)的口算題共20份
- 高三完形填空專項訓(xùn)練單選(部分答案)
- 護理查房高鉀血癥
- 項目監(jiān)理策劃方案匯報
- 《職業(yè)培訓(xùn)師的培訓(xùn)》課件
評論
0/150
提交評論