青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

穩定盈利的期貨交易方法-量化趨勢交易

alantop -專業量化投資者

愛好:量化投資,逆向工程,滲透
隨筆 - 595, 文章 - 0, 評論 - 921, 引用 - 0
數據加載中……

ACE 5.6版本的編譯

最近,寫一些網絡程序。下了 最新版本的ACE發現。新的版本已經不支持vc6了。只支持vc7.1和vc8。
看樣子現在都在全面過渡vc2005這個編譯器。

5.6的ACE編譯非常的簡單,從網站下載壓縮包,然后解壓到目錄
在目錄下的ACE目錄下建立一個config.h文件,然后里面包含:
#include "ace/config-win32.h"

然后 編譯下debug和release。
現在,備份下ace\config.h文件和lib目錄下生成的文件。

下次 不用再編譯了,只需要在使用的時候包含頭文件和設置相應的庫就好了。

下面是翻譯了部分的ace資料:

Building and Installing ACE and Its Auxiliary Libraries and Services
生成和安裝ACE和它的補充庫和服務
Synopsis
概要
The file explains how to build and install ACE, its Network Services, test suite and examples on the various OS platforms and compilers that it has been ported to. Please consult the NEWS and ChangeLog files to see whether any recent changes to the release will affect your code. In addition, you should check out our development process. As you start working with ACE, we suggest you get copies of the C++NPv1, C++NPv2, and APG books to help guide you after you've built and installed ACE. You should also consult the ACE Frequently Made Mistakes page. If you encounter any problems or would like to request an enhancement, then use our bug tracking system to submit a report in accordance with our bug report process.
這個文件解釋如何生成和安裝ACE,和它的網絡服務,測試套件和樣例在已經移植到的,不同的操作系統平臺和編譯器上。請查閱NEWS和ChangeLog文件看最近發布的新版本的改動是否會影響你的代碼。另外,你將核實我們的開發進程。作為你開始在ACE上工作,我建議你先看看C++NPv1, C++NPv2, and APG這三本書。你應該查閱下ACE頻繁會犯的錯誤。如果你遇到什么問題或者想有所提高,可以看看我們BUG系統提交的報告。

Document Index
Platforms, C++ Compilers, and Support
Installation prerequisites
Building and Installing ACE
Building and Installing ACE Network Services
Building and Installing The ACE_SSL Library
Building and Using GUI Reactors Libraries
Installation Notes
Compiling ACE with GNU g++
What Do I Need to Build for TAO?
System Resource Requirements
General MPC Information
Working with ACE in Eclipse
Advanced Topics
Building from Subversion

文檔索引
平臺, c++編譯器和支持
安裝前的準備
生成和安裝ACE
生成和安裝ACE網絡服務
生成和安裝ACE_SSL庫
生成和使用GUI Reactors庫
安裝筆記
用GNU g++編譯ACE
生成支持TAO的版本我需要什么?
系統資源要求
一般的MPC信息
在Eclipse中和ACE工作
高級主題
從subversion生成

Building and Installing ACE on Windows with Microsoft Visual Studio
ACE contains project files for Microsoft Visual Studio .NET 2003 (VC7.1) and Visual Studio 2005 (VC8). Visual Studio 2005 supports building for desktop/server Windows as well as for Windows CE and Windows Mobile. Since not all users will be interested in the CE/Mobile capability, these platforms have separate solution and project files from the desktop/server Windows. Furthermore, VC7.1 and VC8 use different file formats but the same file suffixes (.sln and .vcproj). To support both environments, ACE supplies files with different names for the different development and target platforms. The platform/name mapping is shown below. All solution files have a .sln suffix and all project files have a .vcproj suffix.
在VS上生成和安裝ACE
ACE中包含了針對vs2003(vc7.1)和VS2005(vc8)的文件.vs2005vs2005支持生成桌面、服務器、wince和Windows Mobile系統。并不是所有的用戶都對CE/Mobiile系統感興趣,那些平臺由單獨的解決方案和工程文件。此外,vc7.1和vc8用不同的文件格式,但相同的文件后綴(.sln和.vcproj).為了支持兩個不同的環境,ACE支持文件為不同的開發環境和目標平臺用不同的名字。平臺名字和映射如下表。所有的解決方案,都是有一個.sln后綴,所有的工程都有一個.vcproj后綴。

Mapping of Platform to Solution/Project File Name Platform File Name
平臺解決方案和項目文件名映射表
VC7.1 name (no decorator) 
VC8 for desktop/server name_vc8 
VC8 for Windows CE/Mobile name_WinCE 

If you happen to open a VC7.1 file from within VC8, it will offer to convert the file to the newer format for you. With the stock VC8, do not do this; Visual Studio will crash while attempting to convert the large solution and project files to build ACE. Simply refuse the conversion and open the file with the correct format. Note that Microsoft has fixed this problem. See https://msdn.microsoft.com/visualc/downloads/default.aspx for information.
不要使用不同版本的vc去打開不對應的ACE版本

