下載本文檔
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、ice開(kāi)發(fā)環(huán)境搭建 全ice作為一種無(wú)平臺(tái)的中間件,提供了最靈便的編譯方式,即自定義的平臺(tái)無(wú)關(guān)語(yǔ)言slice,這種以語(yǔ)言方式來(lái)配置的做法,極大的統(tǒng)一了網(wǎng)絡(luò)服務(wù)的標(biāo)準(zhǔn),有點(diǎn)類(lèi)似于java語(yǔ)言的實(shí)現(xiàn)與編譯,正是由于java語(yǔ)言的定義與實(shí)現(xiàn)都是由sun公司提供的,才極大的推進(jìn)了java語(yǔ)言的發(fā)進(jìn)展。 在linux平臺(tái)下編譯比windows平臺(tái)容易的多,必需要用g+ 3.x來(lái)編譯ice的開(kāi)發(fā)包,否則會(huì)報(bào)錯(cuò)。 在 中下載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里面的變量修改為第三方庫(kù)的路徑,找?號(hào)的是系統(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這一步假如出了問(wèn)題 參見(jiàn)我轉(zhuǎn)載的另一篇博客 ice在linux下的完整編譯安裝21、make;make install 這樣ice就可以編譯過(guò)去了,可以用make test來(lái)測(cè)試編譯得是否正確。 在windows平臺(tái)上安裝ice比較容易,就是vc設(shè)置棘手些。由于我用的是vc6.0,但用vc7.0和8.0都有相對(duì)應(yīng)的包,安裝步驟是一樣的。首先從 setting- c/c+- code gereration中的use run- library中的debug multithreaded dll選上,實(shí)現(xiàn)多線程,由于ice本身天生就是多線程的。在任何狀況下編譯ice程序,都要將porject- setting- c+ language中的enable run-time type infoation (rtti)選中,
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 信訪調(diào)解協(xié)議書(shū)
- 2025版住宅小區(qū)消防疏散指示標(biāo)識(shí)安裝合同范本3篇
- 2025年度個(gè)人股權(quán)擔(dān)保貸款合同標(biāo)準(zhǔn)版
- 2025版托老院入住老人安全防護(hù)服務(wù)協(xié)議3篇
- 2025-2030全球1-戊基-1H-吲哚行業(yè)調(diào)研及趨勢(shì)分析報(bào)告
- 2025-2030全球電子纖維鼻咽鏡行業(yè)調(diào)研及趨勢(shì)分析報(bào)告
- 行業(yè)透視對(duì)公業(yè)務(wù)市場(chǎng)細(xì)分與行業(yè)特性
- 二零二五年度廚師勞務(wù)派遣及餐飲企業(yè)員工福利協(xié)議4篇
- 二零二五年度車(chē)輛抵押貸款利率調(diào)整與通知合同3篇
- 二零二五年度菜鳥(niǎo)驛站快遞業(yè)務(wù)快遞員招聘與管理協(xié)議3篇
- 江西省部分學(xué)校2024-2025學(xué)年高三上學(xué)期1月期末英語(yǔ)試題(含解析無(wú)聽(tīng)力音頻有聽(tīng)力原文)
- 農(nóng)民工工資表格
- 【寒假預(yù)習(xí)】專題04 閱讀理解 20篇 集訓(xùn)-2025年人教版(PEP)六年級(jí)英語(yǔ)下冊(cè)寒假提前學(xué)(含答案)
- 2024年智能監(jiān)獄安防監(jiān)控工程合同3篇
- 2024年度窯爐施工協(xié)議詳例細(xì)則版B版
- 幼兒園籃球課培訓(xùn)
- 基底節(jié)腦出血護(hù)理查房
- 工程公司總經(jīng)理年終總結(jié)
- 【企業(yè)盈利能力探析的國(guó)內(nèi)外文獻(xiàn)綜述2400字】
- 統(tǒng)編版(2024新版)七年級(jí)《道德與法治》上冊(cè)第一單元《少年有夢(mèng)》單元測(cè)試卷(含答案)
- 蘇教版(2024新版)一年級(jí)上冊(cè)科學(xué)全冊(cè)教案教學(xué)設(shè)計(jì)
評(píng)論
0/150
提交評(píng)論