Did build of Boost succeed - lib vs. stage/lib?

Hello all, I am trying to build the Boost libraries version 1.55.0 with Visual Studio 2010 Express under Windows XP. Following the instructions in the documentation, I have unpacked the source code distribution, opened a Visual Studio command line window, and executed bootstrap .\b2 I haven't noticed any errors, and I was told in the end that I had successfully built the Boost libraries. So far, so good. I then tried to build the example program in section 6 of the Getting started guide. Section 6.1 instructs to add "C:\Program Files\boost\boost_1_55_0\lib" (in my case E:\boost_1_55_0\lib) to the list of Additional Library Directories. However, I do not have a lib directory in E:\boost_1_55_0?! I tried to build the example program and then searched for the library file libboost_regex-vc100-mt-gd-1_55.lib that Visual Studio was failing to find. I found it in E:\boost_1_55_0\stage\lib instead of E:\boost_1_55_0\lib. Adding this directory to the list of Additional Library Directories allowed me to build and execute the example program successfully. However, I am wondering now whether my build worked correctly or not. I am trying to avoid running into subtle and hard to debug problems later. Does anyone know if or what went wrong with my build? What is the stage directory and is it safe to use it? Thank you very much for your help and best wishes Lutz

AMDG On 11/14/2013 05:10 PM, Lutz Gehlen wrote:
<snip> I then tried to build the example program in section 6 of the Getting started guide. Section 6.1 instructs to add "C:\Program Files\boost\boost_1_55_0\lib" (in my case E:\boost_1_55_0\lib) to the list of Additional Library Directories. However, I do not have a lib directory in E:\boost_1_55_0?!
I tried to build the example program and then searched for the library file libboost_regex-vc100-mt-gd-1_55.lib that Visual Studio was failing to find. I found it in E:\boost_1_55_0\stage\lib instead of E:\boost_1_55_0\lib. Adding this directory to the list of Additional Library Directories allowed me to build and execute the example program successfully.
However, I am wondering now whether my build worked correctly or not. I am trying to avoid running into subtle and hard to debug problems later. Does anyone know if or what went wrong with my build? What is the stage directory and is it safe to use it?
stage/lib is the correct directory. If you look at the end of the b2 output, it should say so. In Christ, Steven Watanabe

Hello Steven, thank you for your reply. On Friday 15.11.2013 18:50:22 Steven Watanabe wrote:
On 11/14/2013 05:10 PM, Lutz Gehlen wrote:
However, I am wondering now whether my build worked correctly or not. I am trying to avoid running into subtle and hard to debug problems later. Does anyone know if or what went wrong with my build? What is the stage directory and is it safe to use it?
stage/lib is the correct directory. If you look at the end of the b2 output, it should say so.
You are right, of course; thank you for pointing that out. I was so focused on following the documentation that I did not notice the this remark at the end of the b2 output. This means, however, that there is a mistake in the documentation, right? In sections 6.1 and 6.2 (http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html#link- from-within-the-visual-studio-ide and http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html#or- link-from-the-command-prompt , respectively), the paths should be C:\Program Files\boost\boost_1_55_0\stage\lib instead of C:\Program Files\boost\boost_1_55_0\lib Or am I missing something? Best wishes, Lutz
participants (2)
-
Lutz Gehlen
-
Steven Watanabe