bjam crashes when trying to compile boost with Visual Studio 2003
Hi, I'm completely new to boost. I tried to compile version 1.33.1 under Windows using Visual Studio 2003 but bjam crashed. What am I doing wrong? See below what I did (see also the attached screenshot). Thanks, nyenyec c:\local\boost_1_33_1>c:\local\bin\bjam -version 'c:\local\bin\bjam' is not recognized as an internal or external command, operable program or batch file. c:\local\boost_1_33_1>c:\local\bin\bjam.exe -v Boost.Jam Version 3.1.12. OS=NT. Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc. Copyright 2001 David Turner. Copyright 2001-2004 David Abrahams. Copyright 2002-2005 Rene Rivera. Copyright 2003-2005 Vladimir Prus. c:\local\boost_1_33_1>"c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bi n\vcvars32.bat" c:\local\boost_1_33_1>"C:\Program Files\Microsoft Visual Studio .NET 2003\Common 7\Tools\vsvars32.bat" Setting environment for using Microsoft Visual Studio .NET 2003 tools. (If you have another version of Visual Studio or Visual C++ installed and wish to use its tools from the command line, run vcvars32.bat for that version.) c:\local\boost_1_33_1>bjam "-sTOOLs=vc-7_1" install ***CRASH***
Oops, I forgot the screenshot.
-- nyenyec
On 4/21/06, Nyenyec N
Hi,
I'm completely new to boost. I tried to compile version 1.33.1 under Windows using Visual Studio 2003 but bjam crashed.
What am I doing wrong?
See below what I did (see also the attached screenshot).
Thanks, nyenyec
c:\local\boost_1_33_1>c:\local\bin\bjam -version 'c:\local\bin\bjam' is not recognized as an internal or external command, operable program or batch file.
c:\local\boost_1_33_1>c:\local\bin\bjam.exe -v Boost.Jam Version 3.1.12. OS=NT. Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc. Copyright 2001 David Turner. Copyright 2001-2004 David Abrahams. Copyright 2002-2005 Rene Rivera. Copyright 2003-2005 Vladimir Prus.
c:\local\boost_1_33_1>"c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bi n\vcvars32.bat"
c:\local\boost_1_33_1>"C:\Program Files\Microsoft Visual Studio .NET 2003\Common 7\Tools\vsvars32.bat" Setting environment for using Microsoft Visual Studio .NET 2003 tools. (If you have another version of Visual Studio or Visual C++ installed and wish to use its tools from the command line, run vcvars32.bat for that version.)
c:\local\boost_1_33_1>bjam "-sTOOLs=vc-7_1" install
***CRASH***
bjam keeps crashing on me.
I downloaded the executable and tried it on different machines.
Following the "Getting started" guide bjam.exe always crashes.
"...one of the most highly regarded and expertly designed C++ library
projects in the world." The build tool crashes at the first step. My
emails sent to the mailing list are ignored. What gives?
I can't believe that I'm the only person with this problem. It's not
like Windows is such an exotic platform...
All I want is a decent regexp library. Can I get precompiled binaries
for windows somehow?
Thanks,
nyenyec
On 4/21/06, Nyenyec N
Oops, I forgot the screenshot.
-- nyenyec
On 4/21/06, Nyenyec N
wrote: Hi,
I'm completely new to boost. I tried to compile version 1.33.1 under Windows using Visual Studio 2003 but bjam crashed.
What am I doing wrong?
See below what I did (see also the attached screenshot).
Thanks, nyenyec
c:\local\boost_1_33_1>c:\local\bin\bjam -version 'c:\local\bin\bjam' is not recognized as an internal or external command, operable program or batch file.
c:\local\boost_1_33_1>c:\local\bin\bjam.exe -v Boost.Jam Version 3.1.12. OS=NT. Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc. Copyright 2001 David Turner. Copyright 2001-2004 David Abrahams. Copyright 2002-2005 Rene Rivera. Copyright 2003-2005 Vladimir Prus.
c:\local\boost_1_33_1>"c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bi n\vcvars32.bat"
c:\local\boost_1_33_1>"C:\Program Files\Microsoft Visual Studio .NET 2003\Common 7\Tools\vsvars32.bat" Setting environment for using Microsoft Visual Studio .NET 2003 tools. (If you have another version of Visual Studio or Visual C++ installed and wish to use its tools from the command line, run vcvars32.bat for that version.)
c:\local\boost_1_33_1>bjam "-sTOOLs=vc-7_1" install
***CRASH***
On 4/25/06, Nyenyec N
bjam keeps crashing on me. bjam keeps crashing on me. bjam keeps crashing on me. <snip> My emails sent to the mailing list are ignored. What gives?
Could it just be that no one has any clue what's wrong? bjam worked for me on the first try, using those same settings. Help us help you: What OS? (or OSes?) What's your environment? What happens when you build a debug bjam binary and run it under a debugger? Dale
Nyenyec N wrote:
bjam keeps crashing on me.
I downloaded the executable and tried it on different machines. Following the "Getting started" guide bjam.exe always crashes.
"...one of the most highly regarded and expertly designed C++ library projects in the world." The build tool crashes at the first step. My emails sent to the mailing list are ignored. What gives?
You mean the emails to the users list? Many of us are *really* busy people, especially since the few people who know the build system internals are busy trying to get the details of a new release done. Still, sorry for the delay in responding.
I can't believe that I'm the only person with this problem. It's not like Windows is such an exotic platform...
Well it's not something I've seen with the consistency you're having. And I run bjam every day, not just for Boost builds.
All I want is a decent regexp library. Can I get precompiled binaries for windows somehow?
Well those are coming soon :-)
Thanks, nyenyec
On 4/21/06, Nyenyec N
wrote: Oops, I forgot the screenshot.
-- nyenyec
On 4/21/06, Nyenyec N
wrote: Hi,
I'm completely new to boost. I tried to compile version 1.33.1 under Windows using Visual Studio 2003 but bjam crashed.
What am I doing wrong?
See below what I did (see also the attached screenshot).
Thanks, nyenyec
c:\local\boost_1_33_1>c:\local\bin\bjam -version 'c:\local\bin\bjam' is not recognized as an internal or external command, operable program or batch file.
c:\local\boost_1_33_1>c:\local\bin\bjam.exe -v Boost.Jam Version 3.1.12. OS=NT. Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc. Copyright 2001 David Turner. Copyright 2001-2004 David Abrahams. Copyright 2002-2005 Rene Rivera. Copyright 2003-2005 Vladimir Prus.
c:\local\boost_1_33_1>"c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bi n\vcvars32.bat"
c:\local\boost_1_33_1>"C:\Program Files\Microsoft Visual Studio .NET 2003\Common 7\Tools\vsvars32.bat" Setting environment for using Microsoft Visual Studio .NET 2003 tools. (If you have another version of Visual Studio or Visual C++ installed and wish to use its tools from the command line, run vcvars32.bat for that version.)
c:\local\boost_1_33_1>bjam "-sTOOLs=vc-7_1" install
Hopefully you meant "-sTOOLS=vc-7_1" ?
***CRASH***
Since the "c:\local\bin\bjam.exe -v" works my suspision would be that somehow you have some other "bjam" program in you system. Did you try specifying the full path all the time? Other than that I don't have a clue what could be wrong. As Dale mentions in another post try build a debug version of bjam by downloading the 3.1.12 bjam source and: cd ...\boost-jam-3.1.12 .\build.bat vc7 --debug If you have the JIT debugger active you'll be able to catch where it breaks. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
Nyenyec N wrote:
bjam keeps crashing on me.
I downloaded the executable and tried it on different machines. Following the "Getting started" guide bjam.exe always crashes.
"...one of the most highly regarded and expertly designed C++ library projects in the world." The build tool crashes at the first step. My emails sent to the mailing list are ignored. What gives?
I can't believe that I'm the only person with this problem. It's not like Windows is such an exotic platform...
Last time I've built bjam on Windows, which was a week ago, it worked without any questions. As for "emails being ignored", I'm sorry. On the other hand, the way you frame your bug report somewhat reduces the changes of a good reply. You did not specify your operating system, you did not specify where you've got bjam -- built from source or dowloaded prebuilt version. Really, huge number of people built Boost with Visual Studio 2003 and nobody had this problem, so there should be something wrong either with bjam version you've got, or with your environment. - Volodya
Sor
On 4/26/06, Vladimir Prus
Nyenyec N wrote:
bjam keeps crashing on me.
I downloaded the executable and tried it on different machines. Following the "Getting started" guide bjam.exe always crashes.
"...one of the most highly regarded and expertly designed C++ library projects in the world." The build tool crashes at the first step. My emails sent to the mailing list are ignored. What gives?
I can't believe that I'm the only person with this problem. It's not like Windows is such an exotic platform...
Last time I've built bjam on Windows, which was a week ago, it worked without any questions.
As for "emails being ignored", I'm sorry. On the other hand, the way you frame your bug report somewhat reduces the changes of a good reply. You did not specify your operating system, you did not specify where you've got bjam -- built from source or dowloaded prebuilt version.
I use WinXP Pro, English version. I did mention that:
I downloaded the executable and tried it on different machines.
Anyways, I found a workaround and compiled regex without the use of bjam, using the vs71 specific makefiles. It seems to work so far. -- nyenyec
participants (4)
-
Dale McCoy
-
Nyenyec N
-
Rene Rivera
-
Vladimir Prus