Developer: Boost CPP libraries

From SPCTools

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:20, 19 December 2006
Jtasman (Talk | contribs)

← Previous diff
Revision as of 18:40, 5 January 2007
Jtasman (Talk | contribs)
(Static vs Dynamic Libraries)
Next diff →
Line 31: Line 31:
from top-level source directory (dir containing "boost-build.jam" file), run: from top-level source directory (dir containing "boost-build.jam" file), run:
 + C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat
C:\boost-jam\boost-jam-3.1.13-1-ntx86\bjam.exe "-sTOOLS=xxxxx" install C:\boost-jam\boost-jam-3.1.13-1-ntx86\bjam.exe "-sTOOLS=xxxxx" install
Line 36: Line 37:
Note, this takes a *very* long time. Note, this takes a *very* long time.
- 
====Visual Studio 2005==== ====Visual Studio 2005====

Revision as of 18:40, 5 January 2007

Contents

What is it?

A very useful C++ standards package. www.boost.org

Installing

Linux

All modern distributions have a Boost-libraries package

Windows

Static vs Dynamic Libraries

see http://www.boost.org/more/getting_started.html#Build_Install :

Download boost-jam (ex: uncompress to C:\boost-jam\boost-jam-3.1.13-1-ntx86)

Download boost source (ex: uncompress to C:\boost-src\boost_1_33_1)

By default, installation is C:\Boost\include and C:\Boost\lib


  • *.dll Dynamic library version.
  • *.lib Import library for the dll.
  • lib*.lib Static library version.


open windows shell (not a cygwin shell): Start->Run... "cmd.exe"

from top-level source directory (dir containing "boost-build.jam" file), run:

C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat
C:\boost-jam\boost-jam-3.1.13-1-ntx86\bjam.exe "-sTOOLS=xxxxx" install

Where "xxxxx" is vc-8_0 for Studio 2005 or msvc for VC6.

Note, this takes a *very* long time.

Visual Studio 2005

see http://www.boost.org/tools/build/v1/vc-8_0-tools.html regarding disabling "deprecated" warnings when using the boost libraries.


Visual Studio 6

Problems: serialization and program options do not build

Personal tools