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