
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、ice开发环境搭建 全ice作为一种无平台的中间件,提供了最灵便的编译方式,即自定义的平台无关语言slice,这种以语言方式来配置的做法,极大的统一了网络服务的标准,有点类似于java语言的实现与编译,正是由于java语言的定义与实现都是由sun公司提供的,才极大的推进了java语言的发进展。 在linux平台下编译比windows平台容易的多,必需要用g+ 3.x来编译ice的开发包,否则会报错。 在 中下载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里面的变量修改为第三方库的路径,找?号的是系统已经安装的,在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这一步假如出了问题 参见我转载的另一篇博客 ice在linux下的完整编译安装21、make;make install 这样ice就可以编译过去了,可以用make test来测试编译得是否正确。 在windows平台上安装ice比较容易,就是vc设置棘手些。由于我用的是vc6.0,但用vc7.0和8.0都有相对应的包,安装步骤是一样的。首先从 setting- c/c+- code gereration中的use run- library中的debug multithreaded dll选上,实现多线程,由于ice本身天生就是多线程的。在任何状况下编译ice程序,都要将porject- setting- c+ language中的enable run-time type infoation (rtti)选中,
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 学科渗透与品德教育的结合计划
- 商业门面房出租合同
- 汽车检测仪租赁合同
- 八年级物理上册 第一章 物态及其变化第一节 物态变化温度教学设计 (新版)北师大版001
- 2024年母猪护理能力探索试题及答案
- 有效应对2025年乡村全科医师考试试题及答案
- 叉车理论笔试题及答案大全
- 构建系统架构设计师考试知识体系试题及答案
- 七年级历史下册 第一单元 隋唐时期:繁荣与开放的时代 第1课 隋朝的统一与灭亡教学设计 新人教版
- 2024文化产业管理全景图试题及答案
- 2009-2022历年江苏省常州市经济开发区综合行政执法大队公开招聘执法协管员考试《公基》含答案2022-2023上岸必备带详解版4
- 系统工程第五讲-ISM(解释结构模型)
- CTCS-3级列控系统标准体系及需求规范课件
- 福建省普通高中学生综合素质评价实施办法
- 大兵小品《教子》台词(原台词及改编台词)
- 老年人功能性消化不良诊治
- 《老先生的礼数》阅读练习及答案
- 高分子化学第六章_离子聚合
- 广东省医疗广告审查申请表
- 连接器成本分析-B版
- 基坑支护监理质量评估报告
评论
0/150
提交评论