Subject: Re: [Boost-build] Boost with Eclipse
From: Oliver Sampson (oliver.sampson_at_[hidden])
Date: 2011-03-22 11:01:54
Thanks for your help!
I'm using the boost 1.46.1 library.
I've set the Path to include the c:\program files\eclipse\mingw\bin
directory, and verify that gcc and g++ can be seen from the current
g++: no input files
gcc: no input files
I did boostrap.bat with gcc as a parameter:
C:\Program Files\boost\boost_1_46_1>bootstrap.bat gcc
Building Boost.Jam build engine
Bootstrapping is done. To build, run:
To adjust configuration, edit 'project-config.jam'.
- Command line help:
- Getting started guide:
- Boost.Build documentation:
then a bjam --build-type=complete toolset=gcc gives:
C:\Program Files\boost\boost_1_46_1>bjam --build-type=complete toolset=gcc
C:/Program Files/boost/boost_1_46_1/tools/build/v2/tools\gcc.jam:129: in
t from module gcc
error: toolset gcc initialization:
error: no command provided, default command 'g++' not found
error: initialized from
set.using from module toolset
ess-explicit-toolset-requests from module build-system
from module build-system
Files\boost\boost_1_46_1\tools\build\v2/kernel\modules.jam:283: in im
port from module modules
boost-build from module
C:\Program Files\boost\boost_1_46_1\boost-build.jam:17: in module scope
Any help would be appreciated. I don't think that changing the batch
files are really the right answer, which is why I've brought this to the
list, so that if there is indeed a problem, then it can be incorporated
into the next release.
On 21.03.2011 17:30, Jürgen Hunold wrote:
> Hi Oliver,
> On Monday, 21. March 2011 17:02:36 Oliver Sampson wrote:
> Now that the MinGW files can be downloaded from within Eclipse, the
>> default paths for finding MinGW don't apply to the scripts included with
>> the boost libraries.
> This ist Step 3.2: Add the MinGW bin folder to the PATH.
> Should be enough.
>> I'm not the first person to notice this. This fine fellow has written a
>> nice blog entry about how to modify the bootstrap and the build.bat
>> files to get the boost libraries to build for MinGW under windows from
>> the Eclipse install:
>> After following his tips (and finding the new locations for the
>> build.bat file), I'm now getting this error: "This program cant start
>> because mspdb100.dll is missing from your computer. Try reinstalling the
>> program to fix this problem."
> this is a msvc-10 dll. Seems you build bjam with msvc.
>> Any tips on getting the boost libraries to build to use the MinGW that
>> is downloaded via Eclipse?
> Patching build.bat is unnessary. You should be able to just invoke ".
> \build.bat gcc" and even "bootstrap.bat gcc" from the main directory.
> And another bug is "bjam --toolset=gcc" in 3.5, this should simply be "bjam
> gcc" (or "bjam toolset=gcc").
> For further diagnostic please state the exact boost version and provide more
> compiler output next time.
-- Oliver Sampson oliver.sampson_at_[hidden] http://www.oliversampson.com
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk