| Results Oriented Thinking (Future dated) |
[Jan. 16th, 2029|10:47 pm] |
|
This is a closed journal. If you are interested in reading some rather mundane ramblings about the vicisitudes of life, leave a comment here. |
|
|
| Directions for installing boost under XP |
[Dec. 20th, 2006|10:05 am] |
I'm making this public because these sort of simple instructions should be available somewhere on the web. As it is, the instructions for building and installing boost on an XP machine are sufficiently cryptic that having a representative example took like 20 minutes for me to dig out.
download and extract boost and bjam
$ ./bjam.exe "-sTOOLS=vc-8_0" "-sBUILD=<define>_SCL_SECURE_NO_DEPRECATE" "--prefix=w:/code/boost/" "-sBUILD=debug release static/dynamic" stage
$ ./bjam.exe "-sTOOLS=vc-8_0" "-sBUILD=<define>_SCL_SECURE_NO_DEPRECATE" "--prefix=w:/code/boost/" "-sBUILD=debug release static/dynamic" install
add include dir to C++->General: w:/code/boost/include/boost-1_33_1/
add library dir Linker->General: w:/code/boost/lib
add #define BOOST_LIB_DIAGNOSTIC to C++->Preprocessor, so that it'll tell you which library it want to link to
#include <boost/regex.h> in source file
compile and pray
It may be that the above options didn't generate the appropriate library for linking, so you may have to dork around with the -sBUILD options to get it to generate the correct library file(s). |
|
|