Compiling boost libraries

Mar 6, 2013 at 8:54pm
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.
Mar 6, 2013 at 9:33pm
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 Mar 6, 2013 at 9:34pm
Mar 6, 2013 at 10:29pm
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.
Mar 6, 2013 at 10:31pm
closed account (2NywAqkS)
dw,

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