ICE開發(fā)環(huán)境搭建 全_第1頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(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)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論