找回密码
 立即注册
ACEwrappersconfiglocal | 企业管理 2022-09-23 152 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
打开D:\ACE_wrappers\ace目录新建文件config.h,内容为#includeace/config-win32.h打开控制台:SETACE_ROOT=D:\ACE_wrappersSETSSL_ROOT=D:\OpenSSL设置BCB版本,BCB5设为5;BCB6设为6;BDS2006、RAD2007设为8SETBCBVER=8(注:最新的ACE5.6.9不需要设置该项,它请求的BCB为RAD2009)CDD:\ACE_wrappers\ace目录make–fmakefile.borall编译(注:最新版为make–fmakefile.bmakall)成功了会在D:\ACE_wrappers\lib下生成dll和lib文件2.2接下来编译ACE_SSL把OpenSSL的BCB连接库文件放在OpenSSL途径下的lib和out32途径下。假如OpenSSL没有提供BCB的连接文件,使用implib–axxx.libxxx.dll自己手艺生成。CDD:\ACE_wrappers\ace\SSLperlD:\ACE_wrappers\bin\MPC.pl–typeborlandssl.mpc生成SSL.bor。或许perlD:\ACE_wrappers\bin\MPC.pl–typebmakessl.mpc生成Makefile.SSL.bmakmake–fSSL.bor编译(注:假如用的是Makefile.SSL.bmak,可能要SETDEBUG=1或SETRELEASE=1,设置调试版还是发布版)2.3可能呈现的错误n??make工具不对,可能path途径上有别的的make。解决方法即是SETPATH=BCB的bin途径;perl的bin途径,这样不会受到别的途径的搅扰。n??编译错误,找不到SSL的相关文件,看看SSL_ROOT有没设对,并参考openssl安装。n??连接错误,SSL的连接文件格式不对。参考2.2检测SSL连接文件设置对了没。找不到ACEd.lib,把D:\ACE_wrappers\lib下2.1编译生成的可能是ACE_bd.lib备份一份取名为ACEd.lib。3WindowsMingW版下载msys工具。安装。打开D:\ACE_wrappers\ace目录新建文件config.h,内容为#includeace/config-win32.h打开msys:cd/d/ACE_wrappers/aceexportACE_ROOT=/d/ACE_wrappersexportSSL_ROOT=/d/OpenSSL假如没有配置MingW的途径,则:exportPATH=MingW途径<imgsrc="shy.gif"smilieid="8"border="0"alt=""/>PATHmakeall编译进到SSL目录,make编译4Linux版解压ACE包。假定解压在/usr/local/src下。在/usr/local/src/ACE_wrappers/ace下新建文件config.h内容为:n??假如是linux则为:#includeace/config-linux.hn??假如是别的UNIX
,则为#includeace/config-系统版本-c++编译器.h。可以检测/usr/local/src/ACE_wrappers/ace下的config
.h文件。exportACE_ROOT=/usr/local/src/ACE_wrapperscd/usr/local/src/ACE_wrappersmakecd/usr/local/src/ACE_wrappers/SSLmake/usr/local/src/ACE_wrappers/lib下,为编译生成的socd/usr/libln–s/usr/local/src/ACE_wrappers/lib给编译生成的so搭建符号连接
ACE5.7_wrappers_part1.tar.gz

(Open the D:\ACE_wrappers\ace directory and create a new file config.h, the content is #includeace/config-win32.h Open the console: SETACE_ROOT=D:\ACE_wrappersSETSSL_ROOT=D:\OpenSSL set the BCB version, BCB5 is set to 5; BCB6 is set to 6; BDS2006, RAD2007 set to 8SETBCBVER=8 (Note: the latest ACE5.6.9 does not need to set this item, the BCB it requests is RAD2009) CDD:\ACE_wrappers\ace directory make-fmakefile.borall compile (Note: the latest version For make-fmakefile.bmakall) successfully, dll and lib files will be generated under D:\ACE_wrappers\lib 2.2 Next, compile ACE_SSL and put the BCB connection library file of OpenSSL in the lib and out32 paths under the OpenSSL path. If OpenSSL does not provide BCB connection file, use implib-axxx.libxxx.dll to generate it by yourself. CDD:\ACE_wrappers\ace\SSLperlD:\ACE_wrappers\bin\MPC.pl – typeborlandssl.mpc generates SSL.bor. Perhaps perlD:\ACE_wrappers\bin\MPC.pl–typebmakessl.mpc generates Makefile.SSL.bmakmake–fSSL.bor to compile (Note: If you use Makefile.SSL.bmak, you may need SETDEBUG=1 or SETRELEASE=1, set Debug version or release version) 2.3 may show the error n?? The make tool is wrong, there may be other make on the path. The solution is SETPATH=BCB's bin way; perl's bin way, so that it will not be disturbed by other ways. n?? Compilation error, unable to find SSL related files, check if SSL_ROOT is set correctly, and refer to openssl installation. n?? Connection error, SSL connection file format is incorrect. Refer to 2.2 Check the SSL connection file settings are correct. Could not find ACEd.lib, compile 2.1 under D:\ACE_wrappers\lib to generate a backup copy of ACE_bd.lib and name it ACEd.lib. 3WindowsMingW version download msys tool. Install. Open the D:\ACE_wrappers\ace directory and create a new file config.h, the content is #includeace/config-win32.h Open msys:cd/d/ACE_wrappers/aceexportACE_ROOT=/d/ACE_wrappersexportSSL_ROOT=/d/OpenSSLIf there is no way to configure MingW , then: exportPATH=MingW way <imgsrc="shy.gif"smilieid="8"border="0"alt=""/>PATHmakeall compile into SSL directory, make compile 4Linux version to decompress ACE package. It is assumed to be unpacked under /usr/local/src. Create a new file config.h under /usr/local/src/ACE_wrappers/ace: n?? If it is linux, it will be: #includeace/config-linux.hn?? If it is another UNIX
, it is #includeace/config-system version-c   compiler.h. Can detect config under /usr/local/src/ACE_wrappers/ace
.h files. exportACE_ROOT=/usr/local/src/ACE_wrapperscd/usr/local/src/ACE_wrappersmakecd/usr/local/src/ACE_wrappers/SSLmake/usr/local/src/ACE_wrappers/lib, socd/usr/libln- s/usr/local/src/ACE_wrappers/lib builds a symbolic link for the compiled so
ACE5.7_wrappers_part1.tar.gz)

[下载]16330638874.rar




上一篇:数据结构与程序设计课后答案
下一篇:ACE C++ part2