Compiling boost libraries

closed account (2NywAqkS)
I have been trying to compile a static version of the boost libraries, however when I try to launch the program it says
fatal error LNK1104: cannot open file 'libboost_serialization-vc100-mt-s-1_53.lib'
I have checked in the boost/stage/lib folder and that file is not there. I compiled boost with
b2 link=static
yet the file still isn't there. Can someone explain what I'm doing wrong or at least provide a download to the file?

Thanks,
Rowan.
Did you riun bootstrap specify the right toolset?

I've use this on Linux to build static libs for the GNU and Intel compilers:
1
2
3
4
5
./bootstrap.sh --with-toolset=gcc
./b2 -a threading=multi variant=release link=static

./bootstrap.sh --with-toolset=intel-linux
./b2 -a threading=multi variant=release link=static
Last edited on
closed account (2NywAqkS)
I'm using visual studio so I don't need to specify a tool-set right? Why is This program even asking for that library? I have a very similar program that doesn't ask for that particular library file.
closed account (2NywAqkS)
dw,

I was running /MT instead of /MD... or something like that.
Topic archived. No new replies allowed.