zoukankan      html  css  js  c++  java
  • C++的王牌通信框架--ACE在windows下的搭建

    Q:

    href="#HowToBuildACEandTAOonWindows" How do I obtain, configure, and build ACE and TAO on Windows with Visual C++?

    Windows vc++环境下如何获取,配置并组建ACETAO框架

    A:

    This FAQ provides basic instructions for installing and building ACE+TAO for Windows with

    本指南提对windows vc++环境下安装和组建ACE+TAO框架进行了基本的介绍。但这理念同样适用于主流操作系统。

     Visual C++. ACE+TAO can also be used on other major modern operating systems, such as Linux, Solaris, AIX, and HP-UX, 

    and some real-time and embedded operating systems, such as VxWorks, LynxOS, Timesys Linux, and Windows CE.

     Hardware Requirements  硬件需求:  - CPU: ACE+TAO can be configured to build on a variety of 32    

     and 64 bit processors (Intel, AMD)   - Memory: 512 MB (more memory improves compile speed)   - Hard Drive Space: 256MB swap + 500 MB up to several GB  

       free (depending upon how much you build)普通笔记本  Operating System Requirements     - Windows 2000, 2003, XP, or Vistawin7环境  C++ Compiler Requirements  

       - Microsoft Visual C++ 7.1, 8, or 9安装VS2012或以上版本  Other Software Requirements    

     - OCI's Distribution of TAO version 1.6a latest patch     release or the latest release or micro release of ACE+TAO 

        (see instructions below for obtaining and installing     ACE+TAO)

    http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO-6.3.3.zip

        - WinZIP or similar tool for extracting software archives

    压缩软件一个   - ActiveState Perl v5.6.1 or newer (recommended, but not required)推荐但并非必须  Obtaining and Installing ACE+TAO   

     

     

      1. Download the latest release of OCI TAO 1.6a (with latest      patches, if available) from:    

        http://download.ociweb.com/TAO1.6a/        or download the latest release or micro release of ACE+TAO from:  

          http://download.dre.vanderbilt.edu/   

     

     

      2. Extract the archive into a path with no space

    s in the path      name (e.g., C:ACE_wrappers).   

     

     

      3. Set ACE_ROOT, TAO_ROOT, and PATH environment variables.  

      For example, if ACE+TAO are installed in C:ACE_wrappers, the      variables will look like this:

     解压,对*ACE_wrappers根目录设置环境变量如下,类似JDK    新建环境变量  ACE_ROOT=C:ACE_wrappers      新建环境变量 TAO_ROOT=%ACE_ROOT%TAO      The PATH variable should contain these directories:

    在环境变量path前面添加.;%ACE_ROOT%in;%ACE_ROOT%lib;   

     

     

      4. Create a file named config.h in %ACE_ROOT%ace with the following      contents: 通过win+r打开%ACE_ROOT%,确认路径后,打开VS新建一个config.hC++头文件

    内容如下,保存在%ACE_ROOT%      #include "ace/config-win32.h"  进入根目录,安装VS2012或以上版本,打开12.sln文件,右击每个项目,属性,常规,平台工具集,选择vc2012(11 v1)。,设置server为启动项目,F5,运行  

     

     

    5. Build the Debug or Release configuration of ACE+TAO using 

     

  • 相关阅读:
    前端模块化开发的价值
    Promise对象
    avalon define新老风格对比
    jQuery知识点1
    SASS
    HTML5
    JSON
    css垂直居中
    maven nexus 部署
    Linux 平台下 lzo和hadoop-lzo安装与集成
  • 原文地址:https://www.cnblogs.com/aobama/p/4941707.html
Copyright © 2011-2022 走看看