Uncompress the ACE distribution into a directory, where it will create a ACE_wrappers directory containing the distribution. The ACE_wrappers directory will be referred to as ACE_ROOT in the following steps -- so ACE_ROOT\ace would be C:\ACE_wrappers\ace if you uncompressed into the root directory.


Create a file called config.h in the ACE_ROOT\ace directory that contains:

#include "ace/config-win32.h"


The static, DLL and MFC library builds are kept in different workspaces. Files with names *_Static contain project files for static builds. Workspaces for static and DLL builds will be available through the stock release at DOC group's website. The workspaces for MFC are not available and have to be generated using MPC. Please see MPC's README for details.


Now load the solution file for ACE (ACE_ROOT/ACE.sln).


Make sure you are building the configuration (i.e, Debug/Release) the one you'll use (for example, the debug tests need the debug version of ACE, and so on). All these different configurations are provided for your convenience. You can either adopt the scheme to build your applications with different configurations, or use ace/config.h to tweak with the default settings on NT.
Note: If you use the dynamic libraries, make sure you include ACE_ROOT\lib in your PATH whenever you run programs that uses ACE. Otherwise you may experience problems finding ace.dll or aced.dll.


If you want to use the standard C++ headers (iostream, cstdio, ... as defined by the C++ Standard Draft 2) that comes with MSVC, then add the line:

#define ACE_HAS_STANDARD_CPP_LIBRARY 1

before the #include statement in ACE_ROOT\ace\config.h.


To use ACE with MFC libraries, also add the following to your config.h file. Notice that if you want to spawn a new thread with CWinThread, make sure you spawn the thread with THR_USE_AFX flag set.

#define ACE_HAS_MFC 1

By default, all of the ACE projects use the DLL versions of the MSVC run-time libraries. You can still choose use the static (LIB) versions of ACE libraries regardless of run-time libraries. The reason we chose to link only the dynamic run-time library is that almost every NT box has these library installed and to save disk space. If you prefer to link MFC as a static library into ACE, you can do this by defining ACE_USES_STATIC_MFC in your config.h file. However, if you would like to link everything (including the MSVC run-time libraries) statically, you'll need to modify the project files in ACE yourself.

Static version of ACE libraries are built with ACE_AS_STATIC_LIBS
defined. This macro should also be used in application projects that link to static ACE libraries

Optionally you can also add the line

#define ACE_NO_INLINE

before the #include statement in ACE_ROOT\ace\config.h to disable inline function and reduce the size of static libraries (and your executables.)


ACE DLL and LIB naming scheme:

We use the following rules to name the DLL and LIB files in ACE when using MSVC.

"Library/DLL name" + (Is static library ? "s" : "") + (Is Debugging enable ? "d" : "") + {".dll"|".lib"}


More information for ACE/TAO on MSVC can be found here. The doxygen version of this document is available under Related Topics in the ACE Library.

ACE TESTS
The tests are located in ACE_ROOT\tests. There is also a solution in that directory to build all the tests (tests.sln)

Once you build all the tests (Batch Build works well for this), you can run perl script run_test.pl in the tests directory to try all the tests.

posted on 2008-03-18 01:11 AlanTop 閱讀(3018) 評論(1)  編輯 收藏 引用 所屬分類: VC++

評論

# re: ACE 5.6版本的編譯  回復  更多評論   

