How to build Boost in Windows and Linux

============
WIN7
============

Prerequisites
--------------
-  Visual Studio 2008 Professional with SP3

Build Steps
--------------
1. Unzipped boost_1_55_0.zip
2. Execute \boost_1_55_0\bootstrap.bat
3. Use the following command to generate files of release
   bjam toolset=msvc-9.0 variant=release threading=multi link=shared define=_BIND_TO_CURRENT_VCLIBS_VERSION
4. The binaries can be found in \boost_1_55_0\bin.v2

=============
SLEPOS11SP3
=============

Prerequisites
--------------
- GCC 4.3.4
- Linux 3.0.93

Build Steps
-------------
1. Unzipped boost_1_55_0.zip
2. Execute ./bootstrap.sh --with-libraries=all --with-icu --prefix=/usr/local/boost
3. Execute ./b2 variant=release toolset=gcc link=shared threading=multi runtime-link=shared install
4. The files can be found in \usr\local\boost


That's it!

Comments

Popular posts from this blog

Creating tray application and popup context menu in Windows

How to statically link applications to wxWidgets via Visual Studio 2008 and in Linux

How to put an image to wxPanel using wxWidgets