Jump to content
  • Advertisement
Sign in to follow this  

Bjam is bugging me

This topic is 3280 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

No matter what I do, bjam refuses to create a .pyd when I run it. I'm doing the tutorial they have on the boost website, but when I run it, the tutorial claims there should be a .pyd file created, but there isn't. (And the tutorial ignores this completely as a possibility). Also, the output shows just what the tutorial said it would. I'm running boost 1.38 on my Vista. (I remember trying on my XP, and I was at least able to create the .pyd file, but then my XP died. D:) Edit: Result from running bjam with "-n" as an argument
...patience...
...found 1280 targets...
...updating 3 targets...

file bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd.rsp

"bin\msvc-9.0express\debug\threading-multi\hello.obj"

"..\..\..\..\bin.v2\libs\python\build\msvc-9.0express\debug\threading-multi\boos
t_python-vc90-mt-gd-1_38.lib"

"python26.lib"

msvc.link.dll bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd

        call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
 >nul
link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /subsystem:console /out:"bin\msvc-9.0ex
press\debug\threading-multi\hello_ext.pyd" /IMPLIB:"bin\msvc-9.0express\debug\th
reading-multi\hello_ext.lib" /LIBPATH:"C:\Python26\libs"   @"bin\msvc-9.0express
\debug\threading-multi\hello_ext.pyd.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

msvc.manifest.dll bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd

        if exist "bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd.manife
st" (
            call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
 x86 >nul
mt -nologo -manifest "bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd.ma
nifest" "-outputresource:bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd
;2"
        )

capture-output bin\hello.test\msvc-9.0express\debug\threading-multi\hello

    set Path=C:\Program Files\boost\boost_1_38\bin.v2\libs\python\build\msvc-9.0
express\debug\threading-multi;C:\Program Files\boost\boost_1_38\libs\python\exam
ple\tutorial\bin\msvc-9.0express\debug\threading-multi;C:\Python26;C:\Python26\l
ibs;%Path%

    set PYTHONPATH=bin\msvc-9.0express\debug\threading-multi
 "C:/Python26/python" "hello.py"   > "bin\hello.test\msvc-9.0express\debug\threa
ding-multi\hello.output" 2>&1
    set status=%ERRORLEVEL%
    echo. >> "bin\hello.test\msvc-9.0express\debug\threading-multi\hello.output"

    echo EXIT STATUS: %status% >> "bin\hello.test\msvc-9.0express\debug\threadin
g-multi\hello.output"
    if %status% EQU 0 (
        copy "bin\hello.test\msvc-9.0express\debug\threading-multi\hello.output"
 "bin\hello.test\msvc-9.0express\debug\threading-multi\hello"
    )
    set verbose=0
    if %status% NEQ 0 (
        set verbose=1
    )
    if %verbose% EQU 1 (
        echo ====== BEGIN OUTPUT ======
        type "bin\hello.test\msvc-9.0express\debug\threading-multi\hello.output"

        echo ====== END OUTPUT ======
    )
    exit %status%

RmTemps bin\hello.test\msvc-9.0express\debug\threading-multi\hello

    del /f /q "bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd"

**passed** bin\hello.test\msvc-9.0express\debug\threading-multi\hello.test

    echo passed > "bin\hello.test\msvc-9.0express\debug\threading-multi\hello.te
st"

...updated 3 targets...

C:\Program Files\boost\boost_1_38\libs\python\example\tutorial>
I think the error has something to do with this.
msvc.link.dll bin\msvc-9.0express\debug\threading-multi\hello_ext.pyd

        call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
 >nul
link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /subsystem:console /out:"bin\msvc-9.0ex
press\debug\threading-multi\hello_ext.pyd" /IMPLIB:"bin\msvc-9.0express\debug\th
reading-multi\hello_ext.lib" /LIBPATH:"C:\Python26\libs"   @"bin\msvc-9.0express
\debug\threading-multi\hello_ext.pyd.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
But I don't understand what it means...

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!