【ACE】Linux 和 Windows 下ACE的編譯.

來源:互聯網
上載者:User

Linux 和 Windows 下ACE的編譯

ACE下載:http://download.dre.vanderbilt.edu/

(1) Linux:

下載 ACE-5.8.0.tar.gz,解壓,解壓後進入 ACE_wrappers 目錄,以後操作如下:

cd ACE_wrappers;
mkdir -p /opt/ACE-5.8.0
mkdir -p objdir
cd objdir/
../configure --prefix=/opt/ACE-5.8.0/
make
make install
echo finished

安裝完畢,include, lib 安裝在 /opt/ACE-5.8.0/ 下.

(2) Windows

下載 ACE-5.8.0.zip

解壓已下載的壓縮包;我把它直接解壓到D盤下,即最後的主目錄結構為:D:\ACE-5.8.0\ACE_wrappers

在D:\ACE-5.8.0\ACE_wrappers\ace\ 目錄下建立名字為config.h的檔案,在該檔案中加入#include
"ace/config-win32.h"語句.

雙擊D:\ACE-5.8.0\ACE_wrappers\ace\ace_vc9.sln檔案,這時Visual Studio Team System 2008就開啟了該解決方案.

安裝完畢,include、lib等安裝在 D:\ACE-5.8.0\ACE_wrappers 下.

詳細參考:

ACE的構建(linux + windows)  http://book.csai.cn/group.asp?cmd=show&gid=3&pid=2760#add_comment

ACE在windows平台下的編譯安裝 http://www.cnblogs.com/dawen/archive/2011/05/20/2051588.html

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.