|
Boost-Build : |
Subject: Re: [Boost-build] Issues building libraries
From: David Bergman (davidrbergman_at_[hidden])
Date: 2017-11-15 00:32:59
Steven,
Thank you for your help. Actually <BOOST_ROOT>/stage/lib id not come with boost nor was it made during the build. I've seen other blogs describing this on stackoverflow. So in short, there was nothing in the non existent folder. Rather than create it I decided to download and run the .exe for the libraries from the boost site. I was not originally aware that VS libs were provided.
I am still having issues running simple examples, now they are related to LNK2019. I'm not sure it deserves or requires another question. In the past when I get these I am easily able to fix it by reordering the #includes, or deleting repeated #includes, etc. But with a bunch of compiled code and headers I did not write I am not sure I can find the issue.Â
David
From: Steven Watanabe <watanabesj_at_[hidden]>
To: David Bergman <davidrbergman_at_[hidden]>; Boost.Build developer's and user's list <boost-build_at_[hidden]>
Sent: Tuesday, November 14, 2017 3:47 PM
Subject: Re: [Boost-build] Issues building libraries
AMDG
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
--with-iostreams toolset=msvc-14.1
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.
>
In Christ,
Steven Watanabe
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