| 整合BDS 2006/C++Builder 2006 和Boost 1.33.x | ||||||||||
|
最近我在準備一些有關C++Builder的東西,需要使用到Boost,剛好也有一些朋友詢問我如何在BDS 2006/C++Builder 2006中使用Boost架框。於是我花了一些時間整合BDS 2006/C++Builder 2006和最新的Boost 1.33.x版,以便讓我能夠在BDS 2006/C++Builder 2006中使用Boost。在這裡我整理出來讓需要使用的朋友參考一下。
要整合BDS 2006/C++Builder 2006和最新的Boost 1.33.x版,您需要進行下面的步驟: n 取得Boost 1.33.x並且解開到一個目錄,在本篇文章中假設您是解開在D:/Boost133的目錄中 : 這兒我假設您已經知道怎麼做了 n 取得BCB 2006 For Boost的Patch,您可以在SourceForge上找到或是在這下載 http://liwei.csdn.net/down/bcbboost-1_33_1-5_8_2-0.4.zip 解開這檔案並且取代Boost 1.33.x版中的內容 n 取得或是自己Build bjam.exe。您也可以在這裡下載它 : http://liwei.csdn.net/down/boost-jam-3.1.13-1-ntx86.zip 把Bjam.exe解開到一個目錄並且把這個目錄加入到您的Path之中 n 到 CD到D:/Boost133,並且執行下面的命令 set BCCROOT=您的BDS 2006/C++Builder 2006的安裝目錄,例如 set BCCROOT=D:/Program Files/Borland/BDS/4.0 bjam “-sTOOLS=borland-5_8_2” install 接著耐心的等待C++Builder 2006的編譯器Build Boost的函式庫,結束之後會在D:/Boost133/bin/boost目錄之中產生靜態和動態連結函式庫。
現在就可以使用Boost函式庫,例如我先把所有Build出來的靜態函式庫拷貝到e:/seminars/bcb2006ex/boost_1_33_1/allbins目錄下,接著建立一個Console Application專案,撰寫一個Boost範例如下: 啟動Console Application專案的Options對話盒,在Include search path中加入您的boost目錄,例如D:/Boost133: 再把Boost函式庫的目錄加入到Library search path中: 最後編譯此專案,然後就可以在DOS命令列中執行了,例如下面就是我執行Boost函式庫中範例的結果:
很簡單吧,Have fun,have a good BDS 2006/Boost day! | ||||||||||
|
|
相关推荐
BDS2006(即Delphi2006)FTP下載地址 <img src="/images/sunny.gif
BDS2006(即Delphi2006)FTP下載地址,速度非常地快
C++ Builder 2006
1.Borland Developer Studio 2006 完整安装包 2.BDS2006_arch_upd1 3.bds2006_en_arch_upd2 4.BDS2006HotfixRollup 5.BDS2006Upd2_HotFix 安装update32.需要注册,在完整版本安装包中找到bds.exe sanctuarylib.dll 覆盖到安装目录中
最新Ehlib 5.2.84(含完整源代码,支持delphi XE)
Ehlib 是著名的数据库连接控制,版本为5.2.84,DBgrid增强VCL控件;支持多表头,多固定列,按表头排序,支持合计列,并支持直接打印。可以和PB的ataWindow媲美。 本版本含完整源代码,支持以下 IDE: Delphi 5,6,7,2005 C++Builder 5,6 BDS 2006 (Delphi 2006, C++Builder 2006) Delphi 2007 RAD Studio 2009 (Delphi 2009, C++Builder 2009) Embarcadero RAD Studio 2010 (Delphi 2010, C++Builder 2010) 本人已在Delphi XE中运行通过,在本人编制的进销存软件中应用完全正常。 注:Delphi 2010、XE里面安装不要修改bpl文件的输出路径,采用默认值,否则安装难以成功。 Version 5.2 + Added feature to group data in the DBGridEh. It is allowed to make grouping at run-time and design-time. Grouping works only when the grid is connected to TMemTableEh dataset. Use next subproperties of Grid.DataGrouping property to adjust grouping Active: Boolean - Set this propery true to active grouping. DefaultStateExpanded: Boolean - defines initial expapnding/collapsing state of new created elements of the grouping tree. GroupLevels: TGridDataGroupLevelsEh - Collection of group levels. Use this property to create template of the grouping. GroupPanelVisible: Boolean - Set this property to True to show special panel at the top part of the grid. Then the panel is thisible it is allowed to form group levels by mouse. Drag title of the requaried column to the group panel and drop it onto panel. Font: TFont - Controls the attributes of the default font of group records in the grid. Color: Tcolor - Default background color of the group records. See demonstration project of grouping in Demos\DataGrouping directory. Version 5.1 * The type of RowPanel property was changed. Instead of Boolean type, now it is an object property with subproperies: Active: Boolean - Defines if it is possible to place cells under each over and if every propetry can have personal hight. + NavKeysNavigationType: TGridRowPanelNavKeysNavigationTypeEh - defines the order of navigation over cells in the grid when keys Up, Down, Left, Right are pressed. rpntRowT
C++ builder 2006使用笔记
//初始化GDI+ if (Gdiplus::Ok != GdiplusStartup(&GdiplusToken, &GdiplusStartupInput, NULL)) { return ; } //光标变成手掌 Image1->Cursor=crHandPoint; //加载XML TXMLDocument *XmlNetbar; XmlNetba
C++Builder 2007 vs 2006 代码细节比较
小试了几个项目在由2006转到2007中编译,总的来说,编译速度是有了提升,但由于在编写代码的习惯问题,我将我所碰到的一些细节问题总结如下:1、数据类型转换,2007 不如 2006 聪明, 特别是尽量小地使用变量,直接在计算式内嵌套函数时,如:(1) Variant 数据(Currency 类型) 转换成 Currency // 2006 可以这样写 Currenc
C++ Builder2006控件的安装方法
C++ Builder2006控件的安装方法 作者: 来源: 阅读 543 人次 , 2006-4-29 10:13:00 一、安装步骤: 1、拿到源码,要全部源码,不要那种只有部分源码的包。 2、找到BPK文件,如果只有DPK文件,那就用DPK2BPK程序(网上下载)生成一个BPK文件,如果生成失败,那就自己新建一个包(BPK或bdspr
Borland Developer Studio 2006 Architect Update 1(10.0.2166.2
Borland Developer Studio 2006 Architect Update 1安装完成后C++Builder会成为正式版,并且版本更新到:10.0.2166.28377
C++Builder6.0绿色精简版1.06(38M)a(del)
个人制作的一个BCB精简版,满足了我在网吧编程的需要,我想它可以给大家带来一些方便。其中还有许多的错误,但总归来说还能用。 这个版本保留了大多数的通用控件,不支持数据库。安装办法,直接解压到任意目录,运行install进行安装。
Borland C++ Builder 6.0 Enterprise 7CD光盘镜像:SETUP-CD2.ISO
Borland C++ Builder 6.0 Enterprise,可做收藏、学习、研究。
Borland C++Builder 2006 新鲜出炉
对于一个要求可靠的、高性能应用的C++开发者而言,这个版本绝对值得期待!Borland C++Builder 2006,针对Windows平台下C++集成开发环境的终结版本。C++Builder 2006采用了最新的RAD和ALM特性,提供更新和更加精炼的IDE环境,以适应复杂的C/C++开发任务。利用“所见即所得”的Web应用开发工具,新的强劲的数据引擎,最新的IDE生产力特性,
【下载】C++Build 6 下载地址(2006-06-19)
【下载】C++Build 6 下载地址(2006-06-19)http://shdxxz.webeyp.com/BCB6.rar
在 C++Builder 2006 中使用 Indy10 控件!
首先,这是个 C++ Builder 2006 的 BUG!C++Builder 的大部份控件均从 Delphi 的 .pas 而来。从 .Pas 编译生成的 .hpp 会丢失部分 struct 信息,这点从编译 IdWinsock2.pas 生成 IdWinsock2.hpp 中得到了证实,而宝兰提供的 Update1 中更新的 IdWinsock2.hpp 中却提示不能使用在 C++B
C++ builder全系列下载链接
C++Builder 版本下载合集更新至10.4.1 - C++ Builder XE7 - 硬汉嵌入式论坛 - Powered by Discuz! (armbbs.cn)
1638




被折叠的 条评论
为什么被折叠?



