Boost logo

Boost-Build :

Subject: [Boost-build] vcproj to
From: Andy Schweitzer (a.schweitzer.grps_at_[hidden])
Date: 2009-03-29 14:37:38

I am trying to convert a simple vcproj to a working bjam file. I can't
seem to pass LIBPATH to mscv linker, and I get link errors. Any idea how
to fix this? I looked the online doc and haven't seen a
direct explanation. Maybe I'm not looking carefully enough?

Here's my jamroot.jam:
exe fractionsX
        : ../fractions.cpp ../fractions_misc.cpp ../stdafx.cpp
        : <include>../../include
        : <include>C:/nan/boost/boost_1_38_0
        : <linkflags>"/LIBPATH:C:/nan/boost/boost_1_38_0/stage/lib"

And here's the output of bjam from same directory as jamroot.jam:
compile-c-c++ bin\msvc-9.0\debug\stdafx.obj
stdafx.cpp bin\msvc-9.0\debug\fractionsX.exe
LINK : fatal error LNK1104: cannot open file

         call "c:\Program Files\Microsoft Visual Studio
9.0\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console

...failed bin\msvc-9.0\debug\fractionsX.exe...
...failed updating 1 target...



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at