Subject: Re: [Boost-build] Issues building libraries
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-11-14 20:47:41
On 11/14/2017 01:06 PM, David Bergman via Boost-build wrote:
> I am trying to build the libraries for boost. I've used boost in C++ programs in the past but only the header files.
> My interest in using the libs has to do with the desire to use gnuplot_iostream for plotting and this depends on boost iostream, system, and filesystem libraries.I've run bootstrap, b2, and didn't receive any error messages.
> When I try to build I get the link error: LNK1104 cannot open file 'libboost_iostreams-vc141-mt-gd-1_65_1.lib'.
To build that specific library, the command is:
b2 link=static threading=multi runtime-link=shared debug
In theory, this variant is supposed to be built by default.
> I'm using Visual Studio 2017 Community edition and "believe" I've added include and linker directories properly.I did a file search for *.lib and libboost* in the boost dir and found no such files anywhere. So, clearly they did not get created.I have not moved anything from it's original location within the file directory as delivered from the boost site and unzipped.
The libraries are created in <BOOST_ROOT>/stage/lib
What do you have there?
> I've found several bits and pieces of advice on how to proceed and each seems to work but none have completely fixed the issue.Is there a step by step procedure for building the libraries, and including them in a project? I expect no for the latter as that is IDE version dependent, but I hope the answer is yes to the former.
> By the way, whatever is listed on the Boost site does not work w/o some additional search for problem fixes.
> Thank you in advance for your help.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk