Re: [Boost-users] Boost.Build -- how to get started?
Arkadiy Vertleyb,
This is a programmer from China. My poor English maybe bore you ,
but all the steps of building boost is here(as far as I know ).
I can answer your problem , because i am a newer also.
It took me several days to build the boost.
I don't know your boost version and your platform situation.
Now let me tell you how I do it:
I 'm using boost 1.32.0 and stlport 4.6.2. In msvc71 enviroment.
For the compatibility sake , i perfer the jam come with boost package.
So the first step is to build the jam(using msvc compiler ).
1) run vcvars32.bat(you can find it in ms visual studio .) to set up the msvc environment variables.
2) goto BOOST_ROOT/tools/build/jam_src dir to run the file build.bat.
3) when compile ok , and you can get the result in BOOST_ROOT\tools\build\jam_src\bin.ntx86
4) please copy the Bjam.exe to the BOOST_ROOT\ dir.
OK , the prepare was done! Let go on to build the boost lib.
1) if you close the cmd wnd in the last step , please open it and run vcvars32.bat again.
2) write a bat file and copy it to the BOOST_ROOT\ (the file content is as follow )
some comment may not display correctly because it was writen in Chinese^_^
/**************************************************************************************/
rem install_msvc71stlport.bat
SET TargetDir=E:\Program_Files\Develop\Boost\boost_1_32_0
SET Toolset=vc-7_1-stlport
SET STLPORTPAHT=E:\Program_Files\Develop\STLport-4.6.2
SET STLPORTVERSION=4.6.2
rem ================================
rem ??????????????
SET OLD_LIB=%LIB%
SET LIB=%LIB%;%STLPORTPAHT%\lib
rem ================================
Bjam "-sBUILD=debug release <runtime-link>static/dynamic <threading>single/multi
Hi all,
I am trying to use Boost.Build to build my own project. However I found out that the documentation, while doing a good job in explaining details, is petty difficult to use if all one wants to know is how to use bjam to build a "Hello world" project in a couple of toolsets.
I already downloaded bjam.exe, and I have no problem in creating the jamfile. However, AFAIU, I need more files to be installed, such as jamrools, files that describe toolsets, etc. Can anybody to just list which files are needed, where to get, and where to put them? Or point me to where it's described if I missed something...
Unless, of course, this is kind of Illuminati path, and one only deserves to use this tool if able to figure out how? :-)
Thanks a lot in advance.
Regards, Arkadiy
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
.
= = = = = = = = = = = = = = = = = = = = 致 礼! zhengyi goodmen@x263.net 2005-03-16
participants (1)
-
zhengyi