[C++-sig] Installation of boost.python using boost 1.55.0

Raghvendra Jain raghavendra.jain at gmail.com
Sat Mar 8 05:29:31 CET 2014


Hi all,


I've setup the PATH for C:\Python27, and execute the 'bootstrap' in
the boost folder. The error message displayed:

Building Boost.Build engine
"VCVARS32.BAT" is not recognized as commands or executable programs/bat file.



What should I do ?



Best Regards,


Raghav



On Sun, Mar 2, 2014 at 8:30 AM, Kevin Kunzmann <kevinkunzmann at gmx.net>wrote:

>  Hi!
>
> I just successfully built boost using bootstrap and .\b2 on Windows 8.1
> with msvc 11.0. I put it in C:\local\boost_1_55_0
>
> In my home directory I created  user-config.jam:
>
> #  MSVC configuration
> using msvc : 11.0 ;
>
> #  Python configuration
> using python : : C:/Users/Kevin/Anaconda ;
>
> as I use the anaconda python distribution. It seems to recognize it, as I
> do not get any ojections when invoking bjam in
> C:\local\boost_1_55_0\libs\python\example\tutorial, here is the complete
> output:
>
> C:\local\boost_1_55_0\libs\python\example\tutorial>bjam
> link.jam: No such file or directory
> ...patience...
> ...patience...
> ...found 1678 targets...
> ...updating 14 targets...
> common.mkdir bin
> common.mkdir bin\msvc-11.0
> common.mkdir bin\msvc-11.0\debug
> compile-c-c++ bin\msvc-11.0\debug\hello.obj
> hello.cpp
> msvc.link.dll bin\msvc-11.0\debug\hello_ext.pyd
> LINK : fatal error LNK1104: cannot open file
> 'boost_python-vc110-mt-gd-1_55.lib'
>
>
>         call "C:\Program Files (x86)\Microsoft Visual Studio
> 11.0\vc\vcvarsall.b
> at" x86 >nul
> link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /MACHINE:X86 /MANIFEST
> /subsystem:conso
> le /out:"bin\msvc-11.0\debug\hello_ext.pyd"
> /IMPLIB:"bin\msvc-11.0\debug\hello_e
> xt.lib" /LIBPATH:"C:\Users\Kevin\Anaconda\libs"
> @"bin\msvc-11.0\debug\hello_ex
> t.pyd.rsp"
>         if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
>
> ...failed msvc.link.dll bin\msvc-11.0\debug\hello_ext.pyd
> bin\msvc-11.0\debug\he
> llo_ext.lib bin\msvc-11.0\debug\hello_ext.pdb
> bin\msvc-11.0\debug\hello_ext.pdb.
> ..
> common.copy boost_python-vc110-gd-1_55.dll
>
> ..\..\..\..\bin.v2\libs\python\build\msvc-11.0\debug\boost_python-vc110-gd-1_55.
> dll
>         1 Datei(en) kopiert.
> ...skipped <p.>hello_ext.pyd for lack of
> <pbin\msvc-11.0\debug>hello_ext.pyd...
> common.mkdir bin\hello.test
> common.mkdir bin\hello.test\msvc-11.0
> common.mkdir bin\hello.test\msvc-11.0\debug
> ...skipped <pbin\hello.test\msvc-11.0\debug>hello for lack of
> <pbin\msvc-11.0\de
> bug>hello_ext.pyd...
> ...failed updating 3 targets...
> ...skipped 3 targets...
> ...updated 8 targets...
>
> C:\local\boost_1_55_0\libs\python\example\tutorial>
>
>  what went wrong here? what is link.jam and where do I get it from?
>
> best,
>
> Kevin
>
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig at python.org
> https://mail.python.org/mailman/listinfo/cplusplus-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20140308/8cffa54d/attachment.html>


More information about the Cplusplus-sig mailing list