Hey,
thanks, still not working - I suspect it's the include and library paths
for the command line compiler now, how do I add my boost directory to them?
Output is still:
C:\local\boost_1_55_0\libs\python\example\tutorial>bjam
link.jam: No such file or directory
...patience...
...patience...
...found 1678 targets...
...updating 6 targets...
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.
..
...skipped <p.>hello_ext.pyd for lack of
<pbin\msvc-11.0\debug>hello_ext.pyd...
...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...
C:\local\boost_1_55_0\libs\python\example\tutorial>
do I have to worry about link.jam?
best,
Kevin
On 02.03.2014 19:34, Nikolay Mladenov wrote:
IIRC when you build boost you have to use --with-python as bjam
option or the python libs are not built
On Sat, Mar 1, 2014 at 6:30 PM, Kevin Kunzmann <kevinkunzm...@gmx.net
<mailto:kevinkunzm...@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@python.org <mailto:Cplusplus-sig@python.org>
https://mail.python.org/mailman/listinfo/cplusplus-sig
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig