There is a bug in building BPL stuff (all of it) that you just ran into.. And that I'm trying to fix ATM.

On Tue, Feb 21, 2017 at 11:35 AM, B Ku via Boost-build <> wrote:
Hi Guys,

I am trying to get the Boost Python example working.  

I am running Windows.  I downloaded the source code for boost_1_63_0, ran the boostrap.bat file to generate b2.exe and bjam.exe.  Then I executed b2.exe to build libboost*.lib in state/lib.

I then modified and placed the user-config.jam file in the %HOMEDRIVE%%HOMEPATH% directory as follows:

# Configure specific msvc version (searched for in standard locations and PATH).
using msvc : 12.0 ;

# Configure specific Python version.
using python
: 3.5
: C:\\Users\\Ben\\AppData\\Local\\Programs\\Python\\Python35\\python.exe
: C:\\Users\\Ben\\AppData\\Local\\Programs\\Python\\Python35\\include
: C:\\Users\\Ben\\AppData\\Local\\Programs\\Python\\Python35\\libs
: <toolset>msvc

Then, I modified the libs/python/example/tutorial/Jamfile as follows, so include .h files can be found:
project tutorial
  : requirements

Finally, I copied the bjam.exe to libs/python/example, and executed bjam.exe and got the following error:

...found 996 targets...
...updating 4 targets... tutorial\hello_ext.pyd
LINK : fatal error LNK1181: cannot open input file 'boost_python.lib'

        call "C:\Users\Ben\AppData\Local\Temp\b2_msvc_12.0_vcvarsall_x86.cmd" >nul
link /NOLOGO /INCREMENTAL:NO /DLL /NOENTRY /DEBUG /MACHINE:X86 /MANIFEST /subsystem:console /out:"tutorial\hello_ext.pyd" /IMPLIB:"tut

...failed tutorial\hello_ext.pyd tutorial\hello_ext.pdb tutorial\hello_ext.pdb...
...skipped <ptutorial>hello for lack of <ptutorial>hello_ext.pyd...
...failed updating 2 targets...
...skipped 2 targets...

Is there a way to specify where the .lib files are supposed to be?  

Am I missing a step?  By default, b2 generates lib files with this name format: libboost*.lib, not boost_python.lib.  

Thank you very much for your help in advance!


Unsubscribe & other changes:

-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams -
-- rrivera/ (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail