buf

BE something YOU love and understand
posts - 94, comments - 35, trackbacks - 0, articles - 2
   :: 首页 :: 新随笔 :: 联系 ::  :: 管理

vc8编译ace-6.1.2 / buiding ace-6.1.2 with vc8

Posted on 2012-05-29 23:52 buf 阅读(872) 评论(0)  编辑 收藏 引用 所属分类: Misc
ace可以从http://download.dre.vanderbilt.edu/下载,网站提供了两种版本——Full和Source Only, Full包含了适用于各种编译环境(GNU make / vc9 / vc10 / ...)等的Makefile或者工程文件,可是没有我需要的for vc8的,于是只能选择Source Only版,并使用ace项目中采用的构建管理工具MPC(类似的还有cmake)来生成vc8的工程和解决方案文件。关于MPC的介绍参见http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/MPC/docs/html/MakeProjectCreator.html。

关于ace的编译安装说明在http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html,原文比较长,而就本文讨论的问题感觉没有说的比较清楚。经过试验,按照“Building and Installing ACE on Windows with Embarcadero C++”一节中step1 - 5操作,然后在命令提示符下执行:
> cd %ACE_ROOT%
> mwc.pl -type vc8 ace.mwc
输出如下:
E:\ACE\Build\ACE_wrappers>mwc.pl -type vc8 ace.mwc
MPC_ROOT was set to D:\MPC.
Using .../Build/ACE_wrappers/bin/MakeProjectCreator/config/MPC.cfg
CIAO_ROOT was used in the configuration file, but was not defined.
DANCE_ROOT was used in the configuration file, but was not defined.
Generating 'vc8' output using ace.mwc
Skipping ACE_Init_Test (tests.mpc), it requires mfc.
Skipping Compiler_Features_08_Test (tests.mpc), it requires dummy_label.
Skipping NDDS_Timer_Test (tests.mpc), it requires ndds.
Skipping XtMotifReactor_Test (tests.mpc), it requires xt.
Skipping XtAthenaReactor_Test (tests.mpc), it requires xt.
Skipping XtAthena3dReactor_Test (tests.mpc), it requires xt.
Skipping FlReactor_Test (tests.mpc), it requires fl.
Skipping TkReactor_Test (tests.mpc), it requires tk.
Skipping QtReactor_Test (tests.mpc), it requires qt4.
Skipping Bug_2912_Regression_Test (tests.mpc), it requires ssl.
Skipping SSL_Asynch_Stream_Test (tests.mpc), it requires ssl.
Skipping Thread_Pool_Reactor_SSL_Test (tests.mpc), it requires ssl.
Skipping INet_SSL (inet_ssl.mpc), it requires ssl.
Skipping HTTPS_Simple_exec (inet.mpc), it requires ssl.
Skipping RPC_Client (RPC.mpc), it requires rpc.
Skipping RPC_Server (RPC.mpc), it requires rpc.
Skipping Misc_Test_XtReactor1 (Misc.mpc), it requires xt.
Skipping Misc_Test_XtReactor2 (Misc.mpc), it requires xt.
Skipping Log_Msg_MFC (Log_Msg_MFC.mpc), it requires mfc.
Skipping SSL_SAP_Client (SSL_SAP.mpc), it requires ssl.
Skipping SSL_SAP_Client_Simple (SSL_SAP.mpc), it requires ssl.
Skipping SSL_SAP_Server (SSL_SAP.mpc), it requires ssl.
Skipping SSL_SAP_Server_Fancy (SSL_SAP.mpc), it requires ssl.
Skipping SSL_SAP_Server_Poll (SSL_SAP.mpc), it requires ssl.
Skipping SSL_SAP_Server_Simple (SSL_SAP.mpc), it requires ssl.
Skipping ConfigViewer (ConfigViewer.mpc), it requires wxWindows.
Skipping C++NPv2_AC_CLD (C++NPv2.mpc), it requires ssl.
Skipping C++NPv2_AIO_CLD (C++NPv2.mpc), it requires ssl.
Skipping C++NPv2_TPCLS (C++NPv2.mpc), it requires ssl.
Skipping minizip (minizip.mpc), it requires zlib.
Skipping FaCENOACE (FaCENOACE.mpc), it requires wince.
Skipping FaCE (FaCE.mpc), it requires dummy_label.
Skipping drwho__client (drwho.mpc), it requires rwho.
Skipping drwho__server (drwho.mpc), it requires rwho.
Skipping ACE_XtReactor (ace_xtreactor.mpc), it requires xt.
Skipping ACE_TkReactor (ace_tkreactor.mpc), it requires tk.
Skipping ace_svcconf_gen (svcconfgen.mpc), it requires ace_svcconf_gen.
Skipping SSL_FOR_TAO (ssl_for_tao.mpc), it requires ssl.
Skipping SSL (ssl.mpc), it requires ssl.
Skipping ACE_Qt4Reactor_moc (ace_qt4reactor.mpc), it requires qt4.
Skipping ACE_Qt4Reactor (ace_qt4reactor.mpc), it requires qt4.
Skipping ACE_FoxReactor (ace_foxreactor.mpc), it requires fox.
Skipping ACE_FlReactor (ace_flreactor.mpc), it requires fl.
Skipping ACE_FOR_TAO (ace_for_tao.mpc), it requires ace_for_tao.
Generation Time: 2m 17s

然后会生成%ACE_ROOT%\ace.sln,用vc8打开这个就可以编译了。

只有注册用户登录后才能发表评论。