SpringBreak78 at yahoo dot com dot cn
现在的Ace非常好编译,几乎不需要做什么修改。简单的编译方法可以如下:
1。Uncompress the ACE distribution into a directory, where it will create a ACE_wrappers directory containing the distribution. The ACE_wrappers directory will be referred to as ACE_ROOT in the following steps -- so ACE_ROOT/ace would be C:/ACE_wrappers/ace if you uncompressed into the root directory.
2。Create a file called config.h
in the ACE_ROOT/ace directory that contains: #include "ace/config-win32.h"
3。Now load up the project file for ACE (ACE_ROOT/ace/ace.dsw)
这样,如果你不需要做什么特殊的设置,如果在win2k上,可以直接编译了。
如果要编译ACE的ssl,还需要首先编译openssl库,我在上面一篇文章已经说过了。这样,直接编译ACE的ssl就可以了,当然要把编译好的openssl的产生的文件加到设置路径上,包括include and library两个目录路径。
一般前者是inc32,后者是out32dll