|
Boost Users : |
Subject: [Boost-users] Building boost
From: Christian Henning (chhenning_at_[hidden])
Date: 2010-12-09 11:38:52
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: ( <pbin.v2\libs\regex\build\msvc-10.0\debug\address-model-64\thre
ading-multi>has_icu.exe <pbin.v2\libs\regex\build\msvc-10.0\debug\address-model-
64\threading-multi>has_icu.pdb : : ignore-minus-n : ignore-minus-q )
* extra argument ignore-minus-q
(builtin):see definition of rule 'UPDATE_NOW' being called
c:/boost/tools/build/v2/build\configure.jam:179: in configure.builds
c:/boost/tools/build/v2/build\configure.jam:216: in object(check-target-builds-w
orker)@408.check
c:/boost/tools/build/v2/kernel\modules.jam:103: in modules.call-in
c:/boost/tools/build/v2/util\indirect.jam:96: in indirect.call
c:/boost/tools/build/v2/build\targets.jam:1012: in targets.evaluate-requirements
c:/boost/tools/build/v2/build\targets.jam:1393: in basic-target.compute-usage-re
quirements
c:/boost/tools/build/v2/build\alias.jam:47: in compute-usage-requirements
c:/boost/tools/build/v2/build\targets.jam:1319: in object(alias-target-class)@41
2.generate
c:/boost/tools/build/v2/build\targets.jam:732: in generate-really
c:/boost/tools/build/v2/build\targets.jam:704: in object(main-target)@802.genera
te
c:/boost/tools/build/v2/build\targets.jam:848: in targets.generate-from-referenc
e
c:/boost/tools/build/v2/build\targets.jam:1217: in generate-dependencies
c:/boost/tools/build/v2/build\targets.jam:1268: in object(typed-target)@415.gene
rate
c:/boost/tools/build/v2/build\targets.jam:732: in generate-really
c:/boost/tools/build/v2/build\targets.jam:704: in object(main-target)@803.genera
te
c:/boost/tools/build/v2/build\targets.jam:848: in targets.generate-from-referenc
e
c:/boost/tools/build/v2/build\targets.jam:1217: in generate-dependencies
c:/boost/tools/build/v2/build\targets.jam:1266: in object(typed-target)@167.gene
rate
c:/boost/tools/build/v2/build\targets.jam:732: in generate-really
c:/boost/tools/build/v2/build\targets.jam:704: in object(main-target)@784.genera
te
c:/boost/tools/build/v2/build\targets.jam:258: in object(project-target)@149.gen
erate
c:/boost/tools/build/v2/build\targets.jam:848: in targets.generate-from-referenc
e
c:/boost/tools/build/v2/build\targets.jam:1217: in generate-dependencies
c:/boost/tools/build/v2/build\targets.jam:1268: in object(install-target-class)@
82.generate
c:/boost/tools/build/v2/build\targets.jam:732: in generate-really
c:/boost/tools/build/v2/build\targets.jam:704: in object(main-target)@623.genera
te
c:/boost/tools/build/v2/build\targets.jam:848: in targets.generate-from-referenc
e
c:/boost/tools/build/v2/build\targets.jam:1217: in generate-dependencies
c:/boost/tools/build/v2/build\targets.jam:1268: in alias-target-class.generate
Jamroot:648: in build-multiple
Jamroot:612: in object(top-level-target)@91.generate
c:/boost/tools/build/v2/build\targets.jam:732: in generate-really
c:/boost/tools/build/v2/build\targets.jam:704: in object(main-target)@627.genera
te
c:/boost/tools/build/v2\build-system.jam:735: in load
c:\boost\tools\build\v2/kernel\modules.jam:283: in import
c:\boost\tools\build\v2\kernel\bootstrap.jam:142: in boost-build
c:\boost\boost-build.jam:17: in module scope
c:\boost>
------------------------------------------
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
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
c:\boost>
---------------------------------------------------------------------------------------------------
Anyone any idea on what might going on?
Thanks,
Christian
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net