   boost C++ Lib - How do you use install it? [solved]
  Hi there.... I have been looking at (and recommended to look at) a libary called boost. As I understand it is a collection kinda like STD that comes with c++. Among its features that I am interested in is the Multi Array, the Regular Expression lib and the TokenizerThe thing is I am very new to programming and do not understand the install instructions... I am using VS2005 and would like some help in getting the boost libs working in it... I couldn't find any place on the boost web site to ask these questions... .. . .[Edited by - jyujinkai on December 16, 2005 9:35:08 PM]
  Most of the components are implemented in header files, so you can just download it and put the headers into your compiler's include directory. However, some need to be built using their tools, and this is the part that has always confused me. I have not been able to use any components that need to be built because I always get errors.   ;  Here you go, a perfect tutorial about installing Boost;  @HellRiZZer - that is the tutorial that I can not understand :(   ;  Boost 1.33.1 will not cleanly build on VS 2005.In any case this is the command line I use:bjam install --layout=system --libdir=lib/ --includedir=include/Of course you need bjam (boost Jam) in your path.;  Boost is worth the effort, although there is a learning curve.  Check out a book on boost by Karlsson if you are interested in how to use some of the libraries.To install:Step 1:  Download the zip and unzip it.Step 2:  Get the prebuilt jam executable and unzip it.  Put that directory in your path.  (Edit Path by using Control Panel...System..Advanced....Environemnt Variables)Step 3:  Open Visual Studio command prompt.  Browse to boost directory.  Run:   bjam "-sTOOLS=vc-8_0" install    (if using VS2005)That will build all the libraries.To use them in your project, edit your directories within VS using:Tools...Options....Projects and Solutions...VC++ Directories.The drop-down on the right controls whether you are changin include directories or lib directories.  e.g.  Add the boost directory to the list of include directories.Hope that helps....Happy Coding;Quote:Original post by jyujinkai@HellRiZZer - that is the tutorial that I can not understand :(Perhaps you could tell us what parts of the tutorial confuse you.   ;Quote:Original post by Anonymous PosterBoost 1.33.1 will not cleanly build on VS 2005.Umm.. I just built it yesterday in VS2005 with no errors whatsoever.;Quote:Original post by SnakeHuntaQuote:Original post by Anonymous PosterBoost 1.33.1 will not cleanly build on VS 2005.Umm.. I just built it yesterday in VS2005 with no errors whatsoever.Maybe he's talking about the deprecation warnings? Although I wonder why that would single out v.1.33.1...   ;  @AzCoder - Ok everything seamed to work correctly.... when I added the directory to VC2005, I chose the root of the unarchived pack... is that correct?Also once it isinstalled do I use #include <boost>using namespace boost;??   