|
Boost-Build : |
Subject: Re: [Boost-build] python examples in latest boost-trunk svn don't compile
From: Sandeep Gupta (gupta.sandeep_at_[hidden])
Date: 2008-11-10 13:59:52
I faced the similar problem and posted on boost user a few days back.
Invoking bjam without any options (as mentioned in the documentation)
failed.
However after some trial and error, i figured out that "bjam link=static
threading=multi" worked like a charm.
I tried but couldn't isolate the offending line.
Hope this helps.
On Mon, Nov 10, 2008 at 9:24 AM, John Reid <j.reid_at_[hidden]>wrote:
> I think this is symptomatic of either:
> 1) somehow I've misconfigured my build environment
> 2) a more general problem with the latest version of boost build in svn
>
> I've just run svn update for the first time in some time. Everything worked
> just fine until I did this. Now when I run
>
> bjam -q
>
> in boost-trunk\libs\python\example, I get the following error:
>
> <successful compilation deleted>
> msvc.link.dll
> ..\..\..\bin.v2\libs\python\build\msvc-8.0express\debug\threading-multi\boost_python-vc80-mt-gd-1_38.dll
> LINK : fatal error LNK1104: cannot open file
> '<l/msvc-8.0express/debug/threading-multi>python25.obj'
>
> call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"
> x86 >nul
> link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /subsystem:console
> /out:"..\..\..\bin.v2\libs\python\build\msvc-8.0
> express\debug\threading-multi\boost_python-vc80-mt-gd-1_38.dll"
> /IMPLIB:"..\..\..\bin.v2\libs\python\build\m
> svc-8.0express\debug\threading-multi\boost_python-vc80-mt-gd-1_38.lib"
> /LIBPATH:"C:\apps\Python25\libs" @"
>
> ..\..\..\bin.v2\libs\python\build\msvc-8.0express\debug\threading-multi\boost_python-vc80-mt-gd-1_38.dll.rsp
> "
> if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
>
> ...failed msvc.link.dll
> ..\..\..\bin.v2\libs\python\build\msvc-8.0express\debug\threading-multi\boost_python
> -vc80-mt-gd-1_38.dll
> ..\..\..\bin.v2\libs\python\build\msvc-8.0express\debug\threading-multi\boost_python-vc
> 80-mt-gd-1_38.lib...
> ...failed updating 1 target...
> ...updated 35 targets...
>
> Can anyone else confirm whether this works for them? I'm on Windows with
> msvc 8.0 express.
>
> Why would it be trying to link with a file with this strange name
> l/msvc-8.0express/debug/threading-multi>python25.obj
> anyway?
>
> Thanks,
> John.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
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