ICE在VC中的配置

运行vc6.0
B.        Project Settings >> C/C++(Tab) >> Category:Code Generation >> User run-time library:Debug Multithreaded DLL
C.        Project Settings >> C/C++(Tab) >> Category:Preprocessor >> Additional include directories:(在此项中填入一个点".",表示根目录。添加ICE的include目录。添加stlprot目录。最终结果示例:“.,C:\Ice-3.1.0-VC60\include,C:\Ice-3.1.0-VC60\include\stlport”)
D.       Project Settings >> C/C++(Tab) >> Category:C++ Language >> 勾选"Enable Run-Time Type Information(RTTI)"项
E.        Project Settings >> Link(Tab) >> Category:General>>在"Object/library modules:"框中的未首加入两个包"iced.lib"和"iceutild.lib"
F.        Tools>>options>>Directories>>,选择show directories for:library files,添加ICE的lib目录,例如:C:\ICE-3.1.0-VC60\LIB

////////////////////////////////////////////////////////////////////////////////////////////////////////
在VC++6.0 SP6 下配置ICE工程[DEBUG版本]--config ice project(debug) for vc++6.0 with sp6
刚学习ICE时,在VC++6.0下配置ICE工程简直是个恶梦,死活配不来DEBUG版本的,开发全在RELEASE版本下.很痛苦.最近研究了下,成功的配置成功了,方法如下:

1.Project Settings >> C/C++(Tab) >> Category:Code Generation >> User run-time library:Debug Multithreaded DLL

2.Project Settings >> C/C++(Tab) >> Category:Preprocessor >> Additional include directories:(在此项中填入一个点".",表示根目录)

3.Project Settings >> C/C++(Tab) >> Category:C++ Language >> 勾选"Enable Run-Time Type Information(RTTI)"项

4.Project Settings >> Link(Tab) >> Category:General>>在"Object/library modules:"框中的未首加入两个包"iced.lib"和"iceutild.lib"


这样,整个ICE工程的DEBUG版本就建立完成了.
以上方法在 VC++6.0 SP6 和 ICE3.0.0 下通过
posted on 2006-09-18 17:58 牵牛散步 阅读(1422) 评论(4)  编辑 收藏 引用 所属分类: ICE FOR VC++6.0
 
Comments
• # re: 在VC++6.0 SP6 下配置ICE工程[DEBUG版本]--config ice project(debug) for vc++6.0 with sp6
whjwu
Posted @ 2006-10-27 17:29
我这样设置了,但是最后还有个"printer.h"找不到的错误,怎么回事?
Cannot open include file: 'Printer.h': No such file or directory  回复  更多评论   
• # re: 在VC++6.0 SP6 下配置ICE工程[DEBUG版本]--config ice project(debug) for vc++6.0 with sp6
whjwu
Posted @ 2006-10-27 18:18
如果printer.h,printer.cpp和server.cpp放在一起,printer.h能找到,但是又有7个错误,都是说那些变量没定义,但是这些在printer.h里面都有啊

如果不放在一起,printer.h找不到  回复  更多评论   
• # re: 在VC++6.0 SP6 下配置ICE工程[DEBUG版本]--config ice project(debug) for vc++6.0 with sp6
牵牛散步8
Posted @ 2006-10-30 11:33
你需要在:
Project Settings >> C/C++(Tab) >> Category:Preprocessor >> Additional include directories:(在此项中填入一个点".",表示根目录)

加上之后就应该就没问题了的!  回复  更多评论   
• # re: 在VC++6.0 SP6 下配置ICE工程[DEBUG版本]--config ice project(debug) for vc++6.0 with sp6
whjwu
Posted @ 2006-10-31 17:59
是ICE文档上的小小例子程序,都没通过,完全按上面设置的
你有QQ吗?我QQ185415255把程序打包给你看看


原文代码

http://xiaohonghong.blog.hexun.com/30863902_d.html

http://blog.csdn.net/sparkliang/article/details/6305083

原文地址:https://www.cnblogs.com/byfei/p/3112361.html