Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost Python Build Error
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2017-02-21 19:18:47


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 <
boost-build_at_[hidden]> 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
> <include>../../../../
> <location>.
> ;
>
> Finally, I copied the bjam.exe to libs/python/example, and executed
> bjam.exe and got the following error:
>
> C:\Users\Ben\Home\boost\boost_1_63_0\libs\python\example>bjam.exe
> ...patience...
> ...found 996 targets...
> ...updating 4 targets...
> msvc.link.dll 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
> if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
>
> ...failed msvc.link.dll 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!
>
> Thanks,
> Ben
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/
> mailman/listinfo.cgi/boost-build
>
>

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail


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