[C++-sig] Cant link Boost Python Examples

Jimmy Rizos jrizos at 400capital.com
Thu May 16 16:33:55 EDT 2019


Hello,

As I am sure others have run into this problem, surprisingly there is very little actually describing a solution.
I just built boost 1.70 yesterday but has still not been able to successfully build the tests.  Below is the output I get.  I cant find a boost_python library anywhere.
I am using 32bit python 3.5 through anaconda.

Any advice would be appreciated.
Thanks

C:\Development\boost_1_70_0\libs\python\example\quickstart> ..\..\..\..\b2.exe toolset=msvc link=shared --verbose-test test
...found 34 targets...
...updating 9 targets...
msvc.link.dll extending.pyd
LINK : fatal error LNK1181: cannot open input file 'boost_python.lib'

        call "..\bin\standalone\msvc\msvc-14.1\msvc-setup.bat"  >nul
link /NOLOGO /INCREMENTAL:NO /DLL /NOENTRY /DEBUG /MACHINE:X86 /MANIFEST /subsystem:console /out:"extending.pyd"  /LIBPATH:"C:\Miniconda3\libs"   @"extending.pyd.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

...failed msvc.link.dll extending.pyd extending.pdb...
...skipped <p.>test_ext for lack of <p.>extending.pyd...
compile-c-c++ embedding.obj
embedding.cpp
C:\Development\boost_1_70_0\boost/python/detail/wrap_python.hpp(57): fatal error C1083: Cannot open include file: 'pyconfig.h': No such file or directory

    call "..\bin\standalone\msvc\msvc-14.1\msvc-setup.bat"  >nul
cl /Zm800 -nologo @"embedding.obj.rsp"

...failed compile-c-c++ embedding.obj...
...skipped <p.>test_embed.exe for lack of <p.>embedding.obj...
...skipped <p.>test_embed.run for lack of <p.>test_embed.exe...
...failed updating 3 targets...
...skipped 5 targets...

C:\Development\boost_1_70_0\libs\python\example\quickstart>

Jimmy Rizos
Managing Director, Chief Technology Officer

[cid:image001.gif at 01CC76C9.E6CF4870]
400 Capital Management LLC  |   510 Madison Avenue   |   17th Floor   |   New York, NY 10022
o  212.767.3136  |  m  917.716.4108  |  jimmy.rizos at 400capital.com<mailto:jimmy.rizos at 400capital.com> | www.400capital.com<http://www.400capital.com>



This email, together with its attachments, if any, and the information contained therein is confidential and is intended solely for the recipient. Delivery of this email or any of the information contained herein to anyone other than the recipient or his designated representative is unauthorized and any other use, reproduction, distribution or copying of this email or the information contained herein, in whole or in part, without the prior written consent of 400 Capital Management LLC or its affiliates is prohibited. 400 Capital Management LLC accepts no liability for any errors or omissions arising as a result of this transmission. No assurances are given that this e-mail message and any attachments are free of viruses and/or other harmful code, and 400 Capital Management LLC accepts no liability for any damage sustained as a result of such viruses or harmful code. The contents of this e-mail message and any attachments should not be regarded as a solicitation or offer to buy or sell any securities. This email and the information contained herein shall not constitute an offer to sell or the solicitation of an offer to purchase an interest in a fund. Any such offer or solicitation will be made to qualified investors only by means of delivery of appropriate documentation, including without limitation, offering memoranda and related subscription agreement as applicable. Securities shall not be offered or sold in any jurisdiction in which such offer, solicitation or sale would be unlawful until the requirements of the laws of such jurisdiction have been satisfied. Any performance information contained herein may be unaudited and estimated. Past performance is not indicative of future results. If you have received this message in error, please notify the sender immediately and delete this message and any related attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20190516/799cb300/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1059 bytes
Desc: image001.gif
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20190516/799cb300/attachment-0001.gif>


More information about the Cplusplus-sig mailing list