c++ - Using Boost Pre-build package -
i want use boost.thread library in c++ software i'm developing. since i'm complete newbie in c++, know if there differences between:
- downloading , building boost manually msvc9-x64
- using pre-built package: http://boost.teeks99.com/
option 1 seems painful...
as far can tell, these default builds , not patched or tweaked sources or anything.
if take care use correct version of binaries application target , version of vc (including service packs) , link against correct libraries (shared, static crt, debug, etc.) should absolutely fine.
also, since seems these packages don't contain boost headers, must take care , use correct version of headers.
concerning "differences". boost large , complex collection of libraries. software of size, has quite simple , straightforward build process, still, there many options , customizations can when building boost (e.g. can build boost.iostreams or without zlib , bzip2 support, build boost.regex or without unicode support, build boost.python against different versions of python, , more.) when build boost, have control on these options.
the defaults work people, people may need customizations. might want specific version of specific optional dependency, or library built way. that, need build boost , maintain build throughout project. not scary task!
if don't have special requirements, generic build fine you.
Comments
Post a Comment