找回密码
 用户注册

QQ登录

只需一步,快速开始

查看: 3961|回复: 1

ACE 中怎么加入SSL 编译选项

[复制链接]
发表于 2007-12-15 22:03:26 | 显示全部楼层 |阅读模式
现在要用SSL, 以前编译的ACE中没有SSL,怎么把SSL 编译进去呀?
OpenSSL已经安装!
XP, ACE 5.5, VS2005
 楼主| 发表于 2007-12-15 22:03:36 | 显示全部楼层
Microsoft Visual Studio
Set the SSL_ROOT environment variable to the location of the directory containing the OpenSSL inc32 and out32dll directories.

Add ssl=1 to your MPC $ACE_ROOT/bin/MakeProjectCreator/config/default.features or $ACE_ROOT/local.features file, and re-run MPC to add support for building the ACE_SSL library to your MSVC++ workspaces and projects.

Open the ACE.sln solution, and refer to the ACE build and installation instructions above for details on creating a config.h configuration header for this platform. Once the config.h file has been created, build the ACE_SSL project.
看文档,把vc8.features中的ssl = 0改为ssl = 1

另一种方式,我觉得这样也可以

perl bin\mwc.pl -type vc8 -value_template "configurations =  Release Debug" -features ssl=1  ACE/ACE.mwc
您需要登录后才可以回帖 登录 | 用户注册

本版积分规则

Archiver|手机版|小黑屋|ACE Developer ( 京ICP备06055248号 )

GMT+8, 2024-11-22 01:04 , Processed in 0.018543 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表