Boost logo

Boost-Build :

From: Denis Bilenko (denis.bilenko_at_[hidden])
Date: 2005-12-05 13:08:08

I am trying to build Boost.Python examples (getting_started1 and 2) under
windows with BBv2

I tried 1.33.0, 1.33.1beta and lattest version of boost-build from cvs (though
I still use released version of boost, 1.33.1beta) and all I achieved is some
variation in bjam's error reports.

Here's a piece of bjam output:

% bjam --v2 msvc-7.1 bin\msvc-7.1\debug\
   Creating library bin\msvc-7.1\debug\getting_started2.lib and object

MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main
referenced in function _mainCRTStartup
bin\msvc-7.1\debug\ : fatal error LNK1120: 1 unresolved

    call "D:\VisualStudio.NET2003\Vc7\bin\vcvars32.bat" >nul
link /NOLOGO /DEBUG /subsystem:console
/out:"bin\msvc-7.1\debug\" /INCREMENTAL:NO
/LIBPATH:"D:\Program Files\Python241\libs"

...failed bin\msvc-7.1\debug\

...removing bin\msvc-7.1\debug\getting_started2.lib
...failed updating 4 targets...
...updated 20 targets...

Why "subsystem:console"? why ".so"?

using python : 2.4 : "D:/Program Files/Python241" ;
using gcc ;
using msvc : 8.0 : "D:/VisualStudio8/VC/bin/cl.exe" ;
using msvc : 7.1 : "D:/VisualStudio.NET2003/VC7/bin/cl.exe" ;

jamfile (unchanged):
project : requirements <library>/boost/python//boost_python ;
python-extension getting_started1 : getting_started1.cpp ;
python-extension getting_started2 : getting_started2.cpp ;

path-constant BOOST_ROOT : D:/denis/code/boost_1_33_1 ;
use-project /boost : $(BOOST_ROOT) ;

There are some other issues:
1. Unusual big ammount of warnings in Boost.Python headers (with lattest
boost-build only)
2. bjam rebuilds everything from scratch all the time

Is it my problem or Boost.Python supposed to work with v1 only?

Thank you for your attention!

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