Re: [Boost-users] Re: building and installing boost
Hi Dave, 1. I dont have BOOST_ROOT defined in my environment. 2. I still get messages with loading jam files when I try C:\temp\boost_1_32_0>bjam -sBOOST_ROOT=."-sTOOLS=vc-7_1" install --------------------------------------------------------------------- skipping Boost.Python library build due to missing or incorrect configuration couldn't find Python.h in "c:/tools/python/include" You can configure the location of your python installation by setting: PYTHON_ROOT - currently "c:/tools/python" PYTHON_VERSION - The 2-part python Major.Minor version number (e.g. "2.2", NOT "2.2.1") - currently "2.2" The following are automatically configured from PYTHON_ROOT if not otherwise set: PYTHON_LIB_PATH - path to Python library object; currently "c:/tools/python/libs" --------------------------------------------------------------------- Jamfile:247: in load-jamfiles *** argument error * rule stage ( name : sources + : requirements * : local-build * ) * called with: ( include/boost-1_32 : : <locate>C:\Boost <tree-subdirs>C:\temp\ boost_1_32_0 <target>install : ) * missing argument sources C:\temp\boost_1_32_0\tools/build/v1\boost-base.jam:2306:see definition of rule ' stage' being called C:\temp\boost_1_32_0\tools\build\v1\bootstrap.jam:21: in boost-build C:\temp\boost_1_32_0\boost-build.jam:16: in module scope 3. I can't see any files as per your instructions in c:\boost. cd boost DIR compatibility\cpp_c_headers\c* DIR *.hpp *.ipp *.h *.inc 4. If I try to download a fresh boost download which version should I download for this to work with vc 7.1? Regards Theo
TBoafo@aol.com wrote:
Hi Dave,
1. I dont have BOOST_ROOT defined in my environment.
2. I still get messages with loading jam files when I try
C:\temp\boost_1_32_0>bjam -sBOOST_ROOT=."-sTOOLS=vc-7_1" install
I hope that really was: C:\temp\boost_1_32_0>bjam -sBOOST_ROOT=. "-sTOOLS=vc-7_1" install OK, I really don't have much of a clue as to what could be wrong :-( But here are some things to try. First you could answer my original question as to what your environment has by doing: C:\temp\boost_1_32_0>set And posting the output. You should check that "JAMFILE" is not set in the env. And you already checked "BOOST_ROOT". If "JAMFILE" is set in your env, unset it and try again. You should do a search in that "boost_1_32_0" tree for files named "Jamfile" and post that list. There should be such files in places like "C:\temp\boost_1_32_0\libs\thread\build\Jamfile". If you don't have those files either the OS prevented you from creating them when you extracted the archive, or you archive program did not extract them. If the later the you should get a different program to extract the archive. I suggest 7-Zip: http://www.7-zip.org/ -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
TBoafo@aol.com writes:
3. I can't see any files as per your instructions in c:\boost.
cd boost DIR compatibility\cpp_c_headers\c* DIR *.hpp *.ipp *.h *.inc
Let's just be very clear: the DIR is not supposed to be done in c:\boost. It's supposed to be in C:\temp\boost_1_32_0\boost because you are starting from C:\temp\boost_1_32_0 before the cd.
4. If I try to download a fresh boost download which version should I download for this to work with vc 7.1?
1.32.0 works fine. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (3)
-
David Abrahams
-
Rene Rivera
-
TBoafo@aol.com