Hi there, I'm trying to track down a problem I have with building
boost and quickbooks. For this I started out with a fresh download of
boost 1.45. I also removed user-config.jam and all environment
variables which might be used by boost. Such as BOOST_BUILD,
BOOST_BUILD_PATH, BOOST_ROOT.
Now I open up the command line I get his:
----------------------------------
Setting environment for using Microsoft Visual Studio 2010 x64 tools.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>cd c:\boost
c:\boost>bjam -j8 --toolset=msvc --without-mpi variant=release
link=static runtime-link=shared address-model=64
define=_CRT_NONSTDC_NO_DEPRECATE define=_CRT_SECURE_NO_DEPRECATE
define=_SCL_SECURE_NO_DEPRECATE define=_SECURE_SCL=0
define=_HAS_ITERATOR_DEBUGGING=0 stage
c:/boost/tools/build/v2/build\configure.jam:145: in builds-raw
*** argument error
* rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? )
* called with: (
AMDG On 12/9/2010 8:38 AM, Christian Henning wrote:
Hi there, I'm trying to track down a problem I have with building boost and quickbooks. For this I started out with a fresh download of boost 1.45. I also removed user-config.jam and all environment variables which might be used by boost. Such as BOOST_BUILD, BOOST_BUILD_PATH, BOOST_ROOT.
Now I open up the command line I get his:
----------------------------------
Setting environment for using Microsoft Visual Studio 2010 x64 tools.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>cd c:\boost
c:\boost>bjam -j8 --toolset=msvc --without-mpi variant=release link=static runtime-link=shared address-model=64 define=_CRT_NONSTDC_NO_DEPRECATE define=_CRT_SECURE_NO_DEPRECATE define=_SCL_SECURE_NO_DEPRECATE define=_SECURE_SCL=0 define=_HAS_ITERATOR_DEBUGGING=0 stage c:/boost/tools/build/v2/build\configure.jam:145: in builds-raw *** argument error * rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? )
*Sigh*. Adding the extra argument was apparently a very bad decision on my part. Build bjam from the source included with 1.45. In Christ, Steven Watanabe
AMDG On 12/9/2010 9:17 AM, Christian Henning wrote:
*Sigh*. Adding the extra argument was apparently a very bad decision on my part. Build bjam from the source included with 1.45. Can I build bjam with boost header only or do I need to download the correct binaries?
The Boost distribution includes complete source for bjam. I believe that running bootstrap.bat in the root of the Boost tree should build bjam. In Christ, Steven Watanabe
On Thu, Dec 9, 2010 at 12:31 PM, Steven Watanabe
AMDG
On 12/9/2010 9:17 AM, Christian Henning wrote:
*Sigh*. Adding the extra argument was apparently a very bad decision on my part. Build bjam from the source included with 1.45.
Can I build bjam with boost header only or do I need to download the correct binaries?
The Boost distribution includes complete source for bjam. I believe that running bootstrap.bat in the root of the Boost tree should build bjam.
Yes, running bootstrap.bat solved my first problem. I can not build boost with having user-config.jam in home directory. But my second problem remains. bjam is crashing when user-config.jam is available with use-project boost : C:\\boost ; Any ideas? Eventually I need to build to quickbooks and to get this done I need to have user-config,jam Thanks for helping out, Christian
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: Thursday, December 09, 2010 4:56 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Building boost
AMDG
c:/boost/tools/build/v2/build\configure.jam:145: in builds-raw *** argument error * rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? )
I've seen this inscrutable message too ;-) and had to rebuild bjam to get anything going again. C:/user> bjam -v should show Boost.Jam Version 3.1.19. OS=NT. (not 18)
*Sigh*. Adding the extra argument was apparently a very bad decision on my part. Build bjam from the source included with 1.45.
I'm sure the intention was good, but the result and/or release notes didn't produce a BIG ENOUGH warning. (Or it is that one should *always* rebuild bjam in case?) Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com
On 09/12/2010 17:26, Paul A. Bristow wrote:
I'm sure the intention was good, but the result and/or release notes didn't produce a BIG ENOUGH warning.
(Or it is that one should *always* rebuild bjam in case?)
Well it didn't help that the bjam binary link right above the 1.45 release link on the website apparently doesn't build 1.45. KTC
KTC wrote:
On 09/12/2010 17:26, Paul A. Bristow wrote:
I'm sure the intention was good, but the result and/or release notes didn't produce a BIG ENOUGH warning.
(Or it is that one should *always* rebuild bjam in case?)
Well it didn't help that the bjam binary link right above the 1.45 release link on the website apparently doesn't build 1.45.
We'll pull those links for 1.46. - Volodya
Christian Henning wrote:
The next step I'm doing is to copy user-config.jam into my home directory. I also add the following line:
use-project boost : C:\\boost ;
The output is even worse. Now bjam is crashing. Here is what I have:
-------------------------------------------------------
Setting environment for using Microsoft Visual Studio 2010 x64 tools.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>cd c:\boost
c:\boost>bjam -j8 --toolset=msvc --without-mpi variant=release link=static runtime-link=shared address-model=64 define=_CRT_NONSTDC_NO_DEPRECATE define=_CRT_SECURE_NO_DEPRECATE define=_SCL_SECURE_NO_DEPRECATE define=_SECURE_SCL=0 define=_HAS_ITERATOR_DEBUGGING=0 stage Class top-level-target already defined
Please provide the output of the above command with --debug-configuration option, as well as the value of your BOOST_BUILD_PATH environemnt variable and BOOST_ROOT environment variable (please actually check them with echo %<NAME>%, not just assume they are not set). - Volodya
Hi Volodya,
Please provide the output of the above command with --debug-configuration option, as well as the value of your BOOST_BUILD_PATH environemnt variable and BOOST_ROOT environment variable (please actually check them with echo %<NAME>%, not just assume they are not set).
You can find my output here http://pastebin.com/9J5am5mD . I don't have BOOST_BUILD_PATH set. Should I? In the past I was using BOOST_BUILD_PATH to point to C:\boost_build\ext ( which is a separate project ). I also used to have BOOST_BUILD which was set to C:\boost\tools\build\v2 . Not sure what are the correct settings for both. Thanks for helping, Christian
Christian Henning wrote:
Hi Volodya,
Please provide the output of the above command with --debug-configuration option, as well as the value of your BOOST_BUILD_PATH environemnt variable and BOOST_ROOT environment variable (please actually check them with echo %<NAME>%, not just assume they are not set).
You can find my output here http://pastebin.com/9J5am5mD . I don't have BOOST_BUILD_PATH set. Should I?
Nope.
In the past I was using BOOST_BUILD_PATH to point to C:\boost_build\ext ( which is a separate project ). I also used to have BOOST_BUILD which was set to C:\boost\tools\build\v2 . Not sure what are the correct settings for both.
Okay. Can you try to unset BOOST_ROOT? - Volodya
Hi there, sorry for delay.
Okay. Can you try to unset BOOST_ROOT?
Did that and bjam isn't crashing anymore. Now I get: error: Attempt to redeclare already existing project id '/boost/exception' locat ion '../../libs/exception/build' I think there is something wrong with from user-config.jam use-project boost : C:\\boost ; When I comment out that line I can build boost and quickbooks and even my io_new documentation. In summary, I don't have any boost environment variables anymore and also no use-project clause in my user-config.jam. Every seems to work fine. Regards, Christian
participants (5)
-
Christian Henning
-
KTC
-
Paul A. Bristow
-
Steven Watanabe
-
Vladimir Prus