Re: [Boost-users] Re: building and installing boost
I copied the boost installation zip file for windows the boost_1_32 zip file to c:\temp. The zip file was then expanded to c:\temp\boost_1_32_0. If one follows the instructions for building bjam from c:\temp\boost_1_32\tools\build\jam_src\ a bjam.exe gets created in c:\temp\boost_1_32_0\tools\build\jam_src\ bin.ntx86. I dont have any boost set up in the environment path. I have copied the bjam.exe to c:\windows\system32. I then type the boost install command below as per boost building instructions for visual c++ 7 as per below. C:\temp\boost_1_32_0>bjam "-sTOOLS=vc-7_1" install Regards Theo
I have never tried to build bjam and run it so I am not sure what may be happening in your case. You can download pre-built bjam for Win32 from SourceForge (http://sourceforge.net/project/showfiles.php?group_id=7586 <http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=72941
&package_id=72941).
On the other hand, putting bjam.exe on C:\Windows\system32 does not seem like a good idea to me. Put bjam.exe where boost is (C:\temp\boost_1_32_0 for you). Before running bjam you need to run vsvars32.bat which comes with Visual C++ 7 installation. You will find it under Common7/Tools under your "Visual Studio .NET 2003" folder. For example, for me it is at (C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\ vsvars32.bat). This bat file sets the environment variables necessary to use the Visual C++ compiler from the command line which is what bjam will try to do. Then go to your C:\temp\boot_1_32_0 and run "bjam.exe "-sTOOLS=vc-7_1" install" Hope this helps, -delfin _____ From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of TBoafo@aol.com Sent: Thursday, May 26, 2005 9:39 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Re: building and installing boost I copied the boost installation zip file for windows the boost_1_32 zip file to c:\temp. The zip file was then expanded to c:\temp\boost_1_32_0. If one follows the instructions for building bjam from c:\temp\boost_1_32\tools\build\jam_src\ a bjam.exe gets created in c:\temp\boost_1_32_0\tools\build\jam_src\ bin.ntx86. I dont have any boost set up in the environment path. I have copied the bjam.exe to c:\windows\system32. I then type the boost install command below as per boost building instructions for visual c++ 7 as per below. C:\temp\boost_1_32_0>bjam "-sTOOLS=vc-7_1" install Regards Theo
"Delfin Rojas"
I have never tried to build bjam and run it so I am not sure what may be happening in your case. You can download pre-built bjam for Win32 from SourceForge (http://sourceforge.net/project/showfiles.php?group_id=7586 <http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=72941
&package_id=72941).
What Theo did should be fine. It works more generally than using the download, too -- if he were building against a CVS snapshot, the downloaded EXE might fail.
On the other hand, putting bjam.exe on C:\Windows\system32 does not seem like a good idea to me. Put bjam.exe where boost is (C:\temp\boost_1_32_0 for you).
It may not be good style, but it will work there just as well as it will work in C:\temp\boost_1_32_0.
Before running bjam you need to run vsvars32.bat which comes with Visual C++ 7 installation.
Not if his Visual Studio was installed in the standard place on an English language system. It will be found automatically. And, regardless, that will have nothing to do with the reasons for the failure he was seeing. The Visual Studio environment variables have not yet come into play by the time he sees the error he listed. Just trying to avoid further confusion. -- Dave Abrahams Boost Consulting www.boost-consulting.com
I was just sharing what has worked for me every time. I'm not saying is the best or more efficient way... I'm sorry if I contributed to the confusion instead of helping. -delfin <snip>
Just trying to avoid further confusion. -- Dave Abrahams Boost Consulting www.boost-consulting.com
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
David Abrahams
-
Delfin Rojas
-
TBoafo@aol.com