Compiling boost

| | Comments (0)

Some notes and considerations while compiling boost library for windows and linux.

bjam executable gives and "segmentation fault" error on amd64.redhat

The problem is described in the following link: http://svn.boost.org/trac/boost/ticket/977

Auto-link

Boost have a feature that automatically determine which libraries to link and "require" them using pragma directives. In dist-0707 this feature will be disabled, and all libraries must be explicitly added to the project.

Library names

I found out that the build process for boost have an option that simplifies the library names. We will use this options from no own:

Old name: boost_python-vc80-mt-1_33_1

New name: boost_python-mt

Builds flags for boost (in builds20)

When creating the projects SConstruct the user must add boost flags to include the libraries in the LIBS. There's a flag for each compiled library:

  • boost_python: Includes boost-python library: This existed before as boostpython
  • boost_regex
  • boost_filesystem
  • boost_date_time

Leave a comment