Compile ACE (VC) in Windows)

Source: Internet
Author: User

11. install Active Perl

Ace many practicalProgramIt is written in Perl, so install it.

Perl not found. Raise your hand if it is not installed

2. Download ace,

Suppose you have installed it on

D:/ace_wrappers

Directory. Of course, you can also put it somewhere else.

2. Set Environment Change

$ (Ace_root) = D:/ace_wrappers

In $ (PATH), add $ (ace_root)/lib

Raise your hand if it is not set.

3. manually add the config. h file to $ (ace_root)/ace

Note (ace_root)/ace indicates D:/ace_wrappers/ace. In Windows cmd box, enter

Cd % ace_root %/ace

$ (Ace_root) in Linux and % ace_root % in windows. This is an expression of environment variables.

The content of config. H is

# Include "ACE/config-win32.h"

4. Generate the supporting engineering files (Ace. sln and Ace. vcproj) using MCM)

The ACE file is in, and two project configurations are already default. debug, release, and MFC are missing. We can generate

Perl % ace_root %/bin/MWC. pl-type vc8-value_template "deployments = 'mfc release' 'mfc debug' release debug"-features MFC = 1% ace_root %/ACE/ace. MWC

The above is the project file generated under vc2005

If vc2003 is generated, change-type vc8 to vc71.

If you want to use nmake,-type nmake

Ace does not support vc6 and vc2002 (vc7)

5. Compile

Use vc2005/2003 to open the generated project file and compile it.

After compilation, you can find the compiled results under $ (ace_root)/lib.
If vc6.0 is used, pay attention to the sp level of VC, preferably SP6.

reference: http://hi.baidu.com/maxlcl/blog/item/124f0f230103394a92580713.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.