不錯,如此簡單,
簡單的不適宜放在首頁了 呵呵
2008-03-18 08:28 | cppexplore
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            亚洲国产日本| 欧美日韩在线另类| 日韩午夜在线视频| 亚洲国产精品久久久| 久久深夜福利免费观看| 久久精品在线| 狼人天天伊人久久| 亚洲国产高清高潮精品美女| 亚洲国产精品免费| 在线亚洲高清视频| 亚洲欧美日韩第一区| 久久精品导航| 欧美精品v日韩精品v国产精品| 欧美激情女人20p| 国产精品h在线观看| 久久三级福利| 久久国产视频网站| 榴莲视频成人在线观看| 亚洲成人在线视频播放 | 国产精品国产三级国产a| 国产精品成人aaaaa网站| 国产亚洲福利| 亚洲欧洲在线一区| 欧美一区二区三区婷婷月色| 欧美jizzhd精品欧美巨大免费| 亚洲美女91| 久久综合久久综合这里只有精品 | 欧美激情第10页| 一本久道久久久| 久久精品二区三区| 国产精品jvid在线观看蜜臀| 精品999在线播放| 中文欧美日韩| 欧美华人在线视频| 欧美一区二区三区久久精品茉莉花| 欧美粗暴jizz性欧美20| 国产午夜精品美女毛片视频| 亚洲最新视频在线播放| 欧美成人三级在线| 欧美在线观看一区二区| 国产精品成人aaaaa网站| 亚洲精品国久久99热| 久久综合中文色婷婷| 亚洲综合国产| 国产精品国色综合久久| 夜夜嗨网站十八久久| 欧美成人69| 久久久xxx| 国产一区二区精品丝袜| 小黄鸭精品aⅴ导航网站入口| 亚洲欧洲日本mm| 蜜臀av一级做a爰片久久| 黑人巨大精品欧美一区二区| 欧美亚洲在线观看| 亚洲一级一区| 国产美女高潮久久白浆| 欧美伊人久久大香线蕉综合69| 日韩香蕉视频| 欧美视频一区二区| 亚洲一区二区三区精品动漫| 99精品欧美一区二区三区综合在线| 一区二区三区久久| 美女主播视频一区| 欧美在线观看日本一区| 欧美视频在线一区| 亚洲字幕一区二区| 亚洲在线免费观看| 国产伦精品一区二区三区在线观看| 亚洲一级在线| 亚洲男人第一网站| 国产欧美一区二区三区沐欲| 欧美一区二区精美| 午夜一区在线| 亚洲福利电影| 亚洲国产婷婷香蕉久久久久久99 | 在线观看免费视频综合| 欧美成人黑人xx视频免费观看| 久久精品视频播放| 亚洲国产精品一区制服丝袜| 亚洲第一主播视频| 欧美日韩伦理在线| 欧美中文字幕在线观看| 久久九九热re6这里有精品| 亚洲电影毛片| 日韩一二三在线视频播| 国产日韩欧美在线观看| 女人天堂亚洲aⅴ在线观看| 欧美大片网址| 羞羞答答国产精品www一本 | 欧美午夜视频网站| 久久国产精品一区二区三区| 久久精品日韩| 一区二区三区高清不卡| 亚洲欧美在线网| 亚洲第一黄色| avtt综合网| 国产视频欧美| 亚洲日本一区二区三区| 国产欧美精品在线| 亚洲福利视频网站| 国产乱码精品一区二区三区av| 久热爱精品视频线路一| 欧美午夜精品理论片a级大开眼界 欧美午夜精品理论片a级按摩 | 午夜激情综合网| 亚洲日本久久| 欧美亚洲三区| 中文在线资源观看视频网站免费不卡| 午夜精品久久久久久久久久久久| 亚洲国产一区二区三区在线播| 亚洲一区二区三区四区在线观看| 在线成人小视频| 亚洲在线视频| 一区二区不卡在线视频 午夜欧美不卡在 | 久久夜色精品国产噜噜av| 一区二区三区高清在线观看| 欧美亚洲综合网| 夜夜嗨一区二区| 久久天堂国产精品| 欧美一区二区在线免费播放| 欧美日韩国产丝袜另类| 免费成人黄色片| 国产欧美日韩视频一区二区三区 | 久久成人国产| 欧美在线看片a免费观看| 欧美成人午夜免费视在线看片| 久久九九全国免费精品观看| 欧美日韩一区二区视频在线观看| 免费久久99精品国产自在现线| 国产精品久久精品日日| 亚洲国产精品久久| 在线精品观看| 一区二区三区不卡视频在线观看 | 欧美一区影院| 国产精品久久77777| 亚洲啪啪91| 亚洲精选在线| 你懂的网址国产 欧美| 久久亚洲精选| 国产一区二区三区直播精品电影 | 亚洲国产你懂的| 亚洲黄色成人网| 老司机久久99久久精品播放免费| 久久久久国色av免费观看性色| 国产精品永久入口久久久| 一本色道久久综合| 亚洲一卡二卡三卡四卡五卡| 欧美日韩在线视频一区二区| 最新国产成人av网站网址麻豆| 91久久午夜| 久久黄色小说| 国内成人精品2018免费看| 香蕉久久国产| 久久蜜桃资源一区二区老牛 | 夜夜嗨一区二区| 欧美日韩三级视频| 日韩网站在线观看| 亚洲一区综合| 国产精品网站在线播放| 亚洲欧美日本日韩| 久久久五月婷婷| 亚洲电影免费观看高清完整版在线观看| 久久婷婷av| 亚洲精品一区二区三区福利| 亚洲一区二区三区高清不卡| 性久久久久久久久久久久| 欧美精品一区二区在线观看| 亚洲国产精品第一区二区| 亚洲精品社区| 欧美午夜宅男影院| 欧美在线视频不卡| 亚洲成人资源| 亚洲欧美日韩国产综合| 国语自产在线不卡| 欧美激情亚洲国产| 亚洲在线播放电影| 欧美va亚洲va香蕉在线| 99国产精品视频免费观看| 国产精品久久久免费| 久久先锋资源| 亚洲视频日本| 欧美高清视频一区| 午夜精品一区二区三区在线视| 一区二区三区成人| 久久综合久久美利坚合众国| 亚洲欧洲精品天堂一级| 欧美视频一区二区三区四区| 噜噜噜91成人网| 国模 一区 二区 三区| 欧美国产视频一区二区| 亚洲欧美视频在线观看| 亚洲激情视频网站| 久久精品一区二区| 一区二区三区国产在线| 狠狠爱www人成狠狠爱综合网| 欧美日韩91| 裸体一区二区| 欧美一区在线看| 亚洲一级黄色| 妖精视频成人观看www| 欧美电影在线播放|