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

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

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 閱讀(3019) 評論(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>
            亚洲人成亚洲人成在线观看图片| 亚洲欧美久久| 亚洲精品一区二区三区在线观看| 久久天天狠狠| 母乳一区在线观看| 看欧美日韩国产| 亚洲精品三级| 最近看过的日韩成人| 欧美国产成人精品| 一二三区精品| 亚洲欧美制服中文字幕| 欧美好骚综合网| 在线成人av网站| 亚洲欧美精品在线观看| 亚洲成人在线网| 久久久久久国产精品一区| 欧美大片在线看免费观看| 久久久久久久综合色一本| 亚洲一级特黄| 欧美影片第一页| 欧美在线看片a免费观看| 免费一级欧美片在线观看| 欧美激情在线观看| 在线一区二区三区做爰视频网站| 亚洲欧美精品在线观看| 午夜精品久久久久久久白皮肤| 国产精品成人一区| 国产一区二区三区精品久久久| 永久免费精品影视网站| 99精品视频免费观看| 99热在线精品观看| 香蕉精品999视频一区二区| 久久精品国产2020观看福利| 国产精品电影在线观看| 香蕉久久夜色精品国产使用方法| 国产精品一香蕉国产线看观看| 久久久久.com| 久久精品视频播放| 99国产精品99久久久久久| 亚洲精品一区二| 蜜臀久久99精品久久久久久9 | 国产一区二区三区成人欧美日韩在线观看 | 99精品国产热久久91蜜凸| 免费在线一区二区| 国产精品乱子乱xxxx| 99国内精品| 亚洲资源av| 国产精品亚洲综合色区韩国| 一区二区三区精品久久久| 亚洲黄色在线观看| 在线观看视频亚洲| 狼狼综合久久久久综合网| 一区二区在线看| 久久精品三级| 欧美午夜激情视频| 亚洲欧美日韩一区二区| 欧美激情精品久久久久久免费印度 | 亚洲午夜精品网| 欧美激情1区| 亚洲激情网站| 欧美深夜福利| 国产精品九九久久久久久久| 亚洲在线一区| 久久成人免费电影| 91久久综合亚洲鲁鲁五月天| 亚洲已满18点击进入久久| 国产欧美日韩精品a在线观看| 欧美一区激情| 亚洲人成网站777色婷婷| 欧美成人精品三级在线观看| 亚洲福利免费| 亚洲欧美日韩国产综合| 亚洲欧洲精品成人久久奇米网| av不卡免费看| 欧美成人影音| 亚洲婷婷综合色高清在线| 中文av一区特黄| 亚洲国产激情| 国产网站欧美日韩免费精品在线观看| 久久先锋影音av| 午夜精品影院在线观看| 亚洲成色www8888| 欧美电影在线| 亚洲大胆av| 亚洲精品日韩激情在线电影 | 久久手机免费观看| 国产一二三精品| 午夜免费在线观看精品视频| 亚洲视频电影图片偷拍一区| 欧美成人一区二区三区片免费| 欧美sm视频| 99精品国产一区二区青青牛奶| 麻豆91精品91久久久的内涵| 久久综合久久久| 亚洲黄色在线| 一区精品久久| 国产精品99久久久久久久久久久久| 亚洲欧洲午夜| 欧美~级网站不卡| 欧美国产日本| 久久综合给合久久狠狠狠97色69| 99视频超级精品| 日韩午夜在线电影| 一色屋精品亚洲香蕉网站| 国产一区二区三区高清播放| 欧美私人啪啪vps| 欧美日韩亚洲综合一区| 国产精品护士白丝一区av| 在线视频亚洲欧美| 欧美一级理论片| 国产美女在线精品免费观看| 久久精品国产综合精品| 欧美一区二区在线播放| 国产精品高清免费在线观看| 一区二区三区国产| 91久久精品国产91久久性色| 蜜臀久久久99精品久久久久久| 亚洲精品综合精品自拍| 亚洲私拍自拍| 日韩一区二区免费看| 国产精品mv在线观看| 午夜在线电影亚洲一区| 欧美成人a∨高清免费观看| 女女同性女同一区二区三区91| 欧美三区美女| 亚洲国产精品久久人人爱蜜臀| 午夜精品免费| 欧美激情在线播放| 亚洲欧美日本国产有色| 亚洲欧美日韩另类| 亚洲最新在线视频| 亚洲成色精品| 国产精品免费区二区三区观看| 亚洲欧美国产高清va在线播| 亚洲高清视频一区| 先锋影音久久久| 亚洲一级二级| 日韩视频永久免费| 久久精品国产69国产精品亚洲| 欧美精品18| 国产一区二区三区最好精华液| 国产精品家庭影院| 欧美va亚洲va香蕉在线| 女生裸体视频一区二区三区| 91久久综合亚洲鲁鲁五月天| 国产精品亚洲综合久久| 免费日韩av片| 毛片精品免费在线观看| 欧美一级理论片| 欧美日韩中文字幕精品| 亚洲国产精品国自产拍av秋霞| 久久精品一区二区国产| 亚洲视频大全| 国产精品久久久久999| 亚洲永久在线| 亚洲一区二区三区免费观看 | 亚洲一本大道在线| 久久精品成人欧美大片古装| 亚洲福利在线看| 亚洲国产另类 国产精品国产免费| 欧美伊人久久大香线蕉综合69| 美女视频黄 久久| 欧美日韩福利视频| 亚洲色图自拍| 欧美成年人视频| 亚洲欧美日韩第一区| 欧美精品在线视频| 亚洲国内欧美| 欧美成人久久| 久久亚洲春色中文字幕| 国产亚洲一区二区在线观看 | 亚洲电影在线看| 亚洲看片一区| 久久久精品国产免大香伊 | 亚洲精品一区二区三区福利| 亚洲成人在线网| 亚洲午夜激情网站| 亚洲国产精品久久久久秋霞蜜臀| 亚洲天堂视频在线观看| 久久久无码精品亚洲日韩按摩| 国产亚洲一级高清| 久久婷婷国产综合精品青草| 亚洲私人影院在线观看| 欧美三级视频在线观看| 亚洲一区二区三区免费视频| 亚洲一二区在线| 一区二区三区自拍| 亚洲国产日韩美| 国产精品区二区三区日本| 久久国产精品电影| 鲁大师成人一区二区三区| 亚洲每日更新| 欧美一级午夜免费电影| 亚洲精品偷拍| 午夜亚洲精品| 在线一区免费观看| 久久国产一二区| 亚洲综合精品| 欧美不卡在线| 亚洲国产精品久久久久秋霞影院 |