ACE simple compilation process in Windows

I. Overview:

After downloading the previous version of ACE, bring their own VC of sln project file, such as ACE 6.0.0.0, you can omit the generation process sln file below. Now there is no 6.2.0.0, so only by MPC own afterlife became. The following is a specific process.

For more information about ACE, visit here: ACE
Second, install Perl

    Install ActivePerl, Download Free Community Edition version from http://www.activestate.com/activeperl. And the installation is complete. Suppose installed in c: \ perl in.
    Perl is added to the system Path path to C: \ Perl \ bin on the Path path.

Third, the establishment of ACE environment variables

    ACE establish a system environment variable, assuming ACE is decompressed in D: \ Lib \ ACE-6.2.0.0 in.

    ACE_ROOT = D:\Lib\ACE-6.2.0.0\ACE_wrappers

    Add% ACE_ROOT% / Lib Path to the system, since, ACE compiled by the LIB, DLL are here, so your program at compile or run time, ACE can automatically find the library.

Fourth, the project began to generate the VC sln file

    Run cmd, do not need an administrator. Then enter this directory

    D:\Lib\ACE-6.2.0.0\ACE_wrappers\MPC

    After entering, execution

    mwc.pl -type vc9 ../ace.mwc

    Wait a moment, in the D: \ Lib \ under ACE-6.2.0.0 \ ACE_wrappers directory, has been ace.sln project is aimed at vc9 (VS2008) is. Other versions of vc, only need to modify vc9 can be, for example: vc6, vc7, vc71, vc8, vc9, vc10 for different versions of Visual Studio.

Fifth, create a config.h file

Open the front ace.sln in the VS2008. Needs in D: \ Lib \ ACE-6.2.0.0 \ build a config.h file ACE_wrappers \ ace directory, as follows:

    #ifndef _CONFIG_H_
    #define _CONFIG_H_
     
    #include "ace/config-win32.h"
     
    #endif // _CONFIG_H_

All right. Ace.sln can finally open up. Start VS2008, open ace.sln, select Debug or Release can be compiled, which may take relatively long time to be patient.
VI Notes

    VS2008, although you can choose x64, but it seems can not be used, because the solution of the "Properties" invalid.
    If your computer has a different version of ACE, then you can use the ACE_ROOT variables need to switch.
    mwc.pl There are many options and parameters need to be configured according to specific requirements. Details need to read "D: /Lib/ACE-6.2.0/ACE_wrappers/ACE-INSTALL.html" file content on the MPC, in great detail, but it needs patience to figure out.
    Other outstanding issues, can read D: /Lib/ACE-6.2.0/ACE_wrappers/ACE-INSTALL.html.

Welcome to free reprint! :)

November 22, 2013
---------------------
Author: Lee0698
Source: CSDN
Original: https: //blog.csdn.net/return123123/article/details / 16884833
copyright: This article is a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin blog.csdn.net/wojiuguowei/article/details/90374488
Recommended