on Mon Apr 23 2007, "Garrett McGrath"
Try removing the quotes from the line,
That won't work. The OP has spaces in one of his paths. --PYTHON-ROOT= sticks out like a bit of a sore thumb in there. Where did that come from?
I found that for whatever reason things appeared to work better without them.
Uh?
Oh and instead of –sTOOLS=msvc switch it to your version of VC, eg. Vc-8_0 for 8.0 (2k5).
Better make that all lower case. HTH, Dave
-Garrett McGrath
Software Engineer
CSBMB Princeton University
Green Hall
1-(609)-258-0285
From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Beauregard Dommit Sent: Friday, April 20, 2007 8:29 PM To: boost-users@lists.boost.org Subject: [Boost-users] Help installing (building) boost - Windows2K w/ MSVC++
I'm trying to install boost on Windows 2000 running Visual C++, and having lots of problems. It's W2K w/ SP4, and SP6 for Visual Studio.
First, I take it there is no precompiled "install" package, even for Windows?
First problem - I unpack boost and put bjam in the boost directory. I run it from a command prompt w/ something like (I've tried a few variations): bjam "-sTOOLS=msvc" "--prefix=C:\program files\boost" "--PYTHON-ROOT=C:\Program Files\Python25" "--with-python-version=2.5" "--builddir=G:\temp\buildboost" install > install_log.txt (Sorry for whatever the mailer might be doing to the text - the above is one line.) I also tried the command line with lower case for the Python stuff - the above was my last desperate attempt.
In my output file I see: skipping Boost.Python library build due to missing or incorrect configuration
couldn't find Python.h in "c:/Python25/include"
You can configure the location of your python installation by setting: PYTHON_VERSION - The 2-part python Major.Minor version number (e.g. "2.2", NOT "2.2.1") - currently "2.5" etc................
I guess I'm doing something stupid here, but what? Jam is apparently finding the prefix and builddir OK - it does build boost, or at least part of it, and installs a bunch of libraries and includes in the right place. I do have Python installed and working in C:\Program Files\ Python25, and Python.h is there.
Second problem - after the above, I get about 2000 lines of errors, or mostly errors. A lot of them are duplicates, but still that doesn't seem good. The first ones are about the Program Options package. That was the part of Boost I was going to try using first, so I'd like to get that fixed. Here are the error msgs: vc-C++ G:\temp\buildboost\bin\boost\libs\program_options\build\libboost_program_options.lib\ msvc\debug\runtime-link-static\cmdline.obj cmdline.cpp
G:\Temp\newboost\boost_1_33_1\boost/program_options/options_description.hpp(156) : error C2258: illegal pure syntax, must be '= 0'
G:\Temp\newboost\boost_1_33_1\boost/program_options/options_description.hpp(156) : error C2252: 'm_default_line_length' : pure specifier can only bespecified for functions
G:\Temp\newboost\boost_1_33_1\boost/program_options/options_description.hpp(159) : error C2065: 'm_default_line_length' : undeclared identifier
Then a bunch of errors about the Bind package, etc, etc, etc. If someone can help me fix the above problems I'll be very grateful.
Gard
